prompt is optional (when omitted, the first frame drives free interpretation)aspect_ratio##All endpoints require Bearer Token authentication##
Get API Key:
Visit the API Key Management Page to obtain your API Key
Add to request header:
Authorization: Bearer YOUR_API_KEYVideo generation model name
happyhorse-1.0-image-to-video "happyhorse-1.0-image-to-video"
First-frame image URL, required (the first item of the array is taken as the first frame)
Image requirements:
300 px1:2.5 ~ 2.5:110MB1 element["https://cdn.example.com/cat.png"]Text prompt, optional (when omitted, the first frame drives free interpretation)
Length limits:
2500 characters5000 characters"Make the cat in the picture run on the grass"
Video resolution tier, defaults to 720p
Options:
720p: Standard clarity, this is the default1080p: HD clarityBilling note: Resolution tier directly affects billing
720p, 1080p "720p"
Video duration (seconds), defaults to 5 seconds
Range:
3 ~ 153 <= x <= 155
Random seed, default is random
Details:
1 ~ 21474836471 <= x <= 214748364742
HTTPS callback URL for task completion
Callback timing:
Security restrictions:
2048 charactersCallback mechanism:
10 seconds3 retries after failure (at 1/2/4 seconds after failure respectively)"https://your-domain.com/webhooks/video-task-completed"
Video generation task created successfully
Task creation timestamp
1761313744
Task ID
"task-unified-1761313744-h1i2vcd9"
Actual model name used
"happyhorse-1.0-image-to-video"
Specific type of the task
video.generation.task Task progress percentage (0-100)
0 <= x <= 1000
Task status
pending, processing, completed, failed, cancelled "pending"
Video task details
Output type of the task
text, image, audio, video "video"
Usage and billing information