⌘K

Wan 2.2 Plus - Text to Video

wan22_t2v_plus

Wan 2.2 Plus - Text to Video generates high-quality videos from text prompts. It supports multiple resolutions up to 1080p with flexible generation controls.

Authentication

authorization string required

All APIs require authentication via Bearer Token.

Get API Key:

Visit API Key Management Page to get your API Key.

Usage:

Add to request header:

Authorization: Bearer YOUR_API_KEY

Parameters

model string required

Model ID to use for the request

Value: wan22_t2v_plus


input object required

Basic input object for generation, such as prompts

prompt string required

Text prompt used to describe expected elements and visual characteristics in the generated video
Supports Chinese and English, each Chinese character/letter counts as one character, overflow is automatically truncated
For wan2.2 and wan2.1 series models, maximum length is 800 characters
Example: 一只小猫在月光下奔跑

negative_prompt string

Negative prompt used to describe content that should not appear in the generated video
Supports Chinese and English, maximum length is 500 characters, overflow is automatically truncated
Example: 低分辨率、错误、最差质量、低质量、残缺、多余的手指、比例不良等


parameters object

Video generation control parameters, such as resolution, prompt rewrite, and watermark

size string

size must be a concrete value such as 1280*720, not 1:1 or 480P
Specifies output resolution in width*height format
For wan2.2-t2v-plus, default is 1920*1080 and available resolutions are all 480P and 1080P resolutions

480P Tier:
832*480: 16:9
480*832: 9:16
624*624: 1:1

1080P Tier:
1920*1080: 16:9
1080*1920: 9:16
1440*1440: 1:1
1632*1248: 4:3
1248*1632: 3:4

Default: 1920*1080

duration integer

For wan2.2-t2v-plus, duration is fixed at 5 seconds and cannot be modified

Value: 5

prompt_extend boolean

Whether to enable intelligent prompt rewriting, when enabled a large model rewrites the input prompt and usually improves short prompts but increases latency

Options: true, false

Default: true

watermark boolean

Whether to add a watermark in the lower-right corner, fixed text is AI生成

Options: false, true

Default: false

seed integer

Random seed value, if not specified the system generates one automatically, fixing seed can improve reproducibility
Due to probabilistic generation, identical seed does not guarantee exactly identical output every run
Example: 12345

Range: 0 - 2147483647


Polling

Since result generation takes time, you need to poll the task status after creating the task.

The initial response only returns information such as the task ID and initial status. The final result must be obtained by polling the task status endpoint using the task ID.

See the examples on the right for polling requests and responses.

error object

Error information, only present when status is failed

code string

Error code

message string

Detailed error message


output array

Generation results, only present when status is completed

content array

List of generated resource content

type string

Resource type

Value: image|video

url string

Processed resource URL

jobId string

Remote task ID


usage object

Usage statistics, only present when status is completed

cost string

Total cost in USD

discount number

Discount amount


metadata object

Metadata information