GPT-5.4 and GPT-5.4 Mini have been retired · Please switch to another available model
All models
Alibaba · Media API

HappyHorse 1.1 API

HappyHorse 1.1 is Alibaba's newest HappyHorse video family on OmniaKey. One card covers all three ways to use it, and each way has its own model id: happyhorse-1.1-t2v for text to video, happyhorse-1.1-i2v to animate a first frame, and happyhorse-1.1-r2v to drive the shot from up to nine reference images.

Model ID
happyhorse-1.1-t2vhappyhorse-1.1-i2vhappyhorse-1.1-r2v
Provider
Alibaba
Modality
AI Video
Per second of output
$0.07–$0.18
Last verified
2026-09-14

01

Where it fits

Pick HappyHorse 1.1 for the sharpest motion, lighting and subject consistency in the family, at $0.07 to $0.18 per second depending on resolution; step down to HappyHorse 1.0 only when prompts are already tuned to its look.

02

What it does

Text to video

happyhorse-1.1-t2v

Generate a short video clip from a text prompt.

Image to video

happyhorse-1.1-i2v

Animate a still image into a short video clip.

Reference video

happyhorse-1.1-r2v

Use reference footage to guide a generated clip.

03

Call it

Media models run asynchronously. Create a task, poll it until it finishes, then download the signed asset URL.

Create, poll, download
# 1. Create the job. 202 Accepted; the body carries the task id,
#    the pre-charged price, and a poll_url. Reuse one Idempotency-Key
#    across retries so a timeout never starts a second paid job.
curl --fail-with-body https://api.omniakey.com/v1/media/tasks \
  -H "Authorization: Bearer $OMNIAKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: happyhorse-1.1-001" \
  -d '{
    "model": "happyhorse-1.1-t2v",
    "type": "video",
    "operation": "text_to_video",
    "input": {"prompt": "a paper boat on a quiet lake at sunset"},
    "parameters": {"duration": 6, "resolution": "720p"}
  }'

# 2. The operation picks the model id on this route:
#      happyhorse-1.1-t2v     prompt only
#      happyhorse-1.1-i2v     media[] type "first_frame"
#      happyhorse-1.1-r2v     media[] type "reference_image"

# 3. Poll GET /v1/media/tasks/{id} until status is
#    succeeded | failed | canceled. Progress carries percent and stage.
curl --fail-with-body https://api.omniakey.com/v1/media/tasks/TASK_ID \
  -H "Authorization: Bearer $OMNIAKEY_API_KEY"

# 4. Download assets[0].url before expires_at, or poll again for a
#    fresh signed URL. Failed and canceled jobs are refunded.
curl -sS -o out.mp4 "$(jq -r '.assets[0].url' result.json)"

04

Pricing

Video jobs are billed per second of rendered output, not per token. Failed or canceled jobs are refunded automatically.

Per second of output

$0.07–$0.18per second

480P
$0.07per second
720P
$0.14per second
1080P
$0.18per second

More models from Alibaba

Frequently asked questions

How do I call HappyHorse 1.1 on OmniaKey?

POST to /v1/media/tasks with the model id, type "video", and operation "text_to_video" — or "image_to_video" with a first frame in input.media[] with type "first_frame". Reuse one Idempotency-Key across retries so a timeout never starts a second paid job.

What does HappyHorse 1.1 cost?

HappyHorse 1.1 bills $0.07–$0.18 per second of rendered video. Creation pre-charges the requested duration up front from your prepaid balance, and failed or canceled jobs are refunded automatically.

Why does the API return a task id instead of the video?

Video renders take from about a minute to several minutes, so OmniaKey runs every video route through one asynchronous lifecycle. Poll GET /v1/media/tasks/{id} until the status is succeeded, then read the signed asset URL.

HappyHorse 1.1 API — async video generation · OmniaKey