Text to Video - Submit Task
AI Video
Text to Video - Submit Task
POST
Text to Video - Submit Task
Introduction
Submit text-to-video task, used to generate video based on text description.Authentication
Bearer Token, e.g.,
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...
How to get: Obtain via the POST interface in the Authentication module at the top left, https://docs.leapx-hub.com/en/leapx-lab-v4/endpoint/get-tokenRequest Parameters
Model name
Text prompt for video generation
Video duration, supports: 3,5, 8, 10, 12
Aspect ratio
Video resolution
Whether to return video URL
Request key
Example Code
- cURL Example
- Python Example
