Skip to main content
POST
Wan 2.6 I2V

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
img_url
string
required

First frame image URL (supports HTTP/HTTPS/Base64)

Example:

"https://example.com/image.jpg"

prompt
string

Description of the desired output.

Required string length: 1 - 800
negative_prompt
string

Description of what to avoid in the output.

Maximum string length: 500
audio_url
string

Audio file URL for audio-driven video generation

Minimum string length: 1
Example:

"https://example.com/audio.mp3"

resolution
enum<string>

Output resolution of the generated content.

Available options:
480P,
720P,
1080P
duration
enum<integer>
default:5

Video duration in seconds (integer)

Available options:
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
prompt_extend
boolean
default:false

Whether to automatically extend/enhance the prompt.

shot_type
enum<string>

Camera shot type

Available options:
Close-up,
Medium,
Long,
Extra-Long
Example:

"Medium"

seed
integer

Random seed for reproducible generation. Use -1 for random.

Required range: 0 <= x <= 2147483647

Response

200 - application/json

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required

Detailed data about the submitted asynchronous task.