Luma Ray 1.6 text-to-video generation model can create high-quality videos based on textual descriptions, supports multiple video dimensions, and features advanced prompt optimization capabilities.
Request
Header Params
Body Params application/json
Example
{"duration":5,"prompt":"A luminous deer walks through a forest made of giant, translucent crystals. The crystals refract moonlight, casting colorful light patterns on the ground. Magical, tranquil atmosphere, cinematic, 4K, camera follows the deer's movement slowly.","size":"1280*720"}
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/alibaba/wan-2.1/t2v-plus-720p' \
--header'Authorization: Bearer ' \
--header'Content-Type: application/json' \
--data-raw'{
"duration": 5,
"prompt": "A luminous deer walks through a forest made of giant, translucent crystals. The crystals refract moonlight, casting colorful light patterns on the ground. Magical, tranquil atmosphere, cinematic, 4K, camera follows the deer'\''s movement slowly.",
"size": "1280*720"
}'