Skip to main content
POST
/
v3
/
async
/
wan-2.5-i2v-preview
Wan 2.5 Preview Image-to-Video
curl --request POST \
  --url https://api.highwayapi.ai/v3/async/wan-2.5-i2v-preview \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "input": {
    "prompt": "<string>",
    "negative_prompt": "<string>",
    "img_url": "<string>",
    "audio_url": "<string>"
  },
  "parameters": {
    "resolution": "<string>",
    "duration": 123,
    "prompt_extend": true,
    "audio": true,
    "seed": 123
  }
}
'
{
  "task_id": "<string>"
}
The Wan 2.5 Preview image-to-video model supports generating 5-second or 10-second videos from a first-frame image and text. New audio capabilities: it supports automatic dubbing, and you can also customize the audio file.
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 prompts.
parameters
object
Video processing parameters, such as specifying the output video resolution, duration, etc.

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 retrieve the generation result