v1.0.0OpenAPI 3.1.1

Voice & Lip-sync API

Download OpenAPI Document

Text 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.

Server
{{API_BASE_URL}}
Your API environment
Authentication RequiredApiKeyAuth
Your organization API key (starts with `uvk_`). Create one in the Universe app under Settings → API keys.
x-api-key:
Client Libraries
Shell

Get a lip-sync upload URL

List lip-sync models

Price a lip-sync

Start a lip-sync

Auth Required

Re-time the lips in a video to new speech (multipart/form-data): send the video and the audio files, or pick them from your assets with videoAssetId and audioAssetId. The length is measured from the audio (else the video) and charged before anything starts. Returns straight away with the job RUNNING and the credits charged; poll Get a lip-sync job until it is COMPLETED or FAILED.

Permission: playground.lip_sync:create. An API key acts with the role of the member who created it.

Credits: Charged when the job starts, per second of the measured length, at the rate of the job's model. When the render is done the charge is adjusted to the rendered length (never more than twice the start charge). Refunded in full if the render fails, including when the video is blocked by content moderation. Deleting the job while it renders keeps the charge.

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

Bodyrequiredmultipart/form-data

namestringrequired

Name of the job.

Example: Launch video — Hindi
languagestringrequired

BCP-47 code of the audio, such as hi-IN. The engine does not use it; it is stored on the job.

Example: hi-IN
modelstring

Model to render with, from List lip-sync models. It must be available to your organization. Omit it for the default (lipsync-2 when available).

Enum values:sync-3lipsync-2-prolipsync-2latentsync
Example: lipsync-2
numberOfSpeakersstring

Number of speakers in the video, as a number in a string. Stored on the job; the engine does not use it yet.

Example: 1
emotionDetectionstring

Emotion detection, true or false. Stored on the job; the engine does not use it yet.

Enum values:truefalse
Example: false
videoAssetIdstring

ID of a video in your organization's assets to use instead of uploading video.

Example: 9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d
audioAssetIdstring

ID of an audio file in your organization's assets to use instead of uploading audio.

Example: 1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e
videoUploadKeystring

The objectKey from Get a lip-sync upload URL (kind: video), once the PUT has finished. Use it instead of video for a large file: the bytes never pass through this API.

Example: 0f8e2d4c-6b1a-4c9e-8d7f-3a2b1c0d9e8f/playground/document/upload/4b1c7e2a-9d3f-4e5a-8b6c-1d2e3f4a5b6c.mp4
videoFileNamestring

The name of the video uploaded with videoUploadKey.

Example: interview.mp4
audioUploadKeystring

The objectKey from Get a lip-sync upload URL (kind: audio), once the PUT has finished. Use it instead of audio.

Example: 0f8e2d4c-6b1a-4c9e-8d7f-3a2b1c0d9e8f/playground/document/upload/9d3f4e5a-8b6c-1d2e-3f4a-5b6c4b1c7e2a.wav
audioFileNamestring

The name of the audio file uploaded with audioUploadKey.

Example: dub-es.wav
durationSecondsstring

Length in seconds, as a number in a string. Accepted but not used: the server measures the audio (else the video) and charges for that; when neither can be measured the job is refused with 400.

Example: 42.5
requestIdstring · uuid

A UUID you create for this request. It becomes the ID of the job. A retry with the same requestId is refused with 409, so the video is never rendered and charged twice.

Example: 2c4e6a8b-0d1f-4a3c-9e5b-7d9f1b3c5e7a
videostring · binary

The video with the face to lip-sync, up to 1000 MB. Required unless you pass videoUploadKey or videoAssetId.

audiostring · binary

The new speech to sync the lips to, up to 100 MB. Required unless you pass audioUploadKey or audioAssetId.

Responses

200The job was started. It is `RUNNING`.
application/json
idstring · uuidrequired

ID of the job.

Example: 2c4e6a8b-0d1f-4a3c-9e5b-7d9f1b3c5e7a
namestringrequired

Name of the job.

Example: Launch video — Hindi
modelstringrequired

Model the job renders with.

Example: lipsync-2
statusstringrequired

RUNNING while rendering, COMPLETED when the video is ready, FAILED (credits refunded; see error) or TERMINATED (stopped by the user).

Enum values:RUNNINGCOMPLETEDFAILEDTERMINATED
Example: COMPLETED
emotionDetectionbooleanrequired

The emotionDetection you sent.

Example: false
createdAtstring · date-timerequired

When the job was created.

Example: 2026-10-04T09:30:00.000Z
languagestring | null

BCP-47 code of the audio. Null on jobs created before it was recorded.

Example: hindi_india
durationSecondsnumber | null

Length of the render in seconds: as measured at start, then the rendered length once done.

Example: 43
numberOfSpeakersnumber | null

The numberOfSpeakers you sent, if any.

Example: 1
outputUrlstring | null

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.

Example: {{STORAGE_BASE_URL}}/playground/lip-sync/2c4e6a8b/output.mp4?X-Amz-Expires=900&X-Amz-Signature=…
videoUrlstring | null

Short-lived link to the input video. Returned by the single-job routes; null in List lip-sync jobs.

Example: {{STORAGE_BASE_URL}}/playground/lip-sync/2c4e6a8b/video.mp4?X-Amz-Expires=900&X-Amz-Signature=…
audioUrlstring | null

Short-lived link to the input audio. Returned by the single-job routes; null in List lip-sync jobs.

Example: {{STORAGE_BASE_URL}}/playground/lip-sync/2c4e6a8b/audio.wav?X-Amz-Expires=900&X-Amz-Signature=…
videoNamestring | null

File name of the input video.

Example: launch-video.mp4
audioNamestring | null

File name of the input audio.

Example: launch-hindi.wav
errorstring | null

Why the job failed, in plain words. Null unless FAILED.

Example: null
saveStatestring

none: never saved to assets. current: saved and matches the current video. stale: saved, but the video was rendered again since.

Enum values:nonecurrentstale
Example: none
savedVersionnumber

How many versions were saved to assets (0 = never).

Example: 0
creditsnumber

Credits charged for the render this request started. Only in the responses of Start a lip-sync and Re-run a lip-sync.

Example: 538
400Nothing was charged. A field failed validation, or: - `A project name is required.` - `A video file is required.` / `An audio file is required.` - `We couldn't read this file's length`: neither the audio nor the video could be measured. - `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.`
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
402Not enough credits for the measured length, or your organization owes credits. Nothing was started.
application/json
statusCodenumberrequired

HTTP status code.

Example: 402
errorstringrequired

Always InsufficientCredits.

Example: InsufficientCredits
messagestringrequired

What happened, in plain words.

Example: You don't have enough credits to start this. It needs 120; you have 45.
requirednumberrequired

Credits this request needs.

Example: 120
availablenumberrequired

Credits your organization can spend now.

Example: 45
owednumberrequired

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.

Example: 0
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.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
409This `requestId` was already used (`This lip-sync was already started. Please wait for it to finish.`). Nothing was charged.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
413A file is too large (`Lip-sync takes a video up to 1000 MB and an audio file up to 100 MB.`).
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
500The render could not be started (`Could not start the lip-sync. Please try again.`). The job is marked failed and the credits are refunded.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
POST/v1/galaxy/playground/lip-sync
curl '{{API_BASE_URL}}/v1/galaxy/playground/lip-sync' \
  --request POST \
  --header 'x-api-key: YOUR_API_KEY' \
  --form 'name=Launch video — Hindi' \
  --form 'language=hi-IN' \
  --form 'model=lipsync-2' \
  --form 'numberOfSpeakers=1' \
  --form 'emotionDetection=false' \
  --form 'videoAssetId=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d' \
  --form 'audioAssetId=1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e' \
  --form 'videoUploadKey=0f8e2d4c-6b1a-4c9e-8d7f-3a2b1c0d9e8f/playground/document/upload/4b1c7e2a-9d3f-4e5a-8b6c-1d2e3f4a5b6c.mp4' \
  --form 'videoFileName=interview.mp4' \
  --form 'audioUploadKey=0f8e2d4c-6b1a-4c9e-8d7f-3a2b1c0d9e8f/playground/document/upload/9d3f4e5a-8b6c-1d2e-3f4a-5b6c4b1c7e2a.wav' \
  --form 'audioFileName=dub-es.wav' \
  --form 'durationSeconds=42.5' \
  --form 'requestId=2c4e6a8b-0d1f-4a3c-9e5b-7d9f1b3c5e7a' \
  --form 'video=@video.pdf' \
  --form 'audio=@audio.pdf'
{
  "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"
}

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

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.

List processes

Get a process

Get a process download URL

Rename a process

Models

CreateLipSyncMultipartDto
CreateLipSyncUploadDto
CreateStagedUploadDto
CreateVoiceCloneMultipartDto
DocumentUploadUrlResponseDto
DownloadUrlResponseDto
GenerateSpeechDto
GenerateSpeechResponseDto
InsufficientCreditsErrorDto
LipSyncQuoteDto
LipSyncQuoteResponseDto
LipSyncResponseDto
PlaygroundIdResponseDto
PlaygroundLipSyncModelOptionDto
RenameSessionResponseDto
RenameVideoSessionDto
SaveLipSyncToAssetsResponseDto
SavePlaygroundOutputToAssetsDto
SaveTtsSessionToAssetsResponseDto
SessionCardDto
SessionCardPronunciationDto
SessionCardVoiceDto
SessionExportUrlDto
SessionExportUrlsResponseDto
StaleSessionErrorDto
UpsertSessionDto
VideoProcessAssigneeDto
VideoProcessDto
VideoProcessGroupDto
VideoProcessListDto
VoiceCloneResponseDto