Voice Cloned TTS Inference
Voice Cloning
Voice Cloned TTS (REST)
Generate cloned voice audio in a single synchronous response.
POST
Voice Cloned TTS Inference
Overview
1
Step 1 — Generate a voice embedding
Upload a reference audio clip to get a
speaker_embedding. See Voice Clone Embeddings.2
Step 2 — Synthesize with your cloned voice — this page
Pass the
speaker_embedding from Step 1 to this endpoint to synthesize audio in your cloned voice.speaker_embedding obtained from Voice Clone Embeddings along with your text. The full audio is returned in one response. For streaming playback, see Voice Cloning Streaming or Voice Cloning Realtime.
Endpoint
Authentication
Request Body
string
required
The text to synthesize into speech
string
Voice cloning model. Use
vachana-vc-v1. Automatically set when speaker_embedding is provided — you may omit this field.object
required
Audio output configuration
object
required
Voice clone embedding obtained from the Voice Clone Embeddings endpoint
Response
Returns binary audio data in the format specified byaudio_config.container:
audio/wavfor WAV filesaudio/mpegfor MP3 filesaudio/oggfor OGG files
Example Request
Error Responses
Bad Request
Invalid text or audio configuration
Too Many Requests
Rate limit exceeded
Internal Server Error
Unexpected error occurred
Authorizations
Headers
Body
application/json
Request body for voice cloned TTS inference.
The text to synthesize into speech.
Voice clone embedding from the Voice Clone Embeddings endpoint.
Audio output configuration.
Voice cloning model. Automatically set to vachana-vc-v1 when speaker_embedding is provided.
Available options:
vachana-vc-v1 Response
Successful audio synthesis
The response is of type file.