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
Render a job again from its stored video and audio, keeping its ID: retry a FAILED job, or redo a COMPLETED one. A COMPLETED job keeps its current video until the new render succeeds. Not allowed while the job is still rendering. Returns the job RUNNING with the credits charged; poll it as after Start a lip-sync.
Permission: playground.lip_sync:create. An API key acts with the role of the member who created it.
Credits: A re-run is a new render: charged again when it starts, at the rate of the job's model, for the length of the previous render (or the stored files, measured again). Adjusted and refunded like a new job.
| Rate | What it covers | Price |
|---|---|---|
| Lip sync (lipsync-2) | Rendering a lip-synced video on lipsync-2 in the video playground. Charged per second of rendered output. | 750 credits per minute |
| Lip sync (lipsync-2-pro) | Rendering a lip-synced video on lipsync-2-pro in the video playground. Charged per second of rendered output. | 1200 credits per minute |
| Lip sync (sync-3) | Rendering a lip-synced video on sync-3 in the video playground. Charged per second of rendered output. | 2000 credits per minute |
| Lip sync (latentsync) | Rendering a lip-synced video on latentsync in the video playground. Charged per second of rendered output. | 300 credits per minute |
Path Parameters
ID of the lip-sync job.
Responses
200The render was started again. The job is `RUNNING`.
ID of the job.
Name of the job.
Model the job renders with.
RUNNING while rendering, COMPLETED when the video is ready, FAILED (credits refunded; see error) or TERMINATED (stopped by the user).
The emotionDetection you sent.
When the job was created.
BCP-47 code of the audio. Null on jobs created before it was recorded.
Length of the render in seconds: as measured at start, then the rendered length once done.
The numberOfSpeakers you sent, if any.
Short-lived link (about 15 minutes) to play the lip-synced video. Only when status is COMPLETED. To download it, use Get a lip-sync download URL.
Short-lived link to the input video. Returned by the single-job routes; null in List lip-sync jobs.
Short-lived link to the input audio. Returned by the single-job routes; null in List lip-sync jobs.
File name of the input video.
File name of the input audio.
Why the job failed, in plain words. Null unless FAILED.
none: never saved to assets. current: saved and matches the current video. stale: saved, but the video was rendered again since.
How many versions were saved to assets (0 = never).
Credits charged for the render this request started. Only in the responses of Start a lip-sync and Re-run a lip-sync.
400Nothing was charged: - `This lip-sync is still rendering.` - `The original video/audio is no longer available to re-run.` - `Lip-sync model "<model>" is turned off for this organization. Enable its provider in Settings → Provider Preference.` - `Unknown lip-sync model "<model>".` - `No <vendor> API key is set for this organization. Add one in Settings → Voice & Lipsync.`
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 the render, 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.
404No lip-sync job with this ID in your organization (`Lip-sync job not found`).
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 job is already being re-run (`This is already being re-run`). 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.
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.
500The render could not be started again (`Could not restart the lip-sync. Please try again.`). The job 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/lip-sync/2c4e6a8b-0d1f-4a3c-9e5b-7d9f1b3c5e7a/retry' \
--request POST \
--header 'x-api-key: YOUR_API_KEY'{
"id": "2c4e6a8b-0d1f-4a3c-9e5b-7d9f1b3c5e7a",
"name": "Launch video — Hindi",
"model": "lipsync-2",
"language": "hindi_india",
"status": "COMPLETED",
"durationSeconds": 43,
"numberOfSpeakers": 1,
"emotionDetection": false,
"outputUrl": "{{STORAGE_BASE_URL}}/playground/lip-sync/2c4e6a8b/output.mp4?X-Amz-Expires=900&X-Amz-Signature=…",
"videoUrl": "{{STORAGE_BASE_URL}}/playground/lip-sync/2c4e6a8b/video.mp4?X-Amz-Expires=900&X-Amz-Signature=…",
"audioUrl": "{{STORAGE_BASE_URL}}/playground/lip-sync/2c4e6a8b/audio.wav?X-Amz-Expires=900&X-Amz-Signature=…",
"videoName": "launch-video.mp4",
"audioName": "launch-hindi.wav",
"error": null,
"saveState": "none",
"savedVersion": 0,
"credits": 538,
"createdAt": "2026-10-04T09:30:00.000Z"
}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
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.