Happy Horse Reference to Video

alibaba/happy-horse/reference-to-video

Alibaba'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
Production route

Try the model

Playground

Open playground
Input

PNG, JPEG, WebP, or GIF · 20 MiB maximum each

The URLs of the images to use for image-to-image generation or image editing.
The text prompt to generate a video from, guided by the reference image.
The duration of the generated video in seconds. Allowed values: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15.
The aspect ratio of the generated video. Allowed values: 16:9, 9:16, 1:1, 4:3, 3:4.
The resolution of the video to generate. Allowed values: 720p, 1080p.
Random seed for reproducible results. Set to -1 for random seed.
OutputExample

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

FieldTypeDefaultNotes
imagesimage URL[], required—Reference images, Image 1, Image 2, …
promptstring, required—Up to 50,000 characters.
duration3–155Output length in seconds.
aspect_ratio16:9 / 9:16 / 1:1 / 4:3 / 3:416:9Output frame shape.
resolution720p / 1080p720pSets the per-second rate.
seedintegerrandomFix it to compare prompt changes.

Billing

You pay for output seconds: $0.14 at 720p and $0.24 at 1080p, Alibaba's list price.

Output720p1080p
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.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
alibaba/happy-horse/reference-to-video
# 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

All image & video models
ModelTypeDefault priceReleased
AlibabaVideo$0.70 / runApr 27, 2026
AlibabaVideo$1.40 / runOct 4, 2026
AlibabaVideo$2.80 / runOct 4, 2026
AlibabaVideo$1.00 / runOct 4, 2026
AlibabaVideo$2.00 / runOct 4, 2026
AlibabaVideo$0.70 / runAug 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.