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

Alibaba modelsvideo generation api

alibaba/happy-horse/text-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
The text prompt to generate a video from.
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 Text to Video

Happy Horse Text to Video builds a motion sequence directly from a written scene description. Its family description emphasizes cinematic, true-to-life movement together with synchronized native audio and multilingual lip-sync.

The request offers three-to-fifteen-second duration, five aspect ratios, and 720p or 1080p resolution. Seed control supports repeatable reruns while a team refines the prompt or compares framing choices.

Highlights

Scenes begin with language. The required prompt can describe composition, camera movement, subject action, lighting, and pacing.

Picture and sound are generated together. Happy Horse is documented with synchronized native audio rather than video alone.

Multilingual lip-sync. The family explicitly includes lip synchronization across languages for speech-oriented scenes.

One brief, several placements. Five ratios, thirteen durations, and two resolution tiers adapt a concept for different screens.

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 scene should be created entirely from written directionA source image must anchor the opening frame
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,
  "prompt": "Shot 3 (over the shoulder, 3.5-5s): The camera glides slowly over his shoulder down onto the open book, his thumb gently turning a single page, soft window light falling across the paper, shallow depth of field on his hand.",
  "resolution": "720p"
}

Technical Specs

SpecValue
Model IDalibaba/happy-horse/text-to-video
Inputsaspect_ratio, duration, prompt, resolution, seed
Required inputsprompt
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/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.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.