URL to Video
Generate Video from Product Information
QuickStart
API Documentation
URL to Video
Create Avatar Videos
Get Generated Video
AI Scripts
Upload Media
Avatar
Visual Style
URL to Video
Generate Video from Product Information
Final step to generate the product video. Use the product_id received from Step 1 (POST /product response)
POST
/
create_video_from_url
curl --request POST \
--url https://api.jogg.ai/v1/create_video_from_url \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"product_id": "NTIzMzc0NjI5",
"aspect_ratio": 0,
"video_length": "15",
"language": "english",
"avatar_id": 1,
"avatar_type": 0,
"voice_id": "en-US-ChristopherNeural",
"music_id": 13,
"script_style": "Storytime",
"visual_style": "Simple Product Switch",
"template_id": 123,
"template_type": "public",
"override_script": "",
"caption": true
}'
{
"code": 123,
"msg": "<string>",
"data": {
"project_id": 123
}
}
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_from_url \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"product_id": "NTIzMzc0NjI5",
"aspect_ratio": 0,
"video_length": "15",
"language": "english",
"avatar_id": 1,
"avatar_type": 0,
"voice_id": "en-US-ChristopherNeural",
"music_id": 13,
"script_style": "Storytime",
"visual_style": "Simple Product Switch",
"template_id": 123,
"template_type": "public",
"override_script": "",
"caption": true
}'
{
"code": 123,
"msg": "<string>",
"data": {
"project_id": 123
}
}