# Sora 2 Pro Text To Video > AI model for generating video content ## Overview - **Model ID**: `sora-2-pro-t2v` - **Category**: video - **Provider**: openai - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.com/generations/28616b8b-e430-4ce6-b693-768f995ec195.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-pro-t2v", "prompt": "A high-energy cinematic fight sequence inspired by Bollywood action cinema, set in a bustling Indian vegetable market at dawn. The scene opens with slow-motion shots of fresh vegetables—tomatoes bursting, green chilies flying, baskets tipping over—as a rugged Indian protagonist confronts multiple attackers. Hand-to-hand combat mixed with improvised weapons like wooden crates, weighing scales, and bamboo baskets. Dynamic camera movements with handheld close-ups during punches, wide tracking shots following spinning kicks through narrow market alleys. Dramatic dust particles in the air, sweat and grit on faces, intense eye contact before each strike. Warm golden sunlight cutting through market tarps, strong contrast lighting, cinematic color grading with teal shadows and warm highlights. Fast-paced choreography with rhythmic pauses, powerful impact frames, and slow-motion hits synced to an intense Indian percussion score. Ultra-realistic motion, sharp focus, film-grain texture, anamorphic lens flare, 4K cinematic quality, dramatic, heroic, raw Bollywood action tone.", "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-pro-t2v", "prompt": "A high-energy cinematic fight sequence inspired by Bollywood action cinema, set in a bustling Indian vegetable market at dawn. The scene opens with slow-motion shots of fresh vegetables—tomatoes bursting, green chilies flying, baskets tipping over—as a rugged Indian protagonist confronts multiple attackers. Hand-to-hand combat mixed with improvised weapons like wooden crates, weighing scales, and bamboo baskets. Dynamic camera movements with handheld close-ups during punches, wide tracking shots following spinning kicks through narrow market alleys. Dramatic dust particles in the air, sweat and grit on faces, intense eye contact before each strike. Warm golden sunlight cutting through market tarps, strong contrast lighting, cinematic color grading with teal shadows and warm highlights. Fast-paced choreography with rhythmic pauses, powerful impact frames, and slow-motion hits synced to an intense Indian percussion score. Ultra-realistic motion, sharp focus, film-grain texture, anamorphic lens flare, 4K cinematic quality, dramatic, heroic, raw Bollywood action tone.", "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-pro-t2v", "prompt": "A high-energy cinematic fight sequence inspired by Bollywood action cinema, set in a bustling Indian vegetable market at dawn. The scene opens with slow-motion shots of fresh vegetables—tomatoes bursting, green chilies flying, baskets tipping over—as a rugged Indian protagonist confronts multiple attackers. Hand-to-hand combat mixed with improvised weapons like wooden crates, weighing scales, and bamboo baskets. Dynamic camera movements with handheld close-ups during punches, wide tracking shots following spinning kicks through narrow market alleys. Dramatic dust particles in the air, sweat and grit on faces, intense eye contact before each strike. Warm golden sunlight cutting through market tarps, strong contrast lighting, cinematic color grading with teal shadows and warm highlights. Fast-paced choreography with rhythmic pauses, powerful impact frames, and slow-motion hits synced to an intense Indian percussion score. Ultra-realistic motion, sharp focus, film-grain texture, anamorphic lens flare, 4K cinematic quality, dramatic, heroic, raw Bollywood action tone.", "aspect_ratio": "16:9", "duration": "4" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/sora-2-pro-text-to-video/sora-2-pro-t2v) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)