OptionalpitchThe pitch of the voice. Value could be an absolute value in Hz (including units), a relative value in Hz or st(semitones) or a constant value from x-low/low/medium/high/x-high.
OptionalrateThe speed of the voice. The value is relative to 1, 0.5 being half speed, 2 being twice as fast, etc. Another option is a constant value from x-slow/slow/medium/fast/x-fast.
OptionalstyleThe style of the voice. Available styles change between voices.
How a Microsoft Azure or Azure OpenAI voice should deliver the text.
The
voice_configof MicrosoftTtsProvider and AzureOpenAiTtsProvider. Every field is optional; when one is omitted the Agents API applies its own default.