Skip to main content
POST
/
v1
/
me
/
dubs
/
{dubId}
/
preprocess
Preprocess dub
curl --request POST \
  --url https://api.voicedub.ai/v1/me/dubs/{dubId}/preprocess \
  --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": "preprocessing",
    "inputDuration": null,
    "inputSource": "upload",
    "pitchShift": 0,
    "errorCode": null,
    "errorMessage": null,
    "apiCreditsUsed": 0,
    "apiCreditsLeft": null,
    "completedAt": null,
    "createdAt": "2024-01-15T10:00:00.000Z",
    "updatedAt": "2024-01-15T10:30:00.000Z",
    "dubUrl": null,
    "requiredCredits": null
  }
}

Authorizations

Authorization
string
header
required

API key in the format: "Api-Key "

Path Parameters

dubId
string<uuid>
required

UUID of the dub to preprocess

Example:

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

Response

Preprocessing started successfully

dub
object
required