Skip to main content
POST
Wan V2.6
Cinematic, multi-shot, audio-visual sync, up to 15s.

Authorizations

Authorization
string
header
required

API Key for API endpoints

Body

prompt
string
required

Text prompt for video generation

seed
integer | null

Random seed for reproducible generation

Required range: -9007199254740991 <= x <= 9007199254740991
audio
string<uri>

Audio file (wav/mp3, 3-30s, ≤15MB) for voice/music synchronization

first_frame_url
string<uri>

Input image for video generation

video_refs
string[]

Reference videos for reference-to-video

duration
default:5

Duration of the generated video in seconds

resolution
enum<string>
default:720p

Video resolution

Available options:
720p,
1080p
multi_shots
boolean
default:false

Enable intelligent multi-shot segmentation (only active when enable_prompt_expansion is enabled). True enables multi-shot segmentation, false generates single-shot content.

negative_prompt
string
default:""

Negative prompt to avoid certain elements

enable_prompt_expansion
boolean
default:true

If set to true, the prompt optimizer will be enabled

n
integer
default:1

Number of results to generate (1-4)

Required range: 1 <= x <= 4

Response

Generation submission accepted

id
string
required

Generation id.

status
enum<string>
required

Queue status

Available options:
IN_QUEUE,
IN_PROGRESS,
COMPLETED,
FAILED,
CANCELED
input
Input · object
required

Normalized input payload for the generation task.

usage
object
required

Credit usage breakdown for the request

code
string

Machine-readable generation error code. Present when status is FAILED.

message
string

Sanitized human-readable failure message. Present when status is FAILED.