Luma Ray 2 Flash テキスト生成ビデオモデルは、テキストによる説明に基づいて高品質なビデオを生成できます。さまざまなビデオサイズに対応し、高度なプロンプト最適化機能を備えています。
Request
Header Params
Body Params application/json
Example
{"duration":5,"prompt":"A time-lapse of a sunrise over a bustling city, 16-bit pixel art style. Tiny pixel cars move along the streets, and lights in the buildings turn off as the sun rises. Retro gaming aesthetic, vibrant pixelated colors. -camera tilt up slowly -motion 1","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/luma/ray-2-flash-t2v' \
--header'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--header'Content-Type: application/json' \
--data-raw'{
"duration": 5,
"prompt": "A time-lapse of a sunrise over a bustling city, 16-bit pixel art style. Tiny pixel cars move along the streets, and lights in the buildings turn off as the sun rises. Retro gaming aesthetic, vibrant pixelated colors. -camera tilt up slowly -motion 1",
"size": "1280*720"
}'