Upload a file (image, video, audio, or PDF) to get an asset_id for use in other endpoints like POST /v3/video-agents. Uses multipart/form-data with a ‘file’ field. Max 32 MB. MIME type is auto-detected from file bytes. Supported types: image (png, jpeg), video (mp4, webm), audio (mp3, wav), and pdf.
HeyGen API key. Obtain from your HeyGen dashboard.
File to upload (image, video, audio, or PDF). Max 32 MB.
Successful response
Response from uploading an asset via POST /v3/assets.