Skip to main content
POST
Text to Video - Submit Task

Introduction

Submit text-to-video task, used to generate video based on text description.

Authentication

string
required
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-token

Request Parameters

string
required
Model name
string
required
Text prompt for video generation
string
required
Video duration, supports: 3,5, 8, 10, 12
string
required
Aspect ratio
string
Video resolution
boolean
Whether to return video URL
string
Request key

Example Code

Response Example