Skip to main content
POST
Wan 2.5 - Image to Video
Transform an input image into a dynamic video using the **Wan 2.5 - Image to Video ** model.

Create a Video Generation Task

Authentication

All API requests require a Bearer Token.

Parameters

Top-Level Parameters

string
required
Must be wan/2-5-image-to-video.

input Parameters

object
required
The input object contains the parameters used to generate the video.
string
required
Use prompt to describe the video motion you want to generate.Maximum length: 800 characters.
string
required
Use the provided image URL as the first frame.
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 file size: 10 MB
string
default:"5"
Use duration to specify the length of the generated video in seconds.Supported values:
  • "5"
  • "10"
Default: "5"
string
default:"1080p"
Specify the resolution of the output video.Supported output resolutions:
  • 720p
  • 1080p
Default: 1080p
boolean
default:"true"
Whether to enable prompt rewriting using LLM.Default: true
string
Use negative_prompt to specify the content that should be avoided.Maximum length: 500 characters.
number
default:"0"
Random seed for reproducible generation.Note: If omitted, a random seed will be selected automatically.

Request

Request Body

The request body must be JSON and requires the model field.

Response

Successful Response

A successful request returns a task ID that can be used to query the task status.
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