Discussions

Ask a Question
Back to All

How to get uploaded assets link for generate from template

Hi, i am trying to replace my audio source and avatar from a template, but it seems like it doesn't accept assets_id i get from https://upload.heygen.com/v1/asset, i still can't find any method to get url from an uploaded assets,

Does it mean that i need to upload my asset to Azure or AWS to get an URL provide to Heygen?

Is there anyway i can replace an audio using assets_id?

{
"template_id": "86ec37a4b134461b8bd0cc4abf949d0d",
"title": "测试替换",
"variables": [
{
"properties": {
"id":"2249f44b97fc412ba000eee7b0c6b983",
"audio":"8ebe0a867c1346b88a7a156895303062"
},
"name": "photar_0"
}
],
"test": true
}