Skip to main content

Overview

HappyHorse (快马) is Alibaba’s video generation model series, focused on high-fidelity dynamic video generation — it precisely understands text semantics and outputs smooth, natural, detail-rich, high-quality videos that keep subjects stable. APIYI connects directly through the DashScope passthrough channel, so a single APIYI Key lets you call every HappyHorse capability. The current flagship version, HappyHorse-1.1 (Video Edit remains 1.0), covers four core use cases:
🐎 Key highlight: All four capabilities share the same async endpoint and the same request structure — switching use cases only changes the model field. HappyHorse leans toward “high-fidelity dynamic video”; Reference-to-Video supports up to 9 reference images and Video Edit supports up to 5 reference images, with strong subject consistency. It shares the same endpoint as the Wan series and is directly interchangeable.

Text-to-Video API

happyhorse-1.1-t2v, generate video from a pure text prompt.

Image-to-Video API

happyhorse-1.1-i2v, generate video from a first-frame image (no audio-driven).

Reference-to-Video API

happyhorse-1.1-r2v, up to 9 reference images to preserve the subject.

Video Edit API

happyhorse-1.0-video-edit, edit video with up to 5 reference images.

Why Choose APIYI for HappyHorse

One Key for all capabilities

No Alibaba Cloud sign-up, no region configuration. A single APIYI Key calls all four HappyHorse capabilities plus the Wan series.

Direct access, no VPN needed

Connect directly to api.apiyi.com, accessible from domestic data centers and home broadband.

No charge on failure

Tasks that enter the failed state (unreachable media URL, sensitive prompt, etc.) are not billed, so retry with confidence.

DashScope protocol passthrough

Shares the same endpoint and schema as the Wan series; existing Wan code can call HappyHorse just by changing the model name.

Core Features

Four-in-one async endpoint

t2v / i2v / r2v / video-edit share POST /wan/api/v1/...video-synthesis; after submission it returns a task_id, then you poll and download.

High-fidelity subject preservation

The model leans toward a “high-fidelity dynamic video” style, keeping people/objects more stable throughout motion.

Up to 9 reference images

happyhorse-1.1-r2v officially supports up to 9 reference_image entries, giving stronger subject consistency in multi-reference scenarios.

Multiple resolutions and durations

720P / 1080P resolutions, integer durations of 2–15 seconds, and prompt_extend smart rewriting to improve the quality of short prompts.

Supported Models

⚠️ Endpoint Selection (Most Important)

APIYI mounts two paths simultaneously, and only the DashScope passthrough endpoint is fully usable for all HappyHorse capabilities:
HappyHorse and Wan share the same passthrough endpoint. If you see any doc/example submitting a video task via /v1/videos, ignore it. All create requests go through /wan/api/v1/...video-synthesis, and all queries go through /v1/tasks/{task_id}.

Async Call Flow

The whole flow is asynchronous, in three steps: create task → poll status → download video.
1

Create task

POST /wan/api/v1/services/aigc/video-generation/video-synthesis, with the request header X-DashScope-Async: enable. It immediately returns a task_id.
2

Poll status

GET /v1/tasks/{task_id} (with Authorization), querying every 5–10 seconds (not less than 3 seconds), until status becomes completed.
3

Download video

GET the mp4 directly from the result_url in the response, without the Authorization header (it’s a signed OSS direct link; including Auth will cause a 403).

Task Status Reference

Complete Python Client

Key Parameters Explained

When submitting, the body uses the DashScope nested structure: { model, input: { prompt, media[] }, parameters: {...} }.

media[] Types

HappyHorse’s i2v does not support driving_audio (audio-driven is a capability exclusive to Wan2.7-i2v). For lip-sync / rap, use Wan2.7.

parameters Fields

duration must be an integer 5, not the string "5"; writing resolution in uppercase 720P is more reliable.

How to Choose HappyHorse vs. Wan

HappyHorse and Wan are both Alibaba video models that share the same endpoint and schema (interchangeable by just changing the model name), but they emphasize different things:
Need multiple reference images to keep the subject consistent → choose happyhorse-1.1-r2v (up to 9). Need lip-sync / rap / digital-human voiceover → choose Wan2.7-i2v (the only one that supports audio-driven).

Best Practices

1

Iterate first at 720P / 5 seconds

During development, use low-resolution short videos to quickly validate prompts and reference images, then scale up resolution and duration once finalized.
2

Always enable prompt_extend

prompt_extend: true noticeably improves quality for short prompts.
3

Poll every 5-10 seconds

Do not go below 3 seconds (you’ll be rate-limited). Each HappyHorse capability at 720P / 5 seconds typically takes 105–115 seconds.
4

Set a 20-minute client timeout as a safety net

1080P or long videos are significantly slower; set a 20-minute fallback timeout on the polling loop.
5

Download immediately once you get result_url

result_url expires in 24 hours by default, and it is a signed OSS direct link — do not include the Authorization header when downloading.

Error Codes and Retries

Recommended client behavior: use exponential backoff retries for HTTP 5xx / network errors; surface HTTP 4xx immediately without retrying; a failed task with [InvalidImageUrl] is retryable, while [InvalidParameter] / sensitive-word failures are not.

FAQ

No. They share the same DashScope passthrough endpoint, the same request structure, the same set of media type names, and the same query endpoint. Switching only changes the model field (e.g., wan2.7-t2vhappyhorse-1.1-t2v); the rest of the body stays identical.
happyhorse-1.1-i2v does not support the driving_audio (audio-driven) field; i2v only accepts first_frame. For lip-sync / rap / digital-human voiceover, use Wan2.7-i2v.
Yes. Officially it supports up to 9 reference_image entries — just put them in the media array. More reference images give stronger consistency for the subject / clothing / scene.
/v1/videos has incomplete support for the media field of i2v / r2v, causing the upstream to report [InvalidParameter] Field required: input.media. All create requests go through /wan/api/v1/services/aigc/video-generation/video-synthesis, and queries go through /v1/tasks/{task_id}.
Remove the Authorization header. result_url is already a signed OSS direct link; adding your APIYI Key gets it rejected by OSS instead. result_url expires in 24 hours by default, so download it promptly.
status=failed is not billed. But resubmitting the same task bills again, so handle idempotency.

Group Setup

The HappyHorse and Wan series share a single Wan&HappyHorse group — one Token can call both series. Video models are billed per second, so the Token must meet two conditions to route successfully:
  1. Billing model: choose Pay-as-you-go Priority or Pay-as-you-go — video is billed per second, so Pay-per-request Tokens cannot route
  2. Group: select a group that includes Wan&HappyHorse
Create Token dialog: billing model set to Pay-as-you-go Priority, group dropdown showing Wan&HappyHorse (rate 0.14x), one Token usable for both Wan2.7 and HappyHorse

Create Token: set billing model to Pay-as-you-go Priority and group to Wan&HappyHorse (0.14x) to call every Wan2.7 and HappyHorse video model (the screenshot shows the group's former name Wan, since renamed to Wan&HappyHorse)

Pricing

Default price = 98% of Alibaba’s official price (simple to reason about)

HappyHorse model prices are built into the APIYI system — no manual configuration needed; the group discount applies automatically. In the console the Wan&HappyHorse group shows a rate of 0.14x, which is denominated in the built-in RMB pricing unit. Because APIYI bills in USD at a fixed 1:7 exchange rate, the effective conversion is:
In other words, the default price = 98% of Alibaba’s official price — cheaper than buying direct from Alibaba, with no overseas link to build yourself.
Conversion: USD price per second = official RMB price × 0.14 (i.e. × 0.98 ÷ 7).

Price detail (default price, billed per second)

HappyHorse-1.1 text-to-video / image-to-video / reference-to-video are priced the same, with two tiers — 720P / 1080P (480P is not supported):
  • happyhorse-1.0-video-edit output duration follows the source video and is billed by actual output seconds, not by duration.
  • Prices shown are the default (98% of official); with the maximum top-up bonus, the effective price is roughly the table value ÷ 1.2 (e.g. 1080P 5 s $1.12 → about $0.93).

Stack top-up bonuses for an even lower effective price

After joining the top-up bonus program, credited balance can be boosted up to ~1.2x, pushing the effective price lower still:
So large customers can reach as low as ~81% of the official price (0.98 ÷ 1.2 ≈ 0.816).
  • Billing dimension = resolution tier × duration (seconds); failed tasks are not billed.
  • 1:7 is a fixed settlement exchange rate (not a preferential rate); it applies uniformly to all USD top-ups.
  • For the highest bonus tiers and eligible channels, see top-up bonuses. The latest rate is authoritative in the console.

Text-to-Video Playground

happyhorse-1.1-t2v online debugging

Image-to-Video Playground

happyhorse-1.1-i2v first-frame generation

Reference-to-Video Playground

happyhorse-1.1-r2v up to 9 reference images

Video Edit Playground

happyhorse-1.0-video-edit outfit swap / background swap

Wan Series

Also Alibaba’s, model selection comparison
The HappyHorse series is provided via the APIYI DashScope passthrough channel. For questions or suggestions, please submit a ticket in the APIYI Console.