Discussions

Ask a Question
Back to all

Dynamic Voice Speed Control in Template API

(edited)

Dear HeyGen Support Team,

I'm currently working with the HeyGen API to generate videos from templates, and I have a question regarding voice speed configuration.

Based on the current documentation, it appears that voice speed parameters (such as speed) must be configured directly within the template through the web dashboard, and these settings are then applied to all videos generated from that template.

My question is: Is there any alternative method to dynamically control the voice speed parameter when generating videos from a single template via the API? For example:

A parameter that can be passed in the API request variables

Script commands or SSML-like tags that can be embedded in the text

Any other programmatic approach to modify voice speed per generation

Currently, the only solution I'm aware of would be to create multiple template versions—each with different speed settings—which would be less efficient for our workflow.

If there's any existing feature, workaround, or planned functionality that could address this use case, I would greatly appreciate your guidance.

Thank you for your time and assistance.