v1
latestOpenAPI 3.0.1MIT2026-07-2638658.5 KBVideo
Create video from template
Create a video using a template with custom variables and settings. Templates support various variable types including text, image, video, and script.
post/v2/create_video_with_template
Request body
Example request
{
"template_id": 1234,
"video_name": "My Template Video",
"avatar_id": 1,
"voice_language": "english",
"voice_id": "en-US-ChristopherNeural",
"captions_enabled": true,
"background_music_id": 1,
"variables": [
{
"properties": {
"content": "Product description text",
"url": "https://res.jogg.ai/media/image.jpg",
"asset_id": 12345,
"webhook_url": "https://example.com/webhook"
}
}
]
}Response
Success
Example response
{
"msg": "Success",
"data": {
"video_id": "video_123456"
}
}