OpenAI の Sora 2 は、全く新しい最先端の動画および音声生成モデルです。 初代 Sora を基盤として、この新しいモデルは従来の動画生成モデルでは困難だった複数の能力を実現しています——たとえば、より正確な物理シミュレーション、よりリアルな映像ディテール、映像と同期した音声出力、より強力なコントロール性、そしてより幅広いスタイル表現などです。
Request
Header Params
Body Params application/json
Example
{"duration":4,"prompt":"Morning above cloud sea; toast-shaped balloons drift. Characters: two travel vloggers in basket. Action: orbiting drone shot; a seagull swoops; balloon makes a tiny “bounce.” Camera: orbit + gentle dolly; autofocus through clouds. Look: bright/clean sky blue; toasted surface texture. Motion: volumetric clouds and consistent lighting. Audio: burner whoosh + soft whistle; line: “Morning from the sky!”","size":"720*1280"}
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/openai/sora-2/text-to-video-pro' \
--header'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--header'Content-Type: application/json' \
--data-raw'{
"duration": 4,
"prompt": "Morning above cloud sea; toast-shaped balloons drift. Characters: two travel vloggers in basket. Action: orbiting drone shot; a seagull swoops; balloon makes a tiny “bounce.” Camera: orbit + gentle dolly; autofocus through clouds. Look: bright/clean sky blue; toasted surface texture. Motion: volumetric clouds and consistent lighting. Audio: burner whoosh + soft whistle; line: “Morning from the sky!”",
"size": "720*1280"
}'