Using Audio Source as Voice
Use custom audio files as voice for your avatar videos.
To use an audio source as voice, first you need to set your voice type as audio and then provide either an audio_url or an audio_asset_id in the "Voice Settings" of the Create Avatar Video endpoint.
- Use an Existing Audio Asset from HeyGen: You can select an audio asset directly from HeyGen's library to integrate into your video.
Create Your Video
Now that your voice settings are in place, proceed with creating your video using the Create Avatar Video (V2). Make sure to provide either an audio_url or an audio_asset_id. Exactly one of these parameters must be provided. Omitting both, or defining both, will result in an error. These parameters can be obtained from the response of the Upload Asset API.
Updated 8 days ago
