Skip to content

SPEV: turn decisions up to 36% sooner. Details →

Text-to-speech models

The speech model, the voices it speaks in, and the fields it accepts.

Chorus synthesizes speech in a preset voice, a voice cloned from reference audio, or a voice designed from a written description. Its model id is chorus.

VoiceRequest
Presetvoice set to a preset id on POST /v1/audio/speech
Clonedref_audio and ref_text inline, or voice set to the id of a voice created from a clip on POST /v1/audio/voices
Designedvoice set to the id of a voice created from a POST /v1/audio/voices/design preview

chorus is the model on POST /v1/audio/speech, GET /v1/audio/voices, POST /v1/audio/voices, and POST /v1/audio/voices/design. Voices has the request shape for each voice.

Parameters

ParameterNotes
inputThe text to speak. Required.
voiceA preset id, or the id of a voice your organization created.
instructionsStyle guidance on how the voice reads. Accepted for voices whose model supports it.
response_formatmp3, opus, flac, wav, or pcm.
speedSpeaking rate multiplier, 0.25 to 4.0.
languageOutput language. See supported languages.
stream_formatsse or audio. Omit to receive the whole clip at once.
ref_audioInline data: URL of reference audio, for cloning.
ref_textTranscript of the reference audio.
temperatureSampling temperature, 0 to 2.
top_pNucleus sampling probability mass, 0 to 1.
top_kNumber of top candidates sampled from, 0 or greater.
timestamp_granularitiesword, on the WebSocket.

API has types, requiredness, and error codes. The model catalog carries the live list with per-model detail, and pricing has the current rates.