POST
/
v3
/
async
/
wan-2.2-t2v
Wan 2.2 Text to Video
curl --request POST \
  --url https://api.novita.ai/v3/async/wan-2.2-t2v \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '{
  "input": {
    "prompt": "<string>",
    "negative_prompt": "<string>"
  },
  "parameters": {
    "size": "<string>",
    "prompt_extend": true,
    "seed": 123
  }
}'
{
  "task_id": "<string>"
}
Wan 2.2 Professional Text-to-Video model can generate high-quality video content based on text descriptions. Compared to previous models, it offers significant improvements in visual detail and motion stability, and can produce videos with a fixed duration of 5 seconds.
This is an asynchronous API; only the task_id will be returned. You should use the task_id to request the Task Result API to retrieve the video generation results.

Request Headers

Content-Type
string
required
Supports: application/json
Authorization
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

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

Response

task_id
string
required
Use the task_id to request the Task Result API to retrieve the generated outputs.