Pika V2.0 Turbo テキスト生成動画モデルは、テキストの説明に基づいて高品質な動画を生成できます。さまざまな動画サイズに対応しており、高度なプロンプト最適化機能も備えています。
Request
Header Params
Body Params application/json
Example
{"duration":5,"enable_prompt_expansion":false,"prompt":"An older couple, seen from behind, sits on a wooden bench watching the sunset over the ocean. The man gently places his arm around the woman's shoulder. The scene is peaceful and filled with unspoken history. --Static wide shot, silhouette, warm golden hour colors, photorealistic, emotionally resonant.","seed":-1,"size":"1920*1080"}
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.2/t2v-plus-1080p' \
--header'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--header'Content-Type: application/json' \
--data-raw'{
"duration": 5,
"enable_prompt_expansion": false,
"prompt": "An older couple, seen from behind, sits on a wooden bench watching the sunset over the ocean. The man gently places his arm around the woman'\''s shoulder. The scene is peaceful and filled with unspoken history. --Static wide shot, silhouette, warm golden hour colors, photorealistic, emotionally resonant.",
"seed": -1,
"size": "1920*1080"
}'