HappyHorse

by AlibabaVideo

Text- and image-to-video generation with clear per-second billing.

InputPrompttext
Models7available
FlowAsyncresult URL
Price8.4 quotaper second
Example clipVideo preview
HappyHorse video example poster5s preview
Example clip

slow dolly shot through a lantern-lit alley

720P · 5s
Examples

Prompt to video, in context

Example inputhappyhorse-1.1-t2v
Prompt

slow dolly shot through a lantern-lit alley

Resolution
720P
Duration
5s
Example resultExample output

Lantern alley shot

A slow, stable dolly through a misty alley with warm lantern parallax.

Capabilities

What you can build with HappyHorse

Prompt driven generation

Submit a concise prompt and get production-ready video output through one TTAPI job.

Core controls only

Keep integration simple with prompt, model, output settings, and callback handling.

Async result flow

Use polling or webhook callbacks so long-running generations do not block your UI.

Ready for product UI

Return HappyHorse results that can be displayed, stored, or passed into downstream workflows.

Pricing

Per-action, in quota

Usage is metered in quota by model, action, and output settings.

Video generationOfficial pricing
OutputStarting priceUnit
720P8.4 quota/ second
1080P14.4 quota/ second
API request

Headers and submit parameters

Use the endpoint below with your TTAPI key and the request fields shown.

Text to videoPOST
/happyhorse/api/v1/services/aigc/video-generation/video-synthesis

Generate video from a text prompt.

Official reference
FetchGET
/happyhorse/api/v1/tasks/{task_id}

Retrieve a HappyHorse task result.

Official reference
POSThttps://api.ttapi.io/happyhorse/api/v1/services/aigc/video-generation/video-synthesis

Headers

TT-API-KEYstringrequired

Your TTAPI API key.

Content-Typestringrequired

Use application/json.

Body

modelstringrequired

HappyHorse task model such as happyhorse-1.1-t2v.

input.promptstringconditional

Text prompt for generation or editing.

input.mediaobject[]conditional

First-frame image, reference images, or source video for the selected workflow.

parameters.resolutionenumoptional

720P or 1080P output.

parameters.durationintegeroptional

Clip duration in seconds.

parameters.ratioenumoptional

Output aspect ratio for supported workflows.

parameters.watermarkbooleanoptional

Whether to include the HappyHorse watermark.

parameters.seedintegeroptional

Random seed from 0 to 2147483647.

Open the official TTAPI documentation
Integrate

From key to first result

Copy the resolved endpoint, authentication headers, and request body for this model.

curl --request POST \
  --url https://api.ttapi.io/happyhorse/api/v1/services/aigc/video-generation/video-synthesis \
  --header 'TT-API-KEY: $TTAPI_KEY' \
  --header 'Content-Type: application/json' \
  --data '{"model":"happyhorse-1.1-t2v","input":{"prompt":"slow dolly shot through a lantern-lit alley"},"parameters":{"resolution":"720P","duration":5,"watermark":false}}'