Template
Create Video From Template
QuickStart
API Documentation
URL to Video
Create Avatar Videos
Get Generated Video
AI Scripts
Upload Media
Avatar
Visual Style
Template
Create Video From Template
Create video from Your Template.
POST
/
create_video_with_template
curl --request POST \
--url https://api.jogg.ai/v1/create_video_with_template \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"template_id": 1234,
"lang": "english",
"template_type": "common",
"avatar_id": 1,
"avatar_type": 0,
"voice_id": "en-US-ChristopherNeural",
"caption": true,
"music_id": 1,
"variables": [
{
"type": "text",
"name": "<string>",
"properties": {
"content": "<string>",
"url": "<string>",
"asset_id": 123
}
}
]
}'
{
"code": 123,
"msg": "<string>",
"data": {
"project_id": "12345"
}
}
Authorizations
Body
application/json
Response
200 - application/json
Success
The response is of type object
.
curl --request POST \
--url https://api.jogg.ai/v1/create_video_with_template \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"template_id": 1234,
"lang": "english",
"template_type": "common",
"avatar_id": 1,
"avatar_type": 0,
"voice_id": "en-US-ChristopherNeural",
"caption": true,
"music_id": 1,
"variables": [
{
"type": "text",
"name": "<string>",
"properties": {
"content": "<string>",
"url": "<string>",
"asset_id": 123
}
}
]
}'
{
"code": 123,
"msg": "<string>",
"data": {
"project_id": "12345"
}
}