Generate infinite AI videos using the Wan 2.2 text-to-video model.
Request
Header Params
Body Params application/json
Example
{"duration":5,"prompt":"Ultra-wide lens tracking shot through neon-lit alleyways, pouring rain bouncing off puddles, camera whipping to follow a black-suited operative sprinting at full speed, dual pistols drawn. Explosions erupt in the background, showering debris in slow motion. Lens flares streak across the frame, smoke and sparks filling the air. The hero vaults over a burning car, slides under a closing metal shutter in one fluid motion. Close-up as rainwater drips from their jawline, eyes locked in determination. The final beat: a massive explosion backlighting the silhouette as they reload in slow motion — hyper-realistic, 24fps, Dolby-cinema color grading, John Wick × The Matrix tone.","seed":-1,"size":"832*480"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.302.ai/ws/api/v3/wavespeed-ai/wan-2.2/t2v-480p-ultra-fast' \
--header'Authorization: Bearer ' \
--header'Content-Type: application/json' \
--data-raw'{
"duration": 5,
"prompt": "Ultra-wide lens tracking shot through neon-lit alleyways, pouring rain bouncing off puddles, camera whipping to follow a black-suited operative sprinting at full speed, dual pistols drawn. Explosions erupt in the background, showering debris in slow motion. Lens flares streak across the frame, smoke and sparks filling the air. The hero vaults over a burning car, slides under a closing metal shutter in one fluid motion. Close-up as rainwater drips from their jawline, eyes locked in determination. The final beat: a massive explosion backlighting the silhouette as they reload in slow motion — hyper-realistic, 24fps, Dolby-cinema color grading, John Wick × The Matrix tone.",
"seed": -1,
"size": "832*480"
}'