About HappyHorse 1.1
The HappyHorse 1.1 API offers text, image and reference to video with an unusually wide set of output shapes: nine aspect ratios, including 4:5, 5:4, 21:9 and 9:21. That makes it a good backend for ad tools that must deliver one creative in every placement size. Every response includes a generated audio track.
Call it with the model name alibaba/happyhorse-1.1/text-to-video on POST /jobs/createTask, from $0.63.
Introduction
HappyHorse 1.1 Text to video is the prompt-only endpoint of Alibaba's HappyHorse 1.1 family: a prompt of up to 2,500 characters returns a clip of 3 to 15 whole seconds at 720p or 1080p, with a generated soundtrack. Nine aspect ratios are available, from 21:9 to 9:21, including the 4:5 and 5:4 feed and print crops.
Choose a HappyHorse 1.1 mode by starting material
| What you have at the start | Mode |
|---|---|
| a written scene or script | HappyHorse 1.1 Text to video |
| an approved opening image | HappyHorse 1.1 Image to video |
| one to nine reference images | HappyHorse 1.1 Reference to video |
Key features
Nine aspect ratios in one field
aspect_ratio accepts 16:9 (the default), 9:16, 1:1, 4:3, 3:4, 4:5, 5:4, 9:21 and 21:9. A set of deliverables in several shapes becomes a loop over one parameter rather than a round of re-framing in post. The rain-hood-convenience example was written for 9:16 at 1080p, the vertical end of that list, and spends its words on one continuous action away from camera.
A soundtrack with no switch
Every clip comes back with generated audio, and there is no field to turn it off. Describe the sound you want: the desert-tailgate brief asks for cicadas and a distant highway, and in rain-hood-convenience the rain hammering the awning arrives in the same pass as the picture. When the clip goes under your own mix, mute or replace the track in the edit.
Draft at 720p, deliver at 1080p
Duration runs from 3 to 15 whole seconds with 5 as the default, and resolution defaults to 720p. Draft at 720p, then re-run the take you want at 1080p; each pass draws its own take, so keep the wording fixed rather than expecting the same frames back at a higher resolution.
Request parameters
| Parameter | Required | Description |
|---|---|---|
prompt | Yes | Describe what you want to make. |
resolution | No | Choose an available output size. 720p · 1080p · Default: 720p |
aspect_ratio | No | The shape of the frame: wide, square or tall. 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 4:5 · 5:4 · 9:21 · 21:9 · Default: 16:9 |
duration_seconds | No | Length of the generated clip. ≥ 3 · ≤ 15 · Default: 5 |
Pricing
Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
| Option | USD per second |
|---|---|
| resolution 720p | $0.126 |
| resolution 1080p | $0.163 |
Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.
Use cases
Vertical clips with a phone-camera look
The karaoke-room example asks for a device look by name, with rolling shutter, phone-camera noise, slight shake and mixed neon light, in 9:16 at 720p. Two people share one vertical frame, trade a chorus on a single microphone and collapse into each other laughing, and the room sound comes back with the picture.
Mood pieces carried by light
Moving light can hold a whole clip together. In motel-blinds-boots, amber street light through Venetian blinds crawls over the subject while she works off two boots and falls back across a quilt, a chain of actions held inside the default five seconds at 720p. Nothing lights the room except what the prompt describes.
Settle framing and pacing before building frames
For precise control over the subject or composition, start with an opening frame in image-to-video or use references in reference-to-video. Use text-to-video to explore framing, lighting and pacing before preparing those inputs.
Prompt guide & pro tips
Write it as a shot
Give the subject, action, camera, light and pacing in the order the viewer sees them. The desert-tailgate prompt does this in one paragraph: who is on the tailgate and what she wears, what she does (boots swinging, tipping a bottle, squinting into the low sun), then "warm orange backlight, lens flare, handheld 35mm", then the sound.
Keep the prompt focused
Describe the subject, lighting and action clearly. With a 2,500-character limit, keep the essential actions and remove unnecessary adjectives.
Set the frame before comparing takes
The defaults are 16:9 and five seconds. If the deliverable is 4:5 or 9:21, set it before the first draft, because a composition written for one frame does not translate to another. Keep the move resolvable within the duration you choose, and remember that a written shot leaves wardrobe, body and framing to the model, so re-runs drift.
API quick start
Call the HappyHorse 1.1 API in three steps
- Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
- Send the request. POST /jobs/createTask with model alibaba/happyhorse-1.1/text-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
- Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"model": "alibaba/happyhorse-1.1/text-to-video",
"input": {
"prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
"aspect_ratio": "16:9",
"resolution": "720p",
"duration_seconds": 5
}
}'
# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $POPNOW_API_KEY"Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.
What to build with the HappyHorse 1.1 API
- Ad placement generators that loop one prompt through every aspect_ratio a campaign needs.
- Product placement features: reference_image_urls carry the product and the target set.
- Lifestyle b-roll libraries rendered at 720p for drafts and 1080p for finals.
HappyHorse 1.1 parameter notes
- aspect_ratio has nine values on text and reference to video; image to video follows the source frame.
- reference_image_urls is required on reference to video and takes 1 to 9 images in prompt order.
- seed is available on image and reference to video but not on text to video.
- There is no audio switch; strip the track after download if needed.
How HappyHorse 1.1 API pricing adds up
Per-second billing with two tiers, 720p and 1080p, the same for all three endpoints; 1080p costs about 30 percent more per second. Aspect ratio does not change the price, so multi-shape exports cost the same per clip.
- resolution 720p, 5-second clip: $0.63 each, $63.00 for 100 clips
- resolution 1080p, 5-second clip: $0.815 each, $81.50 for 100 clips
Async jobs, webhooks and rate limits
Every HappyHorse 1.1 request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for alibaba/happyhorse-1.1/text-to-video never runs or bills twice.
Common HappyHorse 1.1 API errors
| errorCode | What it usually means and how to fix it |
|---|---|
invalid_request | Reference to video without reference_image_urls, or more than nine images. |
unsupported_combination | seed sent to text to video, which does not accept it. Drop the field for that endpoint. |
invalid_asset | An unreachable reference image. Upload it through the upload flow. |
HappyHorse 1.1 price on other platforms
| Options | fal | Higgsfield API | Replicate | |
|---|---|---|---|---|
| 720pGuaranteed | −10% vs fal$0.1260/ s | $0.1400/ s | $0.1400/ s | $0.1400/ s |
| 1080pGuaranteed | −9% vs fal$0.1630/ s | $0.1800/ s | $0.1800/ s | $0.1800/ s |
Each platform's public API list price for the same model and settings, checked Nov 3, 2026. Higgsfield at standard rates, before its ongoing discounts.
HappyHorse 1.1 API questions
How much does the HappyHorse 1.1 API cost?
HappyHorse 1.1 starts at $0.63 for a 5-second clip with Create Video, its lowest-priced task. Prices by option: 720p $0.126 per second, 1080p $0.163 per second. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
What is the model name for HappyHorse 1.1 in the API?
Put alibaba/happyhorse-1.1/text-to-video for Create Video; alibaba/happyhorse-1.1/image-to-video for Image to Video; alibaba/happyhorse-1.1/reference-to-video for Reference to Video in the model field of POST /jobs/createTask.
Does aspect ratio change the HappyHorse API price?
No. Price depends only on resolution and duration.
Can I pin a last frame on HappyHorse?
No. None of the endpoints accept a closing frame.
Is audio optional on HappyHorse 1.1?
No. All three endpoints always return audio.
What are the limits of the HappyHorse 1.1 API?
Clip length: 3–15 s; Resolutions: 720p · 1080p; Aspect ratios: 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 4:5 +3; Prompt length (characters): 2,500. Requests outside these limits are rejected before anything is charged.
Can I try HappyHorse 1.1 without writing code?
Run HappyHorse 1.1 in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.