Skip to main content
POST
/
v3
/
async
/
wan-2.2-i2v
Wan 2.2 Image to Video
curl --request POST \
  --url https://api.myrouter.ai/v3/async/wan-2.2-i2v \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "input": {
    "prompt": "<string>",
    "img_url": "<string>",
    "template": "<string>",
    "audio_url": "<string>",
    "last_image": "<string>",
    "negative_prompt": "<string>"
  },
  "parameters": {
    "seed": 123,
    "audio": true,
    "loras": [
      {}
    ],
    "duration": 123,
    "watermark": true,
    "resolution": "<string>",
    "prompt_extend": true
  }
}
'
{
  "task_id": "<string>"
}
Wan 2.2 Image-to-Video API that converts static images into dynamic videos.
This is an async API that only returns the task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.

Request Headers

Content-Type
string
required
Enum: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

input
object
required
Input parameters, including the source image and text prompt.
parameters
object
Optional parameters for controlling video generation.

Response

task_id
string
Use the task_id to call the Get Async Task Result API to retrieve the generated output.