HappyHorse / Alibaba
HappyHorse Video Generation API
HappyHorse Text-to-Video models generate physically realistic, smoothly animated video content from text prompts. The API uses asynchronous invocation: first create a task to get a task_id, then poll for the result. Video generation typically takes 1-5 minutes.
HTTP Invocation Workflow
1
Create task and get task_idPOST
https://nexusflow.vip/v1/tasks2
Poll result by task_idGET
https://nexusflow.vip/v1/tasks/{task_id}Note:
- After successful creation, use the returned
id(i.e., task_id) to query results. Do not create duplicate tasks; just poll to retrieve results. - Polling recommended interval 10-15 seconds.
- task_id query validity period 24 hours; it cannot be queried after expiration.
- Video URL validity period 24 hours; please download and save immediately after retrieval.
Step 1: Create Task
Model ID:
happyhorse-1.0-t2vRequest Parameters
Request Example
Step 1 Response: Get task_id
After successful creation, task information is returned. The id serves as the task_id for subsequent queries.
Step 2: Poll Result by task_id
GET
https://nexusflow.vip/v1/tasks/{task_id}Query Request
Task Execution Succeeded
Task Execution Failed
Response Parameters
Billing Details
Applies to all HappyHorse models (t2v / i2v / r2v / video-edit). Only successful tasks are billed; failed tasks are not charged.
HappyHorse Overview
View model features and capability descriptions
Async Tasks API
View the general Async Tasks API documentation
Full Pricing
View pricing for all models