H3 Video
H3 Frames to Video
Changed onGenerate H3 / H3 Max video from a start image (required) and an optional end image, guided by a text prompt. Returns immediately with 202 Accepted.
The output aspect ratio follows the start image and the task shows aspect_ratio: "Auto". Leave aspect_ratio out: it is not used, but if sent it must still be one of 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 — any other value, including Auto, returns 400.
Example
curl -X POST https://genaipro.io/api/v2/hailuo/frames-to-video \
-H "Authorization: Bearer YOUR_TOKEN" \
-F "start_image=@first.jpg" \
-F "end_image=@last.jpg" \
-F "prompt=The camera slowly pushes in as the sun sets" \
-F "model=h3_max" \
-F "resolution=768p" \
-F "duration=6" \
-F "number_of_videos=1"
Rate limit: 30 requests/minute — shared across all /v2/hailuo creation endpoints.
post/v2/hailuo/frames-to-video
Request
- Base URLhttps://genaipro.io/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Example request
{
"prompt": "The camera slowly pushes in as the sun sets",
"model": "h3_max",
"duration": "6",
"callback_url": "https://your-server.example.com/genaipro-webhook"
}Response
Task accepted for processing
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"prompt": "A drone flying over mountains at sunrise",
"file_urls": [],
"task_type": "text_to_video",
"aspect_ratio": "16:9",
"model": "h3_768p_10s",
"number_of_outputs": 1
}Changes
- info
endpoint added
- info