VIDEO / Video Generation
Video Generation API
Unified video generation interface supporting Wan, HappyHorse, PixVerse and more. Uses async invocation: first create a task to get a task_id, then poll for results. Video generation typically takes 1-5 minutes.
HTTP Call Flow
1
Create task → get task_idPOST
https://nexusflow.vip/v1/tasks2
Poll result by task_idGET
https://nexusflow.vip/v1/tasks/{task_id}Supported Models
Billed by output video duration (e.g. 720P 5 seconds = unit price × 5). Only successful tasks are billed; failed tasks incur no charges.
Important Notes:
- Video generation only supports async calls. After creating a task, use the
id(task_id) to poll for results. Do not create duplicate tasks. - Suggested polling interval: 10-15 seconds, with exponential backoff on failure retries.
- task_id query validity period: 24 hours. After timeout, results cannot be queried.
- Video URL validity: 24 hours. Download immediately after retrieval.
Request Parameters
Code Examples
Step 1 Response: Get task_id
On successful creation, returns task info. The id field serves as task_id for subsequent queries.
Step 2: Poll Result by task_id
GET
https://nexusflow.vip/v1/tasks/{task_id}Query Request
Successful Task
Failed Task
Response Parameters
HappyHorse API
View HappyHorse model-specific API docs
Async Tasks API
View the general async tasks API docs
Full Pricing
View all model pricing