Skip to main content
POST
Wan 2.2 Text-to-Video
Wan 2.2 (Wanxiang 2.2) Pro text-to-video model can generate high-quality video content based on text descriptions. Compared with previous-generation models, it offers significant improvements in visual details and motion stability, and supports generating videos with durations of 5 seconds and 8 seconds.
This is an asynchronous API and only returns the task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to retrieve the video generation result.

Request Headers

Content-Type
string
required
Enum value: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API key}}.

Request Body

input
object
required
Basic input information, such as the prompt.
parameters
object
required
Video processing parameters.

Response Information

task_id
string
required
The task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to obtain the generation result