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

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

Auth Required

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

namestringrequired

Name of the new voice, shown in the voice library.

Example: Priya — narrator
providerstringrequired

Provider that clones the voice. It must be enabled for your organization. Microsoft voices cannot be cloned.

Enum values:elevenlabscartesia
Example: elevenlabs
languagestring

BCP-47 code of the samples' language. Optional: a cloned voice can speak every language its provider supports.

Example: en-US
genderstring

Gender of the voice, shown in the voice library.

Example: female
descriptionstring

Description of the voice. Sent to the provider and shown in the voice library.

Example: Warm, calm female voice for product videos.
modelstring

Informational only; not used by the server.

Example: eleven_multilingual_v2
removeBackgroundNoisestring

true to remove background noise from the samples before cloning. Default false.

Enum values:truefalse
Example: false
sampleAssetIdsstring

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.

Example: 9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d,1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e
sampleUploadKeysstring

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.

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

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.

Example: 5b9e2d4c-1a3f-4c7e-8b6d-2f1e0a9c8b7d
samplesstring · binary[]

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`.
application/json
idstring · uuidrequired

ID of the cloned voice.

Example: 5b9e2d4c-1a3f-4c7e-8b6d-2f1e0a9c8b7d
namestringrequired

Name of the voice.

Example: Priya — narrator
providerstringrequired

Provider the voice was cloned with.

Enum values:elevenlabscartesia
Example: elevenlabs
providerVoiceIdstring | nullrequired

The provider's ID for the voice. Pass it as voiceId (with provider) to Generate speech. Null until the clone is COMPLETED.

Example: pNInz6obpgDQGcFmaJgB
statusstringrequired

RUNNING while cloning, COMPLETED once it can be used, FAILED if cloning failed (the credits are refunded; you can retry it).

Enum values:RUNNINGCOMPLETEDFAILED
Example: COMPLETED
isActivebooleanrequired

False when the provider no longer holds the voice. It is created again automatically the next time you use it.

Example: true
sourcestringrequired

Product the voice was cloned in. Every cloned voice can be used in every product.

Enum values:playgroundtranslate-video
Example: playground
createdAtstring · date-timerequired

When the voice was created.

Example: 2026-10-04T09:30:00.000Z
previewUrlstring | nullrequired

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.

Example: {{STORAGE_BASE_URL}}/voices/5b9e2d4c/preview.mp3?X-Amz-Expires=900&X-Amz-Signature=…
ownedByOrgbooleanrequired

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.

Example: true
descriptionstring | null

Description of the voice.

Example: Warm, calm female voice for product videos.
languagestring | null

Language given for the samples, if any.

Example: en
genderstring | null

Gender of the voice, if given.

Example: female
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.`
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 a voice clone, 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
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.
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 sample is larger than 100 MB (`Each audio sample must be 100 MB or smaller.`).
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
500Cloning could not be started (`Voice cloning could not be started. Please try again.`). The voice 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/voice-clone
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.

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