Skip to main content
POST
Sora2 Text-to-Video
Generate videos from text using OpenAI’s Sora 2 model. Key Features:
  • Native Audio-Video Sync - Video with sound effects, speech, and background music generated together
  • Realistic Physics - Accurate simulation of gravity, buoyancy, collisions, and other physical phenomena
  • Multi-Shot Narrative - Support complex multi-shot instructions while maintaining scene coherence
  • 1080P Output - Support 10-15 second HD videos in cinematic/anime styles

Authorizations

Authorization
string
header
required

Please use your API Token for authentication

Body

application/json

Task parameters

prompt
string
required

prompt(required)

Minimum string length: 1
Example:

"a cat playing with a ball"

aspect_ratio
enum<string>
default:landscape

aspect ratio(optional,default landscape)

Available options:
portrait,
landscape
Example:

"landscape"

n_frames
enum<integer>
default:10

Video duration (optional, 10 or 15 seconds, default 10)

Available options:
10,
15
Example:

10

Response

OK

task_id
string
required

Task ID

Example:

"01234567-89ab-cdef-0123-456789abcdef"