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

Save a session

Auth Required

Create or update a text-to-speech session and its speech cards. The first call with a new sessionId (a UUID you choose) creates the session. Each card has a UUID you choose; send the whole list of cards every time, in reading order. A card must be saved before you can generate its speech. Saving is free, but changing the text, language or voice of a COMPLETED card clears its audio, and generating it again is charged again. A card that is generating keeps its text and is not deleted by a save. Returns the session as saved, with its new revision: pass it as baseRevision next time.

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

Path Parameters

sessionIdstring · uuidrequired

ID of the text-to-speech session. You choose it (a UUID) on the first Save a session.

Example: 3f2a9c1e-7b4d-4e8a-9c6f-1d2e3f4a5b6c

Bodyrequiredapplication/json

cardsSessionCardDto[]required

Every card of the session, in reading order. New IDs create cards; known IDs update them. Changing the text, language or voice of a COMPLETED card clears its audio. Cards left out are deleted only when you send baseRevision, and a card that is generating is never deleted or re-worded by a save.

Show child attributes
idstring · uuidrequired

A UUID you create for the card. Keep it: you pass it as cardId to Generate speech, and send it again on later saves.

Example: 8d7c6b5a-4e3f-4a2b-9c1d-0e9f8a7b6c5d
namestringrequired

Name of the card (the clip).

Example: Intro
textstring

Text the card speaks, up to 5,000 characters.

Example: Welcome to our quarterly product update.
languagestring

BCP-47 code of the speech, such as hi-IN.

Example: hi-IN
voiceSessionCardVoiceDto

The voice the card speaks with.

Show child attributes
providerstringrequired

Provider the voice belongs to.

Enum values:elevenlabscartesiamicrosoft
Example: elevenlabs
voiceIdstringrequired

The provider's voice ID (for a cloned voice, its providerVoiceId).

Example: JBFqnCBsd6RMkjVDRZzb
namestring

Display name of the voice.

Example: George
genderstring

Gender of the voice.

Example: male
voiceTypestring

Type of the voice, for display.

Example: premade
emotionstring

Tone of delivery. Default Neutral.

Example: Neutral
pronunciationsSessionCardPronunciationDto[]

Pronunciation rules for this card, up to 100: each match in the text is spoken as its alias.

Show child attributes
matchstringrequired

Text to look for in the card, up to 200 characters.

Example: Vitra
aliasstringrequired

What to say instead, up to 200 characters.

Example: Veetra
playbackRatenumber

Playback speed, from 0.5 to 2 (default 1). Applied when the clip is saved to assets; it does not change the generated audio, so changing it costs nothing.

Example: 1Min: 0.5Max: 2
volumenumber

Volume, from 0 to 1.5 (default 1). Applied when the clip is saved to assets, like playbackRate.

Example: 1Min: 0Max: 1.5
namestring

Name of the session. Default Untitled.

Example: Product update narration
voiceSettingsobject

ElevenLabs tuning per voice, keyed <provider>:<voiceId>: voiceConsistency (0, 0.5 or 1), voiceMatch (0 to 1), styleEmphasis (0 to 1) and enhancedVoiceMatch (boolean). Every card that uses the voice shares it. Values out of range are adjusted.

Example: {"elevenlabs:JBFqnCBsd6RMkjVDRZzb":{"voiceConsistency":0.5,"voiceMatch":0.75,"styleEmphasis":0,"enhancedVoiceMatch":true}}
baseRevisionstring · date-time

The revision of the session you last read or saved. The save applies only if the session is still at that revision; otherwise it returns 409 with the current session. Send it on every save after the first; without it, no card is ever deleted.

Example: 2026-10-04T09:30:00.123Z

Responses

200The session as saved.
application/json
idstring · uuidrequired

Session ID for text to speech; the clip ID for a voice clone or lip-sync.

Example: 3f2a9c1e-7b4d-4e8a-9c6f-1d2e3f4a5b6c
isSessionbooleanrequired

True for a text-to-speech session.

Example: true
namestringrequired

Name of the session or job.

Example: Product update narration
typestringrequired

What kind of process it is.

Enum values:ttsvoice_clonelip_sync
Example: tts
statusstringrequired

Overall status: RUNNING if any clip is, else FAILED if any failed, else COMPLETED if any is done, else TERMINATED if any was stopped, else DRAFT.

Enum values:DRAFTRUNNINGCOMPLETEDFAILEDTERMINATED
Example: COMPLETED
clipCountnumberrequired

Number of clips.

Example: 3
createdAtstring · date-timerequired

For a session, when it was last changed; otherwise when the job was created.

Example: 2026-10-04T09:30:00.000Z
clipsVideoProcessDto[]required

The clips: the cards of a session in reading order, or the one clip of a job.

Show child attributes
idstring · uuidrequired

ID of the clip: the card ID for text to speech, the process ID for a voice clone or lip-sync.

Example: 8d7c6b5a-4e3f-4a2b-9c1d-0e9f8a7b6c5d
typestringrequired

What produced the clip.

Enum values:ttsvoice_clonelip_sync
Example: tts
namestringrequired

Name of the clip.

Example: Intro
statusstringrequired

DRAFT (saved, not generated yet), RUNNING, COMPLETED, FAILED or TERMINATED (stopped by the user). A clip stuck in RUNNING far past its time limit is reported as FAILED.

Enum values:DRAFTRUNNINGCOMPLETEDFAILEDTERMINATED
Example: COMPLETED
createdAtstring · date-timerequired

When the clip was created.

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

BCP-47 code of the clip.

Example: hi-IN
durationSecondsnumber | null

Length of the generated audio or video in seconds.

Example: 4.2
refIdstring | null

For a voice clone or lip-sync: the ID of the cloned voice or lip-sync job. Null for text to speech.

Example: null
metadataobject | null

For text to speech, the card as saved: text, voice, emotion, pronunciations, playbackRate and volume. For a voice clone or lip-sync, internal details that may change; do not depend on them.

Example: {"text":"Welcome to our quarterly product update.","voice":{"provider":"elevenlabs","voiceId":"JBFqnCBsd6RMkjVDRZzb","name":"George","gender":"male","voiceType":"premade"},"emotion":"Neutral","pronunciations":[],"playbackRate":1,"volume":1}
outputUrlstring | null

Short-lived link (about 15 minutes) to play the generated audio or video, when status is COMPLETED. To download, use a download URL route.

Example: {{STORAGE_BASE_URL}}/playground/tts/8d7c6b5a/output.wav?X-Amz-Expires=900&X-Amz-Signature=…
saveStatestring

Text to speech only. none: never saved to assets. current: saved and matches the current audio. stale: saved, but generated again since.

Enum values:nonecurrentstale
Example: none
savedVersionnumber

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

Example: 0
languagestring | null

BCP-47 code shared by every clip; null when they differ.

Example: hindi_india
totalDurationSecondsnumber | null

Total length of the clips in seconds.

Example: 12.6
voiceSettingsobject

Text to speech only. ElevenLabs tuning per voice, keyed <provider>:<voiceId>: voiceConsistency (0, 0.5 or 1), voiceMatch (0 to 1), styleEmphasis (0 to 1) and enhancedVoiceMatch (boolean). Every card that uses the voice shares it. Values out of range are adjusted.

Example: {"elevenlabs:JBFqnCBsd6RMkjVDRZzb":{"voiceConsistency":0.5,"voiceMatch":0.75,"styleEmphasis":0,"enhancedVoiceMatch":true}}
revisionstring · date-time

Text to speech only. The revision of the session; send it as baseRevision on your next save.

Example: 2026-10-04T09:30:00.123Z
assigneesVideoProcessAssigneeDto[]

Members assigned to the process. Only in List processes.

Show child attributes
memberIdstring · uuidrequired

Member ID.

Example: 7f6e5d4c-3b2a-4190-8f7e-6d5c4b3a2918
namestring | nullrequired

Name of the member.

Example: Asha Rao
imagestring | nullrequired

Profile picture URL of the member.

Example: null
400A field failed validation, for example a card `id` that is not a UUID, a name over 255 characters or a card text over 5,000 characters.
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
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
404The resource does not exist, or you cannot see it.
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 session changed since `baseRevision` (another save landed first). Nothing was saved. The body carries the current `session`: apply your changes to it and save again with its `revision`.
application/json
statusCodenumberrequired

HTTP status code.

Example: 409
errorstringrequired

Always Conflict.

Example: Conflict
codestringrequired

Always TTS_SESSION_STALE.

Example: TTS_SESSION_STALE
messagestringrequired

What happened.

Example: This session was changed in another tab or by a teammate since this editor loaded it.
sessionVideoProcessGroupDtorequired

The session as it is now. Apply your changes to it and save again with its revision.

Show child attributes
idstring · uuidrequired

Session ID for text to speech; the clip ID for a voice clone or lip-sync.

Example: 3f2a9c1e-7b4d-4e8a-9c6f-1d2e3f4a5b6c
isSessionbooleanrequired

True for a text-to-speech session.

Example: true
namestringrequired

Name of the session or job.

Example: Product update narration
typestringrequired

What kind of process it is.

Enum values:ttsvoice_clonelip_sync
Example: tts
statusstringrequired

Overall status: RUNNING if any clip is, else FAILED if any failed, else COMPLETED if any is done, else TERMINATED if any was stopped, else DRAFT.

Enum values:DRAFTRUNNINGCOMPLETEDFAILEDTERMINATED
Example: COMPLETED
clipCountnumberrequired

Number of clips.

Example: 3
createdAtstring · date-timerequired

For a session, when it was last changed; otherwise when the job was created.

Example: 2026-10-04T09:30:00.000Z
clipsVideoProcessDto[]required

The clips: the cards of a session in reading order, or the one clip of a job.

Show child attributes
idstring · uuidrequired

ID of the clip: the card ID for text to speech, the process ID for a voice clone or lip-sync.

Example: 8d7c6b5a-4e3f-4a2b-9c1d-0e9f8a7b6c5d
typestringrequired

What produced the clip.

Enum values:ttsvoice_clonelip_sync
Example: tts
namestringrequired

Name of the clip.

Example: Intro
statusstringrequired

DRAFT (saved, not generated yet), RUNNING, COMPLETED, FAILED or TERMINATED (stopped by the user). A clip stuck in RUNNING far past its time limit is reported as FAILED.

Enum values:DRAFTRUNNINGCOMPLETEDFAILEDTERMINATED
Example: COMPLETED
createdAtstring · date-timerequired

When the clip was created.

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

BCP-47 code of the clip.

Example: hi-IN
durationSecondsnumber | null

Length of the generated audio or video in seconds.

Example: 4.2
refIdstring | null

For a voice clone or lip-sync: the ID of the cloned voice or lip-sync job. Null for text to speech.

Example: null
metadataobject | null

For text to speech, the card as saved: text, voice, emotion, pronunciations, playbackRate and volume. For a voice clone or lip-sync, internal details that may change; do not depend on them.

Example: {"text":"Welcome to our quarterly product update.","voice":{"provider":"elevenlabs","voiceId":"JBFqnCBsd6RMkjVDRZzb","name":"George","gender":"male","voiceType":"premade"},"emotion":"Neutral","pronunciations":[],"playbackRate":1,"volume":1}
outputUrlstring | null

Short-lived link (about 15 minutes) to play the generated audio or video, when status is COMPLETED. To download, use a download URL route.

Example: {{STORAGE_BASE_URL}}/playground/tts/8d7c6b5a/output.wav?X-Amz-Expires=900&X-Amz-Signature=…
saveStatestring

Text to speech only. none: never saved to assets. current: saved and matches the current audio. stale: saved, but generated again since.

Enum values:nonecurrentstale
Example: none
savedVersionnumber

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

Example: 0
languagestring | null

BCP-47 code shared by every clip; null when they differ.

Example: hindi_india
totalDurationSecondsnumber | null

Total length of the clips in seconds.

Example: 12.6
voiceSettingsobject

Text to speech only. ElevenLabs tuning per voice, keyed <provider>:<voiceId>: voiceConsistency (0, 0.5 or 1), voiceMatch (0 to 1), styleEmphasis (0 to 1) and enhancedVoiceMatch (boolean). Every card that uses the voice shares it. Values out of range are adjusted.

Example: {"elevenlabs:JBFqnCBsd6RMkjVDRZzb":{"voiceConsistency":0.5,"voiceMatch":0.75,"styleEmphasis":0,"enhancedVoiceMatch":true}}
revisionstring · date-time

Text to speech only. The revision of the session; send it as baseRevision on your next save.

Example: 2026-10-04T09:30:00.123Z
assigneesVideoProcessAssigneeDto[]

Members assigned to the process. Only in List processes.

Show child attributes
memberIdstring · uuidrequired

Member ID.

Example: 7f6e5d4c-3b2a-4190-8f7e-6d5c4b3a2918
namestring | nullrequired

Name of the member.

Example: Asha Rao
imagestring | nullrequired

Profile picture URL of the member.

Example: null
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
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
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
PUT/v1/galaxy/playground/video-process/session/{sessionId}
curl '{{API_BASE_URL}}/v1/galaxy/playground/video-process/session/3f2a9c1e-7b4d-4e8a-9c6f-1d2e3f4a5b6c' \
  --request PUT \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Product update narration",
  "cards": [
    {
      "id": "8d7c6b5a-4e3f-4a2b-9c1d-0e9f8a7b6c5d",
      "name": "Intro",
      "text": "Welcome to our quarterly product update.",
      "language": "hi-IN",
      "voice": {
        "provider": "elevenlabs",
        "voiceId": "JBFqnCBsd6RMkjVDRZzb",
        "name": "George",
        "gender": "male",
        "voiceType": "premade"
      },
      "emotion": "Neutral",
      "pronunciations": [
        {
          "match": "Vitra",
          "alias": "Veetra"
        }
      ],
      "playbackRate": 1,
      "volume": 1
    }
  ],
  "voiceSettings": {
    "elevenlabs:JBFqnCBsd6RMkjVDRZzb": {
      "voiceConsistency": 0.5,
      "voiceMatch": 0.75,
      "styleEmphasis": 0,
      "enhancedVoiceMatch": true
    }
  },
  "baseRevision": "2026-10-04T09:30:00.123Z"
}'
{
  "id": "3f2a9c1e-7b4d-4e8a-9c6f-1d2e3f4a5b6c",
  "isSession": true,
  "name": "Product update narration",
  "type": "tts",
  "status": "COMPLETED",
  "language": "hindi_india",
  "clipCount": 3,
  "totalDurationSeconds": 12.6,
  "createdAt": "2026-10-04T09:30:00.000Z",
  "clips": [
    {
      "id": "8d7c6b5a-4e3f-4a2b-9c1d-0e9f8a7b6c5d",
      "type": "tts",
      "name": "Intro",
      "status": "COMPLETED",
      "language": "hi-IN",
      "durationSeconds": 4.2,
      "refId": null,
      "metadata": {
        "text": "Welcome to our quarterly product update.",
        "voice": {
          "provider": "elevenlabs",
          "voiceId": "JBFqnCBsd6RMkjVDRZzb",
          "name": "George",
          "gender": "male",
          "voiceType": "premade"
        },
        "emotion": "Neutral",
        "pronunciations": [],
        "playbackRate": 1,
        "volume": 1
      },
      "outputUrl": "{{STORAGE_BASE_URL}}/playground/tts/8d7c6b5a/output.wav?X-Amz-Expires=900&X-Amz-Signature=…",
      "saveState": "none",
      "savedVersion": 0,
      "createdAt": "2026-10-04T09:30:00.000Z"
    }
  ],
  "voiceSettings": {
    "elevenlabs:JBFqnCBsd6RMkjVDRZzb": {
      "voiceConsistency": 0.5,
      "voiceMatch": 0.75,
      "styleEmphasis": 0,
      "enhancedVoiceMatch": true
    }
  },
  "revision": "2026-10-04T09:30:00.123Z",
  "assignees": [
    {
      "memberId": "7f6e5d4c-3b2a-4190-8f7e-6d5c4b3a2918",
      "name": "Asha Rao",
      "image": null
    }
  ]
}

Generate speech

Get a session

Get session download URLs

Save a session to assets

Rename a session

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