Alibaba's #1-ranked Happy Horse 1.0 — generate 1080p video with synchronized native audio and multilingual lip-sync from text prompts or images.
Install
pip install requestsRun the model
import requests
response = requests.post(
"https://api.runflow.io/v1/run/happy-horse/image-to-video",
headers={"Authorization": "Bearer RUNFLOW_API_KEY"},
json={
"prompt": "She smiles warmly and looks toward the camera, gentle breeze in her hair",
"duration": 5,
"image_url": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=1024&q=80",
"resolution": "720p"
},
)
data = response.json()
print(data["video"]["url"])Input schema
| Parameter | Type | Description |
|---|---|---|
| image_url | image | URL of the first frame image. Formats: JPEG, JPG, PNG, BMP, WEBP. Dimensions must be at least 300px. Aspect ratio must be between 1:2.5 and 2.5:1. Max 10 MB. |
| duration | integer | Output video duration in seconds (3-15). |
| prompt | string | Optional text prompt guiding the animation. Max 2500 characters. |
| enable_safety_checker | boolean | Enable content moderation for input and output. |
| resolution | string | Output video resolution tier. |
| seed | integer | Random seed for reproducibility (0-2147483647). |
Output schema
| Field | Type | Description |
|---|---|---|
| outputs | json | Unified output array — one entry per generated artifact with url/type/width/height/duration/etc. |
| seed | json | Deterministic seed used for generation, or null if the provider doesn't return one. |
| timing | json | Provider timing info (inference_ms etc.), or null. |
| nsfw_detected | json | true if the provider flagged output as NSFW, false if cleared, null if not checked. |
Related models
Happy Horse Text-to-Video
alibaba/happy-horse/text-to-video
Generate 1080p video with synchronized native audio from a text prompt. Aspect r...
Happy Horse Video Edit
alibaba/happy-horse/video-edit
HappyHorse video editing supports advanced video editing through natural languag...
Happy Horse Reference-to-Video
alibaba/happy-horse/reference-to-video
Generate 1080p video with synchronized native audio from a text prompt and refer...
Wan 2.7 — Image to Video
alibaba/wan/v2.7/image-to-video
Wan 2.7 delivers enhanced motion smoothness, superior scene fidelity, and greate...
Start generating with Happy Horse Image-to-Video
Get API access in minutes. No GPU setup, no infrastructure to manage.