Discussions

Ask a Question
Back to all

Some customization of video generate

https://api.heygen.com/v2/video/generate

{
"caption": "true",
"dimension": {
"width": "720",
"height": "1280"
},
"video_inputs": [
{
"character": {
"type": "avatar",
"scale": 1,
"avatar_style": "normal",
"talking_style": "stable",
"avatar_id": "' . $avatar_id . '",
"matting": true
},
"voice": {
"type": "audio",
"speed": "1",
"pitch": "0",
"duration": "1",
"audio_url": "xxx.mp3"
},
"background": {
"type": "image",
"url": "xxxx.jpg",
"play_style": "freeze",
"fit": "cover"
}
}
]
}

Dear support, would like to know , is there

  1. better fit for avatar with background, not looks like it is full width by default
  2. caption set to true already, but seems the caption is not combine with the video , any option to do that?
    Thank you