While the speed of AC motor is a direct function of frequency (control of how fast the rotating magnetic field rotates in the circumstances of nhe stator), Torque is a function of stator flow.
While the speed of an AC motor is a direct function of frequency (controlling how fast the rotating magnetic field rotates around the circumference of the stator), torque is a function of stator current.