With the latest v4.5 model of PixVerse, you can generate high-quality videos based on text descriptions. This model supports multiple resolutions, aspect ratios, and motion modes, enabling flexible creation of various types of videos.
Request
Header Params
Body Params application/json
Example
{"aspect_ratio":"16:9","duration":5,"prompt":"An astronaut floating weightlessly inside a space station, Earth visible outside the window, 4K cinematic shot","negative_prompt":"","resolution":"720p","seed":-1}
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/pixverse/pixverse-v4.5-t2v' \
--header'Authorization: Bearer ' \
--header'Content-Type: application/json' \
--data-raw'{
"aspect_ratio": "16:9",
"duration": 5,
"prompt": "An astronaut floating weightlessly inside a space station, Earth visible outside the window, 4K cinematic shot",
"negative_prompt": "",
"resolution": "720p",
"seed": -1
}'