Create a dubbing project from an uploaded video asset
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Create from uploaded assetCreate from video URL
Create a dubbing project from a previously uploaded video asset.
Parameters
title
type: string
required
length ≤ 256
description: The title of the dubbed video to create.
targetLanguages
type: array of objects
required
description: The languages to dub the source media asset to.
lipsyncEnabled
type: boolean
default: false
description: Whether to enable lipsync for the dubbed video.
videoDuration
type: string
enum
default: adaptive
description: The duration of the video to create.
allowed values: adaptive, original
visibility
type: string
enum
default: private
description: The visibility of the dubbed video.
allowed values: private, public
sourceAssetId
type: string
required
description: The ID of the source media asset to create the dubbed video from.
sourceLanguage
type: string
enum
required
description: The language of the source media asset.
Responses
202Accepted- Dubbing project created successfully.
400Bad Request- Failed to create dubbing project. This can occur when:
- The request validation fails
- The source asset video URL is broken or inaccessible
- There are errors creating the dubbed videos
- Failed to create dubbing project. This can occur when:
403Forbidden- Wrong API key.
- **
404Asset ID was not found. 501Not ImplementeddefaultUnexpected Server error.
Example CURL Request
curl --request POST \
--url https://api.synthesia.io/v2/dubbing \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"lipsyncEnabled": false,
"videoDuration": "adaptive",
"visibility": "private",
"sourceLanguage": "af"
}'
Example JSON Response
{
"createdImportedAsset": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}