cURL
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": "Soft Selling", "visual_style": "Simple Product Switch", "template_id": 123, "template_type": "public", "override_script": "", "caption": true, "video_name": "My Video" }'
{ "code": 123, "msg": "<string>", "data": { "project_id": 123 } }
Final step to generate the product video. Use the product_id received from Step 1 (POST /product response)
Success
The response is of type object.
object