seedinteger
Random seed for reproducible results. Set to -1 for random seed.
alibaba/happy-horse/image-to-videoAlibaba's #1-ranked Happy Horse 1.0 generates stunning 1080p videos with synchronized native audio and multilingual lip-sync, transforming text prompts or images into cinematic, true-to-life motion content for next-generation AIGC creation.
Try the model
PNG, JPEG, WebP, or GIF · 20 MiB maximum
Customize your input with more control.
What would you like to do next?
Select an example to load its inputs and result into the playground.
{
"duration": 3,
"image": "https://static.sandbase.ai/examples/7c2cda62-fedf-4b96-85d4-46f905309272/input/10329729-dbe9-455b-8a28-d97fb57cb0c5.png",
"prompt": "The black cat slowly looks up",
"resolution": "720p"
}Human preference
Elo ratings from blind side-by-side votes, compared with other image and video models.
Rankings sourced from Artificial Analysis Arena
Image-to-video arena (silent): people pick the better of two clips animated from the same image, without seeing the model names; audio is not judged.
Happy Horse 1.0 image-to-video: animate a picture over 3–15 seconds. prompt is optional; without it the model brings the scene to life on its own.
| Field | Type | Default | Notes |
|---|---|---|---|
image | image URL, required | — | First frame. JPEG, PNG, or WebP URL. |
prompt | string | Bring the scene in the image to life. | Optional direction for motion and camera. |
duration | 3–15 | 5 | Output length in seconds. |
resolution | 720p / 1080p | 720p | Sets the per-second rate. |
seed | integer | random | Fix it to compare prompt changes. |
You pay for output seconds: $0.14 at 720p and $0.24 at 1080p, Alibaba's list price.
| Output | 720p | 1080p |
|---|---|---|
| 3s | $0.42 | $0.72 |
| 5s (default) | $0.70 | $1.20 |
| 10s | $1.40 | $2.40 |
| 15s | $2.10 | $3.60 |
Failed runs are not charged.
Other Happy Horse endpoints: alibaba/happy-horse/text-to-video, alibaba/happy-horse/reference-to-video, alibaba/happy-horse/video-edit, alibaba/happy-horse/1.1/image-to-video (newer).
Start building
Submit this model through the SandBase Unified Run API.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "alibaba/happy-horse/image-to-video",
"image": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png",
"prompt": "Bring the scene in the image to life.",
"duration": 5,
"resolution": "720p"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Create a SandBase API key and set it in your server environment. All requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep the key on your server. Do not expose it in browser code or commit it to a repository.
POST to /v1/run with this model ID and its inputs. The request example above includes submission and polling.
Use the returned run ID to poll until the status is completed, failed or timeout. Read output only after completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Pass a publicly accessible file URL in the model’s image, video or audio field. Supported formats and limits are shown beside each Playground input.
Use the upload or replace control on supported image fields in the Playground. Video URL fields accept a hosted driving video; they do not imply video-upload support.
seedintegerRandom seed for reproducible results. Set to -1 for random seed.
imagestringrequiredThe URL of the source image to animate into a video.
promptstringOptional text prompt to guide the video generation.
Default: "Bring the scene in the image to life."
durationintegerThe duration of the generated video in seconds.
Default: 5
Possible values: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
resolutionstringThe resolution of the video to generate.
Default: "720p"
Possible values: "720p", "1080p"
{
"model": "alibaba/happy-horse/image-to-video",
"image": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png",
"prompt": "Bring the scene in the image to life.",
"duration": 5,
"resolution": "720p"
}A completed run exposes its result in output. The following is the model’s saved example, not a new generation.
[
{
"poster": "https://static.sandbase.ai/examples/posters/8bfe0ce48e7bfcdbd1e3.jpg",
"source": "Self organization completed prediction",
"source_url": "https://www.sandbase.ai",
"url": "https://static.sandbase.ai/examples/7c2cda62-fedf-4b96-85d4-46f905309272/output/a1e80424-3e01-4e8e-8175-0cac7651d468.mp4"
}
]