Skip to main content

HeyGen Video - Image to Video

Animate a first frame into video with HeyGen Video. The output aspect ratio follows the image, so there is no ratio field.

Endpoint​

Request Headers​

FieldValue
API-KEY<api-key>
Content-Typeapplication/json

Request Parameters​

Field NameTypeExampleDescriptionRequired
typestringIMAGE_TO_VIDEOFeature identifier✔️
modelstringheygen/heygen-video-1AI model to use✔️
conversationIdstringIMAGE_TO_VIDEOConversation context✔️
promptObject.imageUrlstringimages/first.pngS3 object key (not a public URL) returned by the Asset API — upload the file first, then pass the returned path. The first frame to animate✔️
promptObject.promptstringThe cat rides the wave toward the cameraText description guiding the animation. 1-32000 characters✔️
promptObject.resolutionstring768pOutput resolution: 480p, 768p or 2K✔️
promptObject.durationnumber5Video duration in seconds, an integer from 5 to 15✔️
promptObject.seednumber12345Random seed for reproducible generation. Integer from 0 to 4294967295❌
promptObject.prompt_enhancementstringqualityHow the prompt is expanded before generation: turbo (fastest), quality (default, balanced) or disabled (prompt sent exactly as written). Sent to the provider as prompt_enhancement❌

Code Examples​

curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "IMAGE_TO_VIDEO",
"model": "heygen/heygen-video-1",
"conversationId": "IMAGE_TO_VIDEO",
"promptObject": {
"imageUrl": "images/first.png",
"prompt": "The cat rides the wave toward the camera",
"resolution": "768p",
"duration": 5
}
}'

Response​

{
"aiRecord": {
"model": "heygen/heygen-video-1",
"type": "IMAGE_TO_VIDEO",
"metadata": {
"credit": 540000,
"usage": {
"cost": 0.18
}
},
"status": "SUCCESS",
"aiRecordDetail": {
"resultObject": [
"development/videos/2026_10_24_10_00_00_000_000000.mp4"
]
}
}
}