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.highwayapi.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>"
}
The Wan 2.5 Preview text-to-video model supports generating high-quality video content from text descriptions, and can generate videos of 5 or 10 seconds. New audio capabilities: supports automatic voiceover, and also allows custom audio files.
This is an asynchronous API and will only return the asynchronous task’s task_id. 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 prompts.
parameters
object
Video processing parameters.

Response

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.