Getting 404 “resource not found” when calling https://api.heygen.com/v2/template.generate. Template ID: f71bfd41838b429aa25126a68f5db800. Template has {{script}} variables set up for all scenes. API key works fine.
Already tried:
Switching from v3/video/generate to v2/template.generate endpoint
Adding {{script}} variables to all template scenes in HeyGen editor
JSON body I’m sending:
json{
“template_id”: “f71bfd…”,
“variables”: {
“script”: “my text here”
}
}
What’s the correct endpoint and JSON format to generate HeyGen videos from templates via API?