Three Steps to Generate Video
1
Submit video generation task
Call the submit interface using your API key
2
Record the returned task ID
System will return task information
3
Query generation result
Query status using task ID
Authentication Method
All API requests need to include a valid Bearer Token in the request header:Basic Request Examples
Simple Text Generation
Generation with Reference Image
Handling Responses
Task Submitted Successfully
Video Generation Completed
Polling Recommendations
Recommended polling strategy:
- Polling interval: 10-15 seconds
- Maximum wait time: 30 minutes
- Recommended to implement exponential backoff strategy
Next Steps
API Reference
View complete API documentation
Code Examples
View examples in more programming languages