Discussions

Ask a Question
Back to all

HeyGen API Error When Using Custom Talking Photo Upload

Hello,

I am currently testing the HeyGen API with the free plan, and I'm trying to generate a video using a talking_photo character that I previously uploaded through the web interface.
I still have my 10 free credits available, so this should not be a quota issue.

I’m sending the following video_inputs object in my request:

"video_inputs": [
{
"character": {
"type": "talking_photo",
"scale": 1,
"talking_style": "stable",
"talking_photo_style": "circle",
"expression": "happy",
"super_resolution": true,
"matting": true,
"circle_background_color": "#FFFF00",
"talking_photo_id": "904faa0110914940b4451f9147315542"
},
"voice": {
"type": "text",
"speed": "1",
"pitch": "0",
"elevanlabs_settings": {
"model": "eleven_multilingual_v2",
"similarity_boost": 1,
"stability": 1,
"style": 1
},
"input_text": "HI THERE",
"emotion": "Friendly",
"locale": "en-US",
"voice_id": "d92994ae0de34b2e8659b456a2f388b8"
},
"background": {
"type": "color",
"value": "#FF0000",
"play_style": "loop",
"fit": "cover"
},
"text": {
"type": "text",
"position": {"x": 1, "y": 1},
"text": "hi there",
"font_family": "Arial",
"font_size": 1,
"font_weight": "bold",
"color": "#FFFF00",
"text_align": "center",
"line_height": 1
}
}
]
However, I keep getting this error:
{
"data": null,
"error": {
"code": "internal_error",
"message": "Something is wrong, please contact [email protected]"
}
}

Has anyone experienced this before?
Is there something wrong with my payload, or is this a limitation of the free plan?

Thanks in advance for your help!