POST
/
preview
curl --request POST \
  --url https://api.jogg.ai/v1/preview \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "product_id": "8xUNyTgckMBsX4jn4Lxf",
  "aspect_ratio": 0,
  "video_length": "15",
  "language": "english",
  "avatar_id": 1,
  "avatar_type": 0,
  "voice_id": "en-US-ChristopherNeural",
  "script_style": "Storytime",
  "visual_style": "Simple split screen template",
  "template_id": 0,
  "template_type": "custom",
  "override_script": "",
  "caption": true
}'
{
  "code": 123,
  "msg": "<string>",
  "data": {
    "project_id": 123
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200 - application/json

Success

The response is of type object.