Alibaba Happyhorse 1.0 Image To Video
Playground
Try it on WavespeedAI!Alibaba Happy Horse 1.0 (Image-to-Video) animates a reference image into a cinematic 720p / 1080p video, optionally guided by a text prompt. Smooth camera movement and expressive, stable motion. Ready-to-use REST API, best performance, no coldstarts, affordable pricing.
Features
Alibaba Happy Horse 1.0 Image-to-Video
Happy Horse 1.0 Image-to-Video animates a reference image into a cinematic 720p / 1080p video, with optional text guidance for the motion. Strong subject preservation, smooth camera movement, and expressive motion.
Key Features
- Image-faithful generation — Preserves the reference image’s subject, composition, and style while adding motion.
- Optional prompt guidance — Direct the camera, mood, and action in plain language.
- Cinematic motion — Smooth, expressive movement and stable subjects.
- Production-ready API — REST inference, no cold starts.
Parameters
| Parameter | Required | Description |
|---|---|---|
| image | Yes | First-frame image URL. JPEG / PNG / BMP / WEBP. Min dimension 300 px. Aspect ratio 1:2.5 to 2.5:1. Max 10 MB. |
| prompt | No | Optional text prompt guiding the animation (max 2500 characters). |
| resolution | No | 720p (default) or 1080p. |
| duration | No | Video length in seconds (3-15, default 5). |
| seed | No | Random seed for reproducibility (0-2147483647). |
Pricing
| Resolution | Per second |
|---|---|
| 720p | $0.14 |
| 1080p | $0.28 |
Examples (5s):
| Resolution | Cost |
|---|---|
| 720p | $0.70 |
| 1080p | $1.40 |
Examples (10s):
| Resolution | Cost |
|---|---|
| 720p | $1.40 |
| 1080p | $2.80 |
Notes
- Pricing scales linearly with
duration(3-15 s). - 1080p is 2× the 720p rate.
- Aspect ratio of the output video matches the reference image automatically.
Related Models
- Alibaba Happy Horse 1.0 Text-to-Video — Generate video directly from text.
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/alibaba/happyhorse-1.0/image-to-video" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
"resolution": "720p",
"duration": 5
}'
# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"
Parameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| image | string | Yes | - | URL of the first-frame image. JPEG / PNG / BMP / WEBP. Min dimension 300px. Aspect ratio between 1:2.5 and 2.5:1. Max 10 MB. | |
| prompt | string | Yes | - | Optional text prompt guiding the animation. Max 2500 characters. | |
| resolution | string | No | 720p | 720p, 1080p | Output video resolution. |
| duration | integer | No | 5 | 3 ~ 15 | Video length in seconds (3-15). |
| seed | integer | No | - | -1 ~ 2147483647 | Random seed for reproducibility. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Array of URLs to the generated content (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.has_nsfw_contents | array | Array of boolean values indicating NSFW detection for each output |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction, the ID of the prediction to get |
| data.model | string | Model ID used for the prediction |
| data.outputs | object | Array of URLs to the generated content (empty when status is not completed). |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |