Sora 2
Sora 2 is OpenAI’s flagship generative model for video and audio. It accepts text prompts and generates visually rich clips with synchronized dialogue and sound. It improves physical realism and scene control. It also supports editing and extension of existing video inputs.
API Reference
INTEGRATE
Complete technical specification for integration
Request Response
Examples 4
CODE
Ready-to-use code snippets for common workflows
This model is deprecated and will be deactivated on September 24, 2026.
Bioluminescent Monsoon Market Night
{
"taskType": "videoInference",
"taskUUID": "29ac7910-ce46-402c-b27b-4557b3297cdb",
"model": "openai:3@1",
"positivePrompt": "A cinematic nighttime market in a flooded tropical megacity, lit by hanging lanterns and glowing bioluminescent fruit. Warm rain falls in sheets, splashing into shallow water that mirrors neon signs in an invented script. A young street cartographer in a translucent jade rain cape stands beneath a patched umbrella, unrolling a luminous map that pulses softly with living ink. Around them, vendors sell glass eels in tanks, steaming dumplings, and tiny mechanical birds; woven awnings ripple in the storm wind. The camera begins with a low tracking shot through puddles and drifting flower petals, then rises into a medium orbit around the cartographer as passing cyclists send arcs of water through frame. Naturalistic motion, convincing wet surfaces, layered depth, subtle handheld feel, atmospheric steam, expressive faces, realistic cloth and hair behavior, highly detailed reflections. Sound design: steady monsoon rain, distant thunder, market chatter, bicycle bells, sizzling food stalls, water sloshing underfoot, soft electrical hum from signs, and a brief whispered line from the cartographer: \"The old canals still remember the stars.\" Moody, lush, dreamlike, premium cinematic quality.",
"width": 1280,
"height": 720,
"duration": 8
}{
"taskType": "videoInference",
"taskUUID": "29ac7910-ce46-402c-b27b-4557b3297cdb",
"videoUUID": "df343c44-b6a2-4218-ac27-ec0e497f2b15",
"videoURL": "https://vm.runware.ai/video/os/a10d08/ws/5/vi/df343c44-b6a2-4218-ac27-ec0e497f2b15.mp4",
"seed": 2034548508,
"cost": 0.8,
"outputs": {
"videoId": "video_69c583cdfc108198b5e6f4412b049a8e0b518c415f2be692"
}
}Moonlit Desert Observatory Caravan
{
"taskType": "videoInference",
"taskUUID": "a1f16825-3b03-4586-9aa5-60cd668d2708",
"model": "openai:3@1",
"positivePrompt": "Using the provided first-frame image as the opening composition, create an elegant cinematic nighttime sequence in a moonlit desert. The observatory caravan lanterns flicker warmly against cool blue sand and sky. A light wind moves fabric canopies and loose pages of star charts. One stargazer adjusts the brass telescope while another quietly says, 'There, near Orion,' with natural synchronized dialogue. Include soft footsteps on sand, faint metal creaks from the wagon, gentle fabric rustle, and expansive desert ambience. The camera begins on the established wide frame, then slowly pushes in with subtle parallax, preserving the identity and layout of the frame image while adding lifelike motion, atmospheric depth, and realistic lighting.",
"width": 1280,
"height": 720,
"duration": 8,
"inputs": {
"frameImages": [
{
"image": "https://assets.runware.ai/assets/inputs/79b3290f-376d-4375-97bb-5bc63c5ac27b.jpg",
"frame": "first"
}
]
}
}{
"taskType": "videoInference",
"taskUUID": "a1f16825-3b03-4586-9aa5-60cd668d2708",
"videoUUID": "86d42e0f-2a8e-4529-a853-3c0d5579d7c4",
"videoURL": "https://vm.runware.ai/video/os/a02d21/ws/5/vi/86d42e0f-2a8e-4529-a853-3c0d5579d7c4.mp4",
"seed": 1416485965,
"cost": 0.8,
"outputs": {
"videoId": "video_69c583d6b9548191a95376266987a99a09d872992f4c9d27"
}
}Bioluminescent Tidepool Research Station
{
"taskType": "videoInference",
"taskUUID": "21c5f6fe-f7ad-45d5-8e55-09a261816398",
"model": "openai:3@1",
"positivePrompt": "A cinematic night scene at a remote research station built into black volcanic cliffs above a bioluminescent tidepool. A young marine biologist in a translucent rain cape kneels beside the glowing water, scanning drifting organisms with a handheld instrument that emits soft amber light. Waves roll in below with realistic splashes and foam, illuminating the rocks in electric blue pulses. In the background, slender wind turbines turn slowly through sea mist, red safety beacons blinking faintly. The camera begins with a wide establishing shot, then glides closer in a smooth low tracking move, revealing glass sample vials, wet metal railings, and ripples spreading across the pool. The scientist quietly says, 'It blooms earlier every year,' while distant thunder rumbles, gulls cry overhead, light rain taps on the cape, and the ocean breathes with layered surf ambience. Moody, photoreal, atmospheric, precise reflections, natural motion, believable physics, fine environmental detail, restrained color palette with vivid bioluminescent highlights.",
"width": 1280,
"height": 720,
"duration": 8
}{
"taskType": "videoInference",
"taskUUID": "21c5f6fe-f7ad-45d5-8e55-09a261816398",
"videoUUID": "207e4f92-913f-4fd5-ad63-82bb78a1190a",
"videoURL": "https://vm.runware.ai/video/os/a04d20/ws/5/vi/207e4f92-913f-4fd5-ad63-82bb78a1190a.mp4",
"seed": 1146755284,
"cost": 0.8,
"outputs": {
"videoId": "video_69c581b6fefc8190a3e97983013919f30610bb14c4e5f04b"
}
}Bioluminescent Mangrove Monsoon Chase
{
"taskType": "videoInference",
"taskUUID": "7ad611c9-522d-4c20-a6bf-445ee57ae6d3",
"model": "openai:3@1",
"positivePrompt": "A cinematic nighttime monsoon in a bioluminescent mangrove forest on a distant tropical world. A narrow rescue skiff glides fast through shallow floodwater between twisted roots glowing electric teal and amber. Rain lashes the surface, creating dense ripples and spray illuminated by flashes of lightning. The camera begins low over the water, tracking beside the boat, then arcs forward to reveal a teenage navigator in a translucent hooded rain cloak steering with intense focus while a hovering lantern drone flickers nearby. In the background, stilt houses sway gently and paper wind charms clatter in the storm. Realistic water physics, believable boat motion, wet fabric behavior, detailed reflections, cinematic depth, moody contrast, subtle handheld energy. Natural synchronized soundscape: heavy rain, distant thunder, motor hum, water slaps against the hull, rattling wood, breath and gear movement. The navigator shouts over the storm: 'Hold the beacon steady—we're almost there!' End on a wide shot as the skiff emerges into an open lagoon filled with glowing pollen mist and towering mangrove silhouettes.",
"width": 1280,
"height": 720,
"duration": 8
}{
"taskType": "videoInference",
"taskUUID": "7ad611c9-522d-4c20-a6bf-445ee57ae6d3",
"videoUUID": "27ed1df2-bd31-4251-87d4-6f5aae5b64c9",
"videoURL": "https://vm.runware.ai/video/os/a23d05/ws/5/vi/27ed1df2-bd31-4251-87d4-6f5aae5b64c9.mp4",
"seed": 1169552849,
"cost": 0.8,
"outputs": {
"videoId": "video_69c5823ad9a88190a42162eca23ab5b2064fad7b92467aaa"
}
}