Skip to main content
POST
/
v3
/
async
/
wan-2.5-t2v-preview
Wan 2.5 Preview Text to Video
curl --request POST \
  --url https://api.novita.ai/v3/async/wan-2.5-t2v-preview \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '{
  "input": {
    "prompt": "<string>",
    "negative_prompt": "<string>",
    "audio_url": "<string>"
  },
  "parameters": {
    "size": "<string>",
    "duration": 123,
    "prompt_extend": true,
    "audio": true,
    "seed": 123
  }
}'
{
  "task_id": "<string>"
}
Wan 2.5 Preview Text-to-Video model can generate high-quality video content based on text descriptions, and can produce videos with durations of 5 seconds and 10 seconds. New audio capabilities: supports automatic dubbing, or you can provide a custom audio file.
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.
I