TTMSFNCCloudAI.Speak Method
Generates speech audio from text.
API unit family: TMSFNCCloudAI
Declaring type: TTMSFNCCloudAI
Syntax
procedure Speak(AText: string; Speed: single = 1; Voice: string = 'alloy'; Tone: string = 'professional'); virtual;
Parameters
| Name | Description |
|---|---|
AText |
Text to convert to speech. |
Speed |
Playback speed requested from the service. |
Voice |
Voice identifier requested from the service. |
Tone |
Tone or style instruction requested from the service. |