Runflow
Back to Gallery

alibaba/happy-horse/image-to-video

Alibaba's #1-ranked Happy Horse 1.0 — generate 1080p video with synchronized native audio and multilingual lip-sync from text prompts or images.

$0.14/second 2026-04-28

Install

pip install requests

Run the model

import requests

response = requests.post(
    "https://api.runflow.io/v1/run/happy-horse/image-to-video",
    headers={"Authorization": "Bearer RUNFLOW_API_KEY"},
    json={
    "prompt": "She smiles warmly and looks toward the camera, gentle breeze in her hair",
    "duration": 5,
    "image_url": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=1024&q=80",
    "resolution": "720p"
    },
)

data = response.json()
print(data["video"]["url"])

Input schema

ParameterTypeDescription
image_urlimageURL of the first frame image. Formats: JPEG, JPG, PNG, BMP, WEBP. Dimensions must be at least 300px. Aspect ratio must be between 1:2.5 and 2.5:1. Max 10 MB.
durationintegerOutput video duration in seconds (3-15).
promptstringOptional text prompt guiding the animation. Max 2500 characters.
enable_safety_checkerbooleanEnable content moderation for input and output.
resolutionstringOutput video resolution tier.
seedintegerRandom seed for reproducibility (0-2147483647).

Output schema

FieldTypeDescription
outputsjsonUnified output array — one entry per generated artifact with url/type/width/height/duration/etc.
seedjsonDeterministic seed used for generation, or null if the provider doesn't return one.
timingjsonProvider timing info (inference_ms etc.), or null.
nsfw_detectedjsontrue if the provider flagged output as NSFW, false if cleared, null if not checked.

Related models

Start generating with Happy Horse Image-to-Video

Get API access in minutes. No GPU setup, no infrastructure to manage.