Generate TTS audio (synchronous)
Synchronously synthesize speech from text using the resolved TTS model. Returns the generated audio URL and raw upstream payload. On failure, the response body exposes a machine-readable code from the TTS generation taxonomy, a sanitized message, and the legacy error field for backward compatibility.
TTS_GENERATION_* code, a human readable message, and a legacy error field.Body
Canonical TTS model id. Takes precedence over provider/model/endpoint when set.
1TTS provider key.
1TTS model key (scoped to provider).
1Explicit upstream endpoint identifier. Optional when modelId or provider+model resolve to a known TTS spec.
1Model-specific TTS input payload (text, voice, language, etc.). The accepted keys depend on the resolved TTS spec; see the corresponding model documentation.