post https://api.synthesia.io/v2/videos
Create a video within your Synthesia account
In case there is a feature that STUDIO provides that this API doesn't support, we recommend you use the video from template endpoint.
{
"test": true,
"title": "Hello, World!",
"description": "This is my first synthetic video, made with the Synthesia API!",
"visibility": "public",
"ctaSettings": {
"label": "Click me!",
"url": "https://www.synthesia.io"
},
"callbackId": "[email protected]",
"input": [{
"scriptText": "This is my first synthetic video, made with the Synthesia API!",
"scriptAudio": "12345678-1234-1234-1234-123456789012",
"scriptLanguage": "en-US",
"avatar": "anna_costume1_cameraA",
"avatarSettings": {
"voice": "1364e02b-bdae-4d39-bc2d-6c4a34814968",
"horizontalAlign": "center",
"scale": 1.0,
"style": "rectangular",
"backgroundColor": "#F2F7FF",
"seamless": false
},
"background": "off_white",
"backgroundSettings": {
"videoSettings": {
"shortBackgroundContentMatchMode": "freeze",
"longBackgroundContentMatchMode": "trim"
}
}
}],
"soundtrack": "urban"
}