Skip to main content
POST
/
v1
/
me
/
dubs
/
{dubId}
/
generate
Generate dub
curl --request POST \
  --url https://api.voicedub.ai/v1/me/dubs/{dubId}/generate \
  --header 'Authorization: <api-key>'
{
  "dub": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "voiceId": "123e4567-e89b-12d3-a456-426614174001",
    "link": "https://example.com/audio.mp3",
    "separate": true,
    "status": "queued",
    "inputDuration": 180000,
    "inputSource": "upload",
    "pitchShift": 0,
    "errorCode": null,
    "errorMessage": null,
    "apiCreditsUsed": 30,
    "apiCreditsLeft": 90,
    "completedAt": null,
    "createdAt": "2024-01-15T10:00:00.000Z",
    "updatedAt": "2024-01-15T10:30:00.000Z",
    "dubUrl": null,
    "requiredCredits": 30
  }
}

Authorizations

Authorization
string
header
required

API key in the format: "Api-Key "

Path Parameters

dubId
string<uuid>
required

UUID of the dub to generate

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

Generation started successfully

dub
object
required