Discussions

Ask a Question
Back to all

Issue with API talking photo video vs Native UI talking photo video

Examples:
API video - https://app.heygen.com/videos/2a02d80abce24da2befbd755dc0937a3
HG Editor video - https://app.heygen.com/videos/6fc291972ca14a34baaf7b4581ca4a82

HG video looks super crisp, lip sync is dead on, great movement, etc. (1080p)
API video is choppy, lip synce is way off, using more realistic mouth movements than cartoon movements.

Below is the JSON used to create the video, maybe there are options that I'm missing to get it to look better. I have tried one other avatar similar to this and not having these problems. It IS filling the canvas most of the way. Attached an image…

I'm using this endpoint: https://api.heygen.com/v2/video/generate

{
"caption": "false",
"video_inputs": [
{
"character": {
"type": "talking_photo",
"scale": 1,
"avatar_style": "normal",
"talking_style": "stable",
"avatar_id": "2de8a5ccf58141ad9b4a47b04122fe0e",
"talking_photo_id": "cc07414bd4fc4374808d8af3556caa57",
"expression": "happy"
},
"voice": {
"type": "text",
"speed": 1.2,
"pitch": "0",
"elevanlabs_settings": {
"model": "eleven_multilingual_v2",
"similarity_boost": 0.65,
"stability": 0.45,
"style": 0.7
},
"duration": "1",
"input_text": "[SCRIPT OUTPUT]",
"voice_id": "2902a715e2aa4012a4634fbaec3b2b0d"
}
}
],
"dimension": {
"width": 720,
"height": 1280
},
"title": "[TITLE OUTPUT]"
}

P.S. I already fixed the size ouput issue, my avatar did not have exact 720x1280 dimensions.