All models

HappyHorse 1.1 R2V

alibaba/hh1.1-r2v
Alibaba Image-to-VideoReference-to-VideoVideo Generation

Alibaba's HappyHorse 1.1 reference-to-video model. Takes 1-9 reference images (characters and scenes) and a prompt that choreographs them into a single video, keeping each subject's identity consistent. Supports 720P and 1080P output with durations from 3 to 15 seconds.

Quick start

# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
  -H "content-type: application/json" \
  -d '{
    "model": "alibaba/hh1.1-r2v",
    "prompt": "<your prompt>",
    "images": ["https://example.com/input.jpg"]
  }'

# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
  -J '{"model": "alibaba/hh1.1-r2v", "prompt": "<your prompt>", "images": ["https://example.com/input.jpg"]}'

Examples

Parameters

Input
images array required

Reference images that the prompt choreographs into one video (public URLs).

prompt string required

Text prompt describing what to generate.

duration integer optional

Length of the output in seconds.

ratio string optional

Output aspect ratio.

resolution string optional

Output resolution / quality tier.

seed integer optional

Random seed for reproducible generation.

watermark boolean optional

Add a watermark to the output video.

Output
video: string