Assets
Upload Asset
Uploads a media file (image, video, or audio) to the authenticated user's HeyGen account and returns the asset ID for future use.
post/v1/asset
Request
- Base URLhttps://upload.heygen.com
- URLhttps://upload.heygen.com/v1/asset
- AuthAPI key in header X-API-KEY
Headers
Content-Type'image/png' | 'image/jpeg' | 'video/mp4' | 'video/webm' | 'audio/mpeg' required
MIME type of the file to upload.
Request body application/octet-stream
string binary required
Raw binary file contents.
Response
Asset uploaded successfully.
Example response
{
"code": 100
}Changes
No recorded changes to this operation across all 1 revision of this API.