Authorizations
Cartesia API key
Headers
API version header. Must be set to the API version, e.g. '2024-06-10'.
2024-06-10, 2024-11-13, 2025-04-16 "2025-04-16"
Body
The ID of the model to use for generating audio
The language of the transcript
The infill text to generate
The ID of the voice to use for generating audio
The format of the output audio
raw, wav, mp3 The sample rate of the output audio
8000, 16000, 22050, 24000, 44100, 48000 Required for raw and wav containers.
pcm_f32le, pcm_s16le, pcm_mulaw, pcm_alaw Required for mp3 containers.