SpeechRequest schema
| Field | Type and description |
|---|---|
modelRequired | string TTS model identifier. |
inputRequired | string The text to synthesize into speech. |
voice | string Voice preset to use.
|
response_format | string Audio output format. Allowed values:
|
referenceAudioUrl | string Public HTTPS URL to a reference audio file for voice cloning. Required only when the selected model uses voice-cloning mode (AUDIO_REFERENCE). Validated against SSRF rules before any fetch — must be a publicly reachable HTTPS URL. Has no effect on models that do not support AUDIO_REFERENCE.
|