Happy Horse Reference to Video
alibaba/happy-horse/reference-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.
- Base price
- $0.70USD / run
- Execution
- async
- Model type
- video
- Input fields
- 6
Try the model
Playground
PNG, JPEG, WebP, or GIF · 20 MiB maximum each
Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.70 / run
Context & modalities
- Input
- Schema-defined
- Output
- video
Capabilities
- Chat
- Not supported
- Vision
- Not supported
- Reasoning
- Not supported
- Structured output
- Not supported
- Function calling
- Not supported
- Audio input
- Not supported
Access
- Provider
- Alibaba
- Model ID
- alibaba/happy-horse/reference-to-video
- Execution
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API README
Happy Horse Reference to Video
Happy Horse 1.0 reference-to-video: place subjects from reference images into a new scene described by the prompt.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
images | image URL[], required | — | Reference images, Image 1, Image 2, … |
prompt | string, required | — | Up to 50,000 characters. |
duration | 3–15 | 5 | Output length in seconds. |
aspect_ratio | 16:9 / 9:16 / 1:1 / 4:3 / 3:4 | 16:9 | Output frame shape. |
resolution | 720p / 1080p | 720p | Sets the per-second rate. |
seed | integer | random | Fix it to compare prompt changes. |
Billing
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.
Prompting
- Refer to each reference by number and give it a role.
Limits
- 720p and 1080p only.
Also on SandBase
Other Happy Horse endpoints: alibaba/happy-horse/text-to-video, alibaba/happy-horse/image-to-video, alibaba/happy-horse/video-edit, alibaba/happy-horse/1.1/reference-to-video (newer).
Start building
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
# 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/reference-to-video",
"images": [
"https://help-static-aliyun-doc.aliyuncs.com/assets/img/zh-CN/9000146771/p1067182.webp",
"https://help-static-aliyun-doc.aliyuncs.com/assets/img/zh-CN/9000146771/p1067183.webp"
],
"prompt": "In the early morning, just as the sun begins to rise, a small pumpkin sits in the pumpkin patch with dewdrops glistening on its surface. Suddenly, with a crisp crack, a fissure appears on the little pumpkin, and golden light shines through the crack. The pumpkin splits open along with the golden glow, releasing a puff of white mist, and a little rabbit appears in the center of the cracked pumpkin.",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9"
}
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"Choose your model
Compare models
| Model | Type | Default price | Released |
|---|---|---|---|
Happy Horse Reference to VideoThis model Alibaba | Video | $0.70 / run | Apr 27, 2026 |
Alibaba | Video | $1.40 / run | Oct 4, 2026 |
Alibaba | Video | $2.80 / run | Oct 4, 2026 |
Alibaba | Video | $1.00 / run | Oct 4, 2026 |
Alibaba | Video | $2.00 / run | Oct 4, 2026 |
Alibaba | Video | $0.70 / run | Aug 24, 2026 |
Questions
FAQ
How do I call Alibaba Happy Horse Reference to Video through SandBase?
Create a SandBase API key, then send requests with the model ID "alibaba/happy-horse/reference-to-video" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.
Do I need a separate Alibaba account?
No. One SandBase API key and balance gives you access to Alibaba Happy Horse Reference to Video and the other models in the catalog; you do not need to sign up with Alibaba separately.
