Discussions

Ask a Question
Back to all

Using Avatar IV by API, gives Unsupported download url: s3://surreal-product/ error

So I am trying to use Avatar IV by api inside of an n8n automation. I first upload the picture to the upload asset API, then get the image_key returned from it and pass it to the https://api.heygen.com/v2/video/av4/generate endpoint along with an audio url. I dont give script or voice id as I am using audio. It processes the video for a bit but then throws this error: Unsupported download url: s3://surreal-product/image/8113b6ad0c604160ae79c2490b650e06/original. The image is indeed there in the url returned from the upload asset api, but the avatar IV endpoint requires the key, so i give it but it errors out.

Can someone please tell me whats the issue here. Thanks