Happy Horse 1.0 API
Complete API reference for Happy Horse 1.0 video generation models by Alibaba.
Model Variants
This API supports two model variants:
Quick Comparison
Supported Aspect Ratios for Text to Video
Happy Horse 1.0 Text to Video
Endpoint
POST /api/v1/video/task
Request Parameters
Required
Optional
Example Request
javascript
Happy Horse 1.0 Image to Video
Request Parameters
Required
Optional
Input Image Requirements
- Supported formats:
JPEG,JPG,PNG,BMP,WEBP - Supported aspect-ratio range: from
1:2.5to2.5:1 - Minimum dimension:
300px - No explicit upper resolution limit
- Output framing follows the uploaded image composition
Example Request
javascript
Response Format
Initial Response
json
Polling Response
Poll GET /api/v1/video/{taskId} to check status:
json
Status Values
submitted: Task accepted and waiting to be processedprocessing: Video generation in progresssucceed: Video generation completedfailed: Video generation failed
Processing Time
Typical processing time: 2-5 minutes depending on duration and queue load.
Best Practices
- Describe Motion Clearly: Add subject movement, camera movement, and scene progression to improve video dynamics.
- Use Short Iterations First: Start with 3-5 second generations to validate prompt direction before running longer clips.
- Choose the Right Input Image: For image-to-video, use a clear, well-lit image with a strong subject focus.
- Reuse Seeds for Variants: Keep the same
seedwhen testing prompt refinements to compare outputs more consistently. - Match Ratio to Delivery Channel: Use
16:9for landscape video,9:16for shorts and reels, and1:1for square placements.