Voice Cloning
One Shot Voice
Render text in the voice of a supplied reference clip in a single call. Combines voice cloning and speech synthesis with no intermediate voice_id.
POST
Render text in the voice of a supplied reference clip in a single
call. Internally clones the reference and synthesizes the text in
that voice — equivalent to chaining
voice clone and
T2A but without threading a
voice_id between requests.
Best for one-off “say this in this voice” interactions where the
caller doesn’t need to persist the cloned voice for reuse.
Authorization
string
required
Bearer token.
Bearer API_key.Request Body
string
required
Text to render in the cloned voice. Long inputs are chunked
automatically.
string
URL of the reference clip (3–10 s recommended; mp3 or wav).
Mutually exclusive with
reference_audio_b64.string
Base64-encoded reference audio. Use when uploading directly
without a URL.
string
Optional human-readable name for the cloned voice. A timestamped
name is generated when omitted.
string
ISO 639-1 language code. Default:
en.string
Advanced: the exact words spoken in the reference clip. Auto-
detected via transcription when omitted.
string
Output audio format. Options:
wav, pcm16. Default: wav.integer
Audio sample rate in Hz. Options:
16000, 22050, 24000,
44100, 48000. Default: 24000.