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

Generate speech

Get a session

Auth Required

A text-to-speech session with all its cards in clips. Poll it after Generate speech until the card is COMPLETED (its outputUrl plays the audio) or FAILED; every few seconds is enough. Keep revision for your next save.

Permission: playground.tts:read. 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

Responses

200The session.
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
400Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).
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
404No session with this ID in your organization (`Session not found`).
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
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
GET/v1/galaxy/playground/video-process/session/{sessionId}
curl '{{API_BASE_URL}}/v1/galaxy/playground/video-process/session/3f2a9c1e-7b4d-4e8a-9c6f-1d2e3f4a5b6c' \
  --header 'x-api-key: YOUR_API_KEY'
{
  "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
    }
  ]
}

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