Voice & Lip-sync API
Download OpenAPI DocumentText to speech, voice cloning, lip-sync and video processing for any clip.
Generate speech from text, clone voices from audio samples, and lip-sync videos to new speech. New here? Read Voice & Lip-sync for the whole flow.
Every request
Send your organization API key in the x-api-key header; it starts with uvk_. Create one in the Universe app under Settings → API keys. The key and organization limits count requests over a rolling minute. See Authentication and Rate limits.
Text to speech works in sessions of speech cards. Save the cards with Save a session, start each card with Generate speech, then poll Get a session until the card is done. Voice cloning creates a voice from samples with Clone a voice; once it is ready, use it in a speech card. Lip-sync re-times the lips in a video to new audio: Start a lip-sync, then poll Get a lip-sync job.
Work runs in the background, so every call returns straight away. Endpoints that charge credits say so on their page, with the current price; without enough credits they return 402 and nothing is created. See Credits.
List processes shows the history of all three in one list.
Lip-sync
Re-time the lips in a video to new speech, such as a dub. Pick a model, check the price, start the job and poll it until the video is ready.
- POST/v1/galaxy/playground/lip-sync/upload/presign
- GET/v1/galaxy/playground/lip-sync/models
- POST/v1/galaxy/playground/lip-sync/quote
- POST/v1/galaxy/playground/lip-sync
- GET/v1/galaxy/playground/lip-sync
- GET/v1/galaxy/playground/lip-sync/{id}
- POST/v1/galaxy/playground/lip-sync/{id}/retry
- POST/v1/galaxy/playground/lip-sync/{id}/download-url
- POST/v1/galaxy/playground/lip-sync/{id}/save-to-assets
Get a lip-sync upload URL
List lip-sync models
Price a lip-sync
Start a lip-sync
List lip-sync jobs
Get a lip-sync job
Re-run a lip-sync
Get a lip-sync download URL
Save a lip-sync to assets
Text to speech
A session holds speech cards: each card is one piece of text, a language and a voice. Save the cards, generate each one, then read or download the audio.
- PUT/v1/galaxy/playground/video-process/session/{sessionId}
- POST/v1/galaxy/playground/tts/generate
- GET/v1/galaxy/playground/video-process/session/{sessionId}
- POST/v1/galaxy/playground/video-process/session/{sessionId}/export-urls
- POST/v1/galaxy/playground/tts/sessions/{id}/save-to-assets
- PATCH/v1/galaxy/playground/video-process/session/{sessionId}
Save a session
Generate speech
Get a session
Get session download URLs
Save a session to assets
Rename a session
Voice cloning
Create a voice from audio samples of one speaker. Once it is ready, use its provider and providerVoiceId in a speech card.
Get a voice sample upload URL
Clone a voice
Create a voice from audio samples of one speaker (multipart/form-data): upload 1 to 5 files in samples, or pick audio from your assets with sampleAssetIds. Returns straight away (202) with the voice processing. Poll Get a cloned voice until it is ready, then use its provider and providerVoiceId in Generate speech.
Permission: playground.voice_clone:create. An API key acts with the role of the member who created it.
Credits: A flat price per voice, charged when cloning starts. Refunded if cloning fails. Deleting the voice while it is still cloning keeps the charge.
| Rate | What it covers | Price |
|---|---|---|
| Instant voice clone | Creating one cloned voice from a sample in the video playground. Charged per cloned voice. | 500 credits |
Bodyrequiredmultipart/form-data
Name of the new voice, shown in the voice library.
Provider that clones the voice. It must be enabled for your organization. Microsoft voices cannot be cloned.
BCP-47 code of the samples' language. Optional: a cloned voice can speak every language its provider supports.
Gender of the voice, shown in the voice library.
Description of the voice. Sent to the provider and shown in the voice library.
Informational only; not used by the server.
true to remove background noise from the samples before cloning. Default false.
Comma-separated IDs of audio files in your organization's assets to use as samples, instead of or as well as uploading them. Counted with the uploads against the limit of 5.
Comma-separated objectKeys from Get a voice sample upload URL, once each PUT has finished. Use them instead of uploading samples here: the bytes never pass through this API. Up to 5 samples in all, counting uploads and sampleAssetIds.
A UUID you create for this request. It becomes the ID of the new voice. A retry with the same requestId is refused with 409, so the voice is never cloned and charged twice.
One to 5 audio samples of the speaker, each up to 100 MB (send the field once per file). Required unless you pass sampleUploadKeys or sampleAssetIds.
Responses
202Cloning started. The voice is `processing`.
ID of the cloned voice.
Name of the voice.
Provider the voice was cloned with.
The provider's ID for the voice. Pass it as voiceId (with provider) to Generate speech. Null until the clone is COMPLETED.
RUNNING while cloning, COMPLETED once it can be used, FAILED if cloning failed (the credits are refunded; you can retry it).
False when the provider no longer holds the voice. It is created again automatically the next time you use it.
Product the voice was cloned in. Every cloned voice can be used in every product.
When the voice was created.
Short-lived link to a preview of the voice: the provider's preview, or else the first sample (only for the organization that cloned it). Null when there is neither, and on the responses of Clone a voice and Retry a voice clone.
True when your organization cloned the voice. A voice shared from another organization in your group can be used, but only that organization can retry or delete it.
Description of the voice.
Language given for the samples, if any.
Gender of the voice, if given.
400Nothing was charged. A field failed validation, or: - `A voice name is required.` - `At least one audio sample is required.` - `A voice clone takes at most 5 audio samples.` - `This voice-cloning provider is not enabled for your organization.` - `Your ElevenLabs account has no free voice slots. Delete a cloned voice you no longer use and try again.`
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
402Not enough credits for a voice clone, or your organization owes credits. Nothing was started.
HTTP status code.
Always InsufficientCredits.
What happened, in plain words.
Credits this request needs.
Credits your organization can spend now.
Credits your organization owes from earlier jobs (0 when nothing is owed). While anything is owed, every paid request is refused until it is repaid.
403Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
409The shared ElevenLabs voice pool is full (`The shared voice pool is full — try later or add your own ElevenLabs key.`), or this `requestId` was already used (`This voice clone was already started. Please wait for it to finish.`). Nothing was charged.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
413A sample is larger than 100 MB (`Each audio sample must be 100 MB or smaller.`).
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
500Cloning could not be started (`Voice cloning could not be started. Please try again.`). The voice is marked failed and the credits are refunded.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
curl '{{API_BASE_URL}}/v1/galaxy/playground/voice-clone' \
--request POST \
--header 'x-api-key: YOUR_API_KEY' \
--form 'name=Priya — narrator' \
--form 'provider=elevenlabs' \
--form 'language=en-US' \
--form 'gender=female' \
--form 'description=Warm, calm female voice for product videos.' \
--form 'model=eleven_multilingual_v2' \
--form 'removeBackgroundNoise=false' \
--form 'sampleAssetIds=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d,1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e' \
--form 'sampleUploadKeys=0f8e2d4c-6b1a-4c9e-8d7f-3a2b1c0d9e8f/playground/document/upload/4b1c7e2a-9d3f-4e5a-8b6c-1d2e3f4a5b6c.wav' \
--form 'requestId=5b9e2d4c-1a3f-4c7e-8b6d-2f1e0a9c8b7d' \
--form 'samples=@samples.pdf'{
"id": "5b9e2d4c-1a3f-4c7e-8b6d-2f1e0a9c8b7d",
"name": "Priya — narrator",
"provider": "elevenlabs",
"providerVoiceId": "pNInz6obpgDQGcFmaJgB",
"status": "COMPLETED",
"isActive": true,
"source": "playground",
"description": "Warm, calm female voice for product videos.",
"language": "en",
"gender": "female",
"createdAt": "2026-10-04T09:30:00.000Z",
"previewUrl": "{{STORAGE_BASE_URL}}/voices/5b9e2d4c/preview.mp3?X-Amz-Expires=900&X-Amz-Signature=…",
"ownedByOrg": true
}List cloned voices
Get a cloned voice
Retry a voice clone
Processes
One history of every text-to-speech session, voice clone and lip-sync job in your organization, with routes to read, download, rename or delete a single clip.