# Sora-2 > Generates highly realistic videos with synchronized audio, advanced physics simulation for natural motion, multi-shot support, and personalized cameo integration in 720p resolution clips up to 12 seconds. ## Overview - **Model ID**: `sora-2` - **Category**: video - **Provider**: openai - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.com/generations/3daf60ba-9b29-44ce-ba76-849a7eb1aff1.webp` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v7/video-fusion/text-to-video` - **Method**: POST ### Parameters - **`prompt`** (required): - Type: textarea - Example: Enter prompt for video - **`aspect_ratio`** (optional): The aspect ratio of the generated video — 16:9 is wide - Type: select (options: 9:16, 16:9) - **`model_id`** (optional): - Type: text - **`duration`** (optional): Sora-2 accept 4,8 & 12 sec duration - Type: select (options: 4s, 8s, 12s) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v7/video-fusion/text-to-video \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "sora-2", "prompt": "Ultra-cinematic aerial chase between two futuristic fighter jets from rival nations, high above the clouds at sunset. One jet is dark stealth black, the other silver with blue accents. They perform extreme maneuvers, leaving vapor trails across the sky. Camera begins with a wide aerial shot of the glowing horizon, then smoothly transitions to a close-up tracking shot behind the black jet’s engines. Missiles are fired, narrowly missing as explosions illuminate the clouds in slow motion. The camera shifts to the cockpit view, showing the pilot’s intense eyes and HUD interface. Dramatic orchestral music tone, golden sunlight reflecting on metal surfaces, high realism, smooth transitions, 4K film quality, dynamic motion, intense dogfight atmosphere.", "aspect_ratio": "16:9", "duration": "4" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v7/video-fusion/text-to-video", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "sora-2", "prompt": "Ultra-cinematic aerial chase between two futuristic fighter jets from rival nations, high above the clouds at sunset. One jet is dark stealth black, the other silver with blue accents. They perform extreme maneuvers, leaving vapor trails across the sky. Camera begins with a wide aerial shot of the glowing horizon, then smoothly transitions to a close-up tracking shot behind the black jet’s engines. Missiles are fired, narrowly missing as explosions illuminate the clouds in slow motion. The camera shifts to the cockpit view, showing the pilot’s intense eyes and HUD interface. Dramatic orchestral music tone, golden sunlight reflecting on metal surfaces, high realism, smooth transitions, 4K film quality, dynamic motion, intense dogfight atmosphere.", "aspect_ratio": "16:9", "duration": "4" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v7/video-fusion/text-to-video", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "sora-2", "prompt": "Ultra-cinematic aerial chase between two futuristic fighter jets from rival nations, high above the clouds at sunset. One jet is dark stealth black, the other silver with blue accents. They perform extreme maneuvers, leaving vapor trails across the sky. Camera begins with a wide aerial shot of the glowing horizon, then smoothly transitions to a close-up tracking shot behind the black jet’s engines. Missiles are fired, narrowly missing as explosions illuminate the clouds in slow motion. The camera shifts to the cockpit view, showing the pilot’s intense eyes and HUD interface. Dramatic orchestral music tone, golden sunlight reflecting on metal surfaces, high realism, smooth transitions, 4K film quality, dynamic motion, intense dogfight atmosphere.", "aspect_ratio": "16:9", "duration": "4" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/sora-2-t2v/sora-2) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)