HappyHorse / Alibaba
HappyHorse Video Generation API
HappyHorse text-to-video models generate physically realistic, smoothly animated video from a text prompt. The API is asynchronous: first create a task to get a task_id, then poll for the result. Video generation usually takes 1-5 minutes.
HTTP Call Flow
1
Create a task to get task_idPOST
https://nexusflow.hk/v1/tasks2
Poll the result by task_idGET
https://nexusflow.hk/v1/tasks/{task_id}Note:
- After successful creation, query the result using the returned
id(the task_id). Do not recreate the task — just poll. - Poll at a recommended interval of 10-15 seconds.
- task_id queries are valid for 24 hours; after that they cannot be queried.
- Video URLs are valid for 24 hours; download and save them immediately.
Step 1: Create a Task
Model ID:
happyhorse-1.0-t2vRequest Parameters
Request Example
Step 1 Response: Get task_id
On success, task information is returned; the id is the task_id used for subsequent queries.
Step 2: Poll the Result by task_id
GET
https://nexusflow.hk/v1/tasks/{task_id}Query Request
Task Succeeded
Task Failed
Response Parameters
Billing
Applies to all HappyHorse models (t2v / i2v / r2v / video-edit). Only successful tasks are billed; failed tasks are not charged.
HappyHorse Page
Model updates and capability details
Async Tasks API
General async task API documentation
Full Pricing
View pricing for all models