The Pika V2.0 Turbo text-to-video model can generate high-quality videos based on text descriptions, supports multiple video resolutions, and features advanced prompt optimization capabilities.
Request
Header Params
Body Params application/json
Example
{"duration":5,"prompt":"A majestic snow leopard walks on the summit of a Himalayan peak, its fur fluttering in the harsh wind. The background features rolling snow-capped mountains and a golden sunrise. Drone long shot, photorealistic style, masterpiece, 8K UHD, cinematic lighting.","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-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header'Content-Type: application/json' \
--data-raw'{
"duration": 5,
"prompt": "A majestic snow leopard walks on the summit of a Himalayan peak, its fur fluttering in the harsh wind. The background features rolling snow-capped mountains and a golden sunrise. Drone long shot, photorealistic style, masterpiece, 8K UHD, cinematic lighting.",
"size": "1280*720"
}'