Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
instructions | Optional[components.SpeechUnknownParameter] | ➖ | N/A | { “type”: “unknown” } |
response_format | Optional[components.SpeechEnumParameter] | ➖ | N/A | { “type”: “enum”, “values”: [ “alloy”, “coral” ] } |
speed | Optional[components.SpeechRangeParameter] | ➖ | The accepted speed range. Absent: the provider documents no range; some providers still forward speed. | { “max”: 4, “min”: 0.25, “type”: “range” } |
voice | Optional[components.SpeechVoiceParameter] | ➖ | enum lists the documented voices in values; some providers also accept voice IDs not listed there (custom or cloned voices). unknown means the field is accepted but no voices are listed. | { “type”: “enum”, “values”: [ “alloy”, “coral” ] } |