HappyHorse 1.1 Video API: Lightweight Video Generation for High-Frequency Workloads
Target model:
happyhorse-1.1
Inference endpoint:https://toapis.com/v1/videos/generations
Related: Vidu Q3 API developer guide · Vidu Q3 Drama Mode API · Wan 2.6 image-to-video pipeline · HappyHorse 1.1 Video Generation · happyhorse-1.1 model guide
1. TL;DR & Performance Overview
The schedule title calls HappyHorse 1.1 a lightweight generator for high-frequency workloads. On the pages checked on 2026-11-26, that is a positioning statement, not a measured SLA. The official HappyHorse 1.1 Video Generation reference (HTTP 200) documents a compact, action-based contract — text-to-video, image-to-video, reference-to-video, and video-edit — with a 3–15 second duration window. It does not document 10–14 second turnaround, 100 parallel generations, sub-12-second latency, a 99.95% SLA, or a loop: true field.
The documented public model name is happyhorse-1.1 (dot). The draft alias happyhorse-1-1 is not the documented ID. The live model guide is /model-guide/happyhorse-1-1 (title uses happyhorse-1.1). /model-guide/happyhorse-1.1 returned HTTP 404; /model-guide/happyhorse was a soft 404 (“Model Guide Not Found”).
What is documented:
action—text-to-video,image-to-video,reference-to-video, orvideo-edit. Ifactionis omitted, a first-frame image means image-to-video; otherwise the request is text-to-video.- Duration 3–15 seconds, default 5. Resolution
720Por1080P, default1080P(capitalP, as in the official examples). - Auth and poll —
Authorization: Bearer <API_KEY>.POST /v1/videos/generations, thenGET /v1/videos/generations/{task_id}(the HappyHorse page shows this path). Ordinary tasks may also be queried withGET /v1/tasks/{id}. Official examples usehttps://toapis.com(mainland China:https://toapis.cn). Oncompleted, readresult.data[0].url. Videos are retained for 30 days. - Prices — the 2026-11-26 model-guide snapshot is 17.1428 credits/second, which is higher than
viduq3at 8.5714 credits/second. Do not call this the cheapest commercial video API.
2. Official ID, Actions, and Field Rules
Send model: "happyhorse-1.1". The official page lists that value as required and as the default.
action | What it does | Required extras | Notes |
|---|---|---|---|
text-to-video | Generate from a prompt | prompt required | aspect_ratio applies (16:9, 9:16, 1:1, 4:3, 3:4; default 16:9). Compatible alias: size. |
image-to-video | Animate a first frame | image_urls (only the first image is used) | prompt is optional but recommended for motion and style. I2V uses the first-frame dimensions for aspect. |
reference-to-video | Generate from 1–9 reference images | prompt and reference_images (1–9, required) | Do not rely on action auto-detect; set reference-to-video explicitly. |
video-edit | Edit an input video | prompt and url (required); reference_images optional, up to 5 | audio_setting is auto or origin (default auto) and applies only to this action. |
Compatible first-frame aliases for image-to-video: input_reference, images, image, or image_with_roles[{ role: "first_frame" }]. Image requirements on the official page: JPEG / JPG / PNG / BMP / WEBP, up to 10MB, at least 300px, aspect ratio between 1:2.5 and 2.5:1. Use public HTTP(S) URLs; upload local files with the Upload Image API or Upload Video API first. Do not pass base64 in image_urls.
Other documented fields: seed, and watermark (default true). If you need a clean output, set watermark to false explicitly — the default is the opposite of several Vidu Q3 Multi-Model examples.
Resolution strings on this page are 720P and 1080P. Official examples use the capital P. Do not silently rewrite them to 720p unless you have confirmed that the same page also accepts the lowercase form; the examples do not.
The official field list checked today does not include loop. Do not document looping. fps is also not in that field list, so “720p 24fps as a unique selling point” is a draft claim, not an official differentiator. The documented default is 1080P.

Figure 1: Choose a documented action (text-to-video, image-to-video, reference-to-video, or video-edit), submit POST /v1/videos/generations, poll GET /v1/videos/generations/{task_id}, and read result.data[0].url on completed.
3. Production Implementation: cURL & Python
Official examples use https://toapis.com. Mainland China should use https://toapis.cn. Persist the returned task id before you poll.
Step 1: cURL for text-to-video
curl --request POST \
--url https://toapis.com/v1/videos/generations \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"model": "happyhorse-1.1",
"action": "text-to-video",
"prompt": "At night under an urban railway bridge, a graffiti teenager comes alive from a concrete wall and performs a high-energy English rap.",
"duration": 10,
"resolution": "1080P",
"aspect_ratio": "16:9",
"seed": 42,
"watermark": true
}'
Step 2: cURL for image-to-video and reference-to-video
curl --request POST \
--url https://toapis.com/v1/videos/generations \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"model": "happyhorse-1.1",
"action": "image-to-video",
"prompt": "Animate the character naturally while preserving the original visual style.",
"image_urls": ["https://example.com/first-frame.png"],
"duration": 5,
"resolution": "1080P"
}'
curl --request POST \
--url https://toapis.com/v1/videos/generations \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"model": "happyhorse-1.1",
"action": "reference-to-video",
"prompt": "The character from image 1 runs through the scene in image 2, then picks up the prop from image 3. Keep a 3D cartoon style.",
"reference_images": [
"https://example.com/image-01.jpg",
"https://example.com/image-02.png",
"https://example.com/image-03.jpeg"
],
"duration": 5,
"resolution": "1080P",
"aspect_ratio": "16:9",
"watermark": false
}'
Video-edit uses "action": "video-edit", a required "url" for the input video, optional reference_images (up to 5), and "audio_setting": "origin" or "auto".
Step 3: Python with a bounded poller
import os
import time
import random
import requests
BASE = "https://toapis.com" # mainland China: https://toapis.cn
HEADERS = {
"Authorization": f"Bearer {os.environ['TOAPIS_API_KEY']}",
"Content-Type": "application/json",
}
def submit_happyhorse(payload: dict) -> str:
body = {"model": "happyhorse-1.1", **payload}
response = requests.post(
f"{BASE}/v1/videos/generations",
headers=HEADERS,
json=body,
timeout=30,
)
response.raise_for_status()
return response.json()["id"]
def poll_video_task(task_id: str, max_wait: int = 600, interval: int = 10) -> dict:
"""Poll until completed or failed, honoring Retry-After on 429."""
time.sleep(5)
start = time.time()
current = interval
while time.time() - start < max_wait:
response = requests.get(
f"{BASE}/v1/videos/generations/{task_id}",
headers=HEADERS,
timeout=30,
)
if response.status_code == 429:
retry_after = int(response.headers.get("Retry-After", current))
time.sleep(retry_after + random.uniform(0, 1))
current = min(current * 2, 60)
continue
response.raise_for_status()
data = response.json()
status = data.get("status")
if status == "completed":
return data
if status == "failed":
raise RuntimeError(data.get("error") or data)
time.sleep(current + random.uniform(0, 1))
raise TimeoutError(f"task {task_id} still running after {max_wait}s; query before resubmitting")
if __name__ == "__main__":
task_id = submit_happyhorse(
{
"action": "text-to-video",
"prompt": "At night under an urban railway bridge, a graffiti teenager comes alive from a concrete wall and performs a high-energy English rap.",
"duration": 10,
"resolution": "1080P",
"aspect_ratio": "16:9",
"seed": 42,
"watermark": True,
}
)
result = poll_video_task(task_id)
print(result["result"]["data"][0]["url"])
print("expires_at", result.get("expires_at"))
The official HappyHorse “Query Task” snippet uses GET /v1/videos/generations/{task_id}. Shared status semantics come from Get Video Task Status: initial wait 5 seconds, 10-second interval, 600-second ceiling, jitter, and Retry-After on 429. Prefer Task Webhooks in production and keep polling as a fallback.
4. Error Handling & Status Matrix
A successful HTTP submit is not a completed video. Always read task status.
| HTTP or task state | Common category | Recommended action |
|---|---|---|
400 | Unknown model (happyhorse-1-1), missing url on video-edit, missing reference_images on reference-to-video, duration outside 3–15, or an invented loop field | Send happyhorse-1.1 and the documented fields for the chosen action |
400 | First-frame image that fails format, size, or aspect rules | Use JPEG/JPG/PNG/BMP/WEBP, ≤10MB, ≥300px, aspect 1:2.5–2.5:1 |
401 | Missing or invalid API key | Confirm Authorization: Bearer <API_KEY>. Official HappyHorse pages do not document extra OAuth scopes |
429 | Rate or concurrency limit | Honor Retry-After; back off with jitter. Do not assume a documented “100 parallel” cap |
5xx or client timeout | Temporary gateway or upstream issue | Query the existing task id before resubmitting |
status: queued or in_progress | Not an error | Continue polling on GET /v1/videos/generations/{task_id} |
status: failed | Generation did not succeed | Read error.message. Official docs do not state that failed tasks are always unbilled |
5. Pricing & FinOps ROI
The official generation page does not publish a USD table for HappyHorse 1.1. The live model guide checked on 2026-11-26 lists a pricing reference of 17.1428 credits/second.
At the same-day /pricing statement 1 credit ≈ $0.005 ($1 = 200 credits), that snapshot is about $0.0857 / second — roughly 85.7 credits (≈ $0.43) for a 5-second clip, or 171.4 credits (≈ $0.86) for a 10-second clip. Unauthenticated GET /api/v1/pricing returned 401; confirm with the pricing catalog and the actual cost fields on the completed task.
This rate is not cheaper than the same-day viduq3 / viduq3-turbo snapshot of 8.5714 credits/second. Draft claims such as $0.010/s or “the most cost-effective commercial video API” were not on the official pages checked today. Choose HappyHorse 1.1 when you need its documented action set (especially reference-to-video and video-edit), not because a planning draft called it cheap.
Treat every figure as a dated snapshot. Confirm the ID and the live quote with GET /v1/models?type=video and your account catalog before you forecast a high-frequency batch. Official pages checked today do not document a latency or concurrency SLA, so size your poller and queue from observed account limits, not from draft “100 parallel / sub-12s” numbers.
6. Frequently Asked Questions
See the FAQ block in frontmatter. Summary: send happyhorse-1.1, not happyhorse-1-1; set action explicitly for reference-to-video and video-edit; use capital-P resolution strings; do not document loop; poll GET /v1/videos/generations/{task_id} and read result.data[0].url; treat 17.1428 credits/second as a 2026-11-26 snapshot, not a cheapest-in-catalog claim.
7. Action Checklist
- Confirm
happyhorse-1.1appears for your key viaGET /v1/models?type=video— do not sendhappyhorse-1-1. - Set
actionto a documented value. For reference-to-video send 1–9reference_images; for video-edit sendurl(and optionalaudio_setting). - Use
resolution720Por1080P(default1080P) andduration3–15. Setwatermarkexplicitly if you do not want the defaulttrue. - Upload local media first; pass HTTPS URLs only. Do not send base64, and do not invent
loop: true. - Submit to
POST /v1/videos/generationsonhttps://toapis.com(orhttps://toapis.cnin mainland China). PollGET /v1/videos/generations/{task_id}; readresult.data[0].urlonly aftercompleted. Download beforeexpires_at(30-day retention). - Quote prices only from the live account catalog. Do not forecast batches on
$0.010/sor a “cheapest API” claim. - Next: Vidu Q3 developer guide for documented subjects / multi-reference consistency, or Vidu Q3 Drama Mode for narrative reference clips.