Pika V2.2 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":"Nurse finishing a long night shift, walking alone through hospital corridor, fatigue in her posture","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/pika/v2.2-t2v' \
--header'Authorization: Bearer ' \
--header'Content-Type: application/json' \
--data-raw'{
"duration": 5,
"prompt": "Nurse finishing a long night shift, walking alone through hospital corridor, fatigue in her posture",
"size": "1280*720"
}'