The Vidu text-to-video generation model can produce high-quality videos with outstanding visual effects and a rich variety of dynamic expressions.
Request
Header Params
Body Params application/json
Example
{"movement_amplitude":"large","prompt":"On a summer afternoon, a girl in a white dress sits on a slow-moving, old-fashioned train traveling through the countryside. Sunlight streams through the windows, creating dappled light and shadow on the wooden floor, with tiny dust motes floating in the air. She rests her cheek on her hand, gazing with a hint of melancholy at the lush green rice paddies rushing by. Studio Ghibli animation style, warm and healing.","style":"anime"}
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/luma/ray-2-flash-t2v' \
--header'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header'Content-Type: application/json' \
--data-raw'{
"movement_amplitude": "large",
"prompt": "On a summer afternoon, a girl in a white dress sits on a slow-moving, old-fashioned train traveling through the countryside. Sunlight streams through the windows, creating dappled light and shadow on the wooden floor, with tiny dust motes floating in the air. She rests her cheek on her hand, gazing with a hint of melancholy at the lush green rice paddies rushing by. Studio Ghibli animation style, warm and healing.",
"style": "anime"
}'