Assets
Create a HeyGen asset upload (for auto-mode file_asset_ids)
Returns a presigned upload_url + asset_id. PUT your file bytes to upload_url with the returned upload_headers, then call POST /v1/assets/{id}/complete. Use asset_id as an auto-mode file_asset_ids entry, an avatar asset_id, or a brand logo_asset_id.
post/v1/assets
Request
- Base URLhttps://api.vivideo.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"filename": "reference.png",
"content_type": "image/png",
"size_bytes": 20480
}Response
Asset upload created.
Example response
{
"id": "as_1a2b3c4d",
"object": "asset"
}Changes
No recorded changes to this operation across all 1 revision of this API.