Discussions
How can I obtain the `voice_id` in the user case `Create a video with your own photo`?
over 1 year ago by null
curl -XPOST <https://api.heygen.com/v1/video.generate> -H 'x-api-key:<your api key>' -H 'Content-Type: application/json'
-d '{
"background": "#ffffff",
"clips": [
{
"talking_photo_id": "<your talking photo id>",
"input_text": "Welcome to HeyGen API",
"scale": 1,
"voice_id": "1bd001e7e50f421d891986aad5158bc8"
}
],
"ratio": "16:9",
"test": true,
"version": "v1alpha"
}'
This is the request example but I don't know how to obtain the voice_id
.
Is there a matched API for getting the voice_id
?