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

x-api-key
string
header
required

Body

application/json

Response

200 - application/json

Success

The response is of type object.