curl --request POST \
--url https://api.jogg.ai/v1/create_video_from_talking_avatar \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"script": "Hi, welcome to JoggAI and create longer videos with Talking Avatars in minutes!",
"audio_url": "https://res.jogg.ai/audio.mp3",
"aspect_ratio": 0,
"screen_style": 1,
"avatar_id": 81,
"avatar_type": 0,
"voice_id": "en-US-ChristopherNeural",
"caption": true,
"video_name": "My Video"
}'
{
"code": 123,
"msg": "<string>",
"data": {
"project_id": 123
}
}
Creates a talking avatar video with specified parameters
curl --request POST \
--url https://api.jogg.ai/v1/create_video_from_talking_avatar \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"script": "Hi, welcome to JoggAI and create longer videos with Talking Avatars in minutes!",
"audio_url": "https://res.jogg.ai/audio.mp3",
"aspect_ratio": 0,
"screen_style": 1,
"avatar_id": 81,
"avatar_type": 0,
"voice_id": "en-US-ChristopherNeural",
"caption": true,
"video_name": "My Video"
}'
{
"code": 123,
"msg": "<string>",
"data": {
"project_id": 123
}
}
Success
The response is of type object
.