Discussions

Ask a Question
Back to All

"[400] End of scene 1 does not align with script" - API Generate Video From Template

Hello,

I am building a scenario in make.com that should let me generate videos from my heygen template automatically based on scripts I generate via openAI.

When I send an API request to /v2/template/<template_id>/generate, I receive the error message: "[400] End of scene 1 does not align with script".

I have the most simple template setup with only one section/video/script. And I selected the option "Match your video clips to the length of your script."

I would expect that the video is generated based on the script text that I am sending via API and that it should automatically have the same length as the text/audio.

The reason I am using a template instead of a video is, that I need the video in 9:16 and I can't seem to get that with simple video creation.

What am I doing wrong?

Thanks a lot for any help or hint!

Oliver