SandBase is live — $1 in free credits on signupStart free ›

Alibaba modelsvideo generation api

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

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

Example output — click Run to generate your own

API README

Happy Horse Reference to Video

Happy Horse Reference to Video uses supplied images and a written prompt to create a new motion sequence around established visual references. Alibaba describes the Happy Horse family with cinematic, true-to-life motion, synchronized native audio, and multilingual lip-sync.

Clips can run from three to fifteen seconds across five aspect ratios, with either 720p or 1080p delivery. A seed supplies a repeatable starting point for comparing prompt, timing, and framing variations.

Highlights

Reference-led continuity. Multiple source images can establish the people, objects, or visual language that the generated video should follow.

Prompted action and staging. A required written direction describes what should happen around those visual references.

Native audiovisual output. The family description includes synchronized sound and multilingual lip-sync together with 1080p video capability.

Flexible placement choices. Thirteen durations, five frame shapes, and two resolution tiers cover a broad range of short-form deliveries.

Pricing

Duration720p1080p
3 seconds$0.420$0.840
4 seconds$0.560$1.120
5 seconds$0.700$1.400
6 seconds$0.840$1.680
7 seconds$0.980$1.960
8 seconds$1.120$2.240
9 seconds$1.260$2.520
10 seconds$1.400$2.800
11 seconds$1.540$3.080
12 seconds$1.680$3.360
13 seconds$1.820$3.640
14 seconds$1.960$3.920
15 seconds$2.100$4.200

When to Use

✅ Good fit❌ Consider alternatives
The model's named workflow matches the source material and intended outputA different input modality or model route is required
A managed asynchronous result is suitable for the production pipelineA synchronous, interactive editor is essential
The documented controls cover the required duration, framing, or formatThe project needs controls outside this endpoint's schema
Creative iteration benefits from a repeatable request structureExact deterministic pixels, frames, geometry, or samples are mandatory
A finished downloadable media asset is the desired deliverableEditable source layers or a native project file are required

Prompt Guide

For generation, state the intended result first, then add the subject or source treatment, progression, style, and delivery constraints. Keep one creative variable per phrase, use the documented field names for controls, and change one setting at a time when comparing results.

{
  "aspect_ratio": "16:9",
  "duration": 5,
  "images": [
    "https://help-static-aliyun-doc.aliyuncs.com/assets/img/zh-CN/9000146771/p1067182.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.",
  "resolution": "720p"
}

Technical Specs

SpecValue
Model IDalibaba/happy-horse/reference-to-video
Inputsaspect_ratio, duration, images, prompt, resolution, seed
Required inputsimages, prompt
Output fieldscontent_type, url
ExecutionAsync (submit, then poll for result)
Duration3 / 4 / 5 / 6 / 7 / 8 / 9 / 10 / 11 / 12 / 13 / 14 / 15
Resolution720p / 1080p
Aspect Ratio16:9 / 9:16 / 1:1 / 4:3 / 3:4

Related Models

Related Models

alibaba/happy-horse/1.1/image-to-videoHappy Horse 1.1 by Alibaba - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.alibaba/happy-horse/1.1/reference-to-videoHappy Horse 1.1 by Alibaba - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.alibaba/happy-horse/1.1/text-to-videoHappy Horse 1.1 is Alibaba's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.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.alibaba/happy-horse/text-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.alibaba/happy-horse/video-editHappy Horse Video Edit by Alibaba - AI-powered video editing and transformation. Apply style transfer, motion control, lip-sync, and visual effects to existing videos with natural language instructions.alibaba/flashvsrFlashVSR is a video super-resolution model that upscales videos to higher resolutions (720p / 1080p / 2K / 4K) with fast inference.alibaba/wan-animateWan-Animate generates an animated video from an input image and a driving video, transferring motion onto the image subject.