Skip to main content
POST
Wan 2.6 - Image to Video
Generate dynamic videos from static images using the Wan 2.6 Image to Video model.

Overview

The generation workflow consists of two steps:
  1. Create a video generation task.
  2. Query the task status and retrieve the generated results.

Endpoint

Authentication

All API requests require a Bearer Token.

Parameters

Top-Level Parameters

string
required
Must be wan/2-6-image-to-video.
object
required
The input object contains the parameters used to generate the video.

input Parameters

string
required
Use prompt to describe the video you want to generate.
  • Supports Chinese and English.
    Minimum length: 2 characters.
    Maximum length: 5,000 characters.
string
required
Use the provided image URL as source image.
The image_url must contain the URL of an uploaded image. The value must be an uploaded file URL, not the file content itself.
Supported image types:
  • image/jpeg
  • image/png
  • image/webp
  • Maximum items: 1
  • Maximum file size: 10 MB
  • Minimum dimensions: 256 × 256 px
string
default:"5"
Use duration to specify the length of the generated video in seconds.Supported values:
  • "5"
  • "10"
  • "15"
Default: "5"
string
default:"1080p"
Specify the resolution of the output video.Supported output resolutions:
  • 720p
  • 1080p
Default: 1080p
boolean
default:"false"
The multi shots parameter controls the shot composition style during AI video generation, determining whether the generated video is a single continuous shot or multiple shots with transitions.
  • false — single continuous shot.
  • true — multiple shots with transitions.
Default: false

Request

Example

Successful Response

number
Response status code.
string
Response message. Contains the error description when the request fails.Example: success
object
required
The task data object containing task id.
string
required
The unique identifier for this task.Example: task_123456

Query Task Status

After submitting a task, use the unified query endpoint to check the task progress and retrieve the generated results.

Get Task Details

Check task status, monitor generation progress, and retrieve results.

Error Response

Response Codes