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

Alibaba modelsvideo generation api

alibaba/happy-horse/image-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

The URL of the source image to animate into a video.
Optional text prompt to guide the video generation.
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 Image to Video

Happy Horse Image to Video is a image-to-video workflow for turning supplied visual material and written direction into a new moving sequence. The source image establishes the subject, framing, and visual identity before the model introduces motion.

Use the route for rapid creative iteration when a key asset already exists and the goal is to extend, animate, or revise it. Describe subject action, camera behavior, timing, atmosphere, and the intended ending; local duration, resolution, aspect-ratio, and seed controls define the delivery envelope.

Highlights

  • Still-to-motion creation. Animates an established image while retaining its visual foundation.
  • Directed subject movement. Uses the prompt to define action, pace, staging, and interaction within the shot.
  • Camera and atmosphere control. Lets the brief specify framing, camera movement, lighting, mood, and scene energy.
  • Production-oriented delivery. Supports explicit duration, resolution, framing, and repeatability controls where exposed by the route.

Pricing

ConfigurationBilling unitPrice
3 seconds720p$0.42
3 seconds1080p$0.84
4 seconds720p$0.56
4 seconds1080p$1.12
5 seconds720p$0.70
5 seconds1080p$1.40
6 seconds720p$0.84
6 seconds1080p$1.68
7 seconds720p$0.98
7 seconds1080p$1.96
8 seconds720p$1.12
8 seconds1080p$2.24
9 seconds720p$1.26
9 seconds1080p$2.52
10 seconds720p$1.40
10 seconds1080p$2.80
11 seconds720p$1.54
11 seconds1080p$3.08
12 seconds720p$1.68
12 seconds1080p$3.36
13 seconds720p$1.82
13 seconds1080p$3.64
14 seconds720p$1.96
14 seconds1080p$3.92
15 seconds720p$2.10
15 seconds1080p$4.20

When to Use

✅ Good fit❌ Consider alternatives
The project needs creating a directed video sequenceThe goal is a different media task or endpoint
The available inputs match the required local schemaRequired source media or permissions are unavailable
The brief can specify subject, composition, style, and deliveryThe result must be deterministic at pixel or sample level
The supported formats and controls match final placementDelivery requires unsupported dimensions, codecs, or duration
An asynchronous generated result fits the workflowA live, frame-synchronous, or real-time response is mandatory

Prompt Guide

Write the request as a production brief: identify the main subject or source material, state the intended transformation, describe composition or timing, and finish with style, atmosphere, and delivery constraints. Keep preservation requirements separate from requested changes, and use only fields exposed by this route.

{
  "image": "https://example.com/reference.jpg",
  "seed": 1,
  "prompt": "Bring the scene in the image to life.",
  "duration": 3
}

Technical Specs

SpecValue
Model IDalibaba/happy-horse/image-to-video
Input fieldsseed (integer)<br>image (string)<br>prompt (string)<br>duration (integer; 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)<br>resolution (string; 720p, 1080p)<br>aspect_ratio (string; 16:9, 9:16, 1:1, 4:3, 3:4)
Required inputimage
Output fieldsurl, content_type
ExecutionAsynchronous job

Related Models

  • alibaba/qwen-image-3/edit
  • alibaba/happy-horse/video-edit
  • alibaba/wan/2.2/image-to-video/turbo

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