Skip to main content
POST
/
v3
/
async
/
wan-2.2-i2v
Wan 2.2 Image-to-Video
curl --request POST \
  --url https://api.highwayapi.ai/v3/async/wan-2.2-i2v \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "input": {
    "prompt": "<string>",
    "negative_prompt": "<string>",
    "img_url": "<string>"
  },
  "parameters": {
    "resolution": "<string>",
    "duration": 123,
    "prompt_extend": true,
    "seed": 123,
    "loras": [
      {
        "path": "<string>",
        "scale": 123
      }
    ]
  }
}
'
{
  "task_id": "<string>"
}
Wan 2.2 (Wanxiang 2.2) Professional image-to-video model generates videos based on a first-frame image and text. It delivers significant improvements in visual detail and motion stability.
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, such as the specified output video resolution and video duration.

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.