Skip to main content
POST
Wan 2.5 T2V Preview

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
prompt
string
required

Description of the desired output.

Required string length: 1 - 1500
negative_prompt
string

Description of what to avoid in the output.

Maximum string length: 500
audio_url
string<uri>

URL of the audio file to use for generation.

size
enum<string>
default:1920*1080

Output size in pixels.

Available options:
832*480,
480*832,
624*624,
1280*720,
720*1280,
960*960,
1088*832,
832*1088,
1920*1080,
1080*1920,
1440*1440,
1632*1248,
1248*1632
duration
enum<integer>
default:5

Video duration in seconds

Available options:
5,
10
prompt_extend
boolean
default:false

Whether to automatically extend/enhance the prompt.

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.