Maak een taak aan voor het genereren van een model.
Verzoek
curl-X POST 'https://pollo.ai/api/platform/v1/generation/openai/sora-2-pro/video'\-H'Content-Type: application/json'\-H'x-api-key: YOUR_API_KEY'\-d'{ "input": { "prompt": "A cinematic shot of a golden retriever running through a field of sunflowers at sunset, warm rim light, shallow depth of field", "duration": 4, "aspectRatio": "16:9", "resolution": "720p" }}'
Voeg optioneel een webhookUrl toe om een callback te ontvangen wanneer de taak is geslaagd of mislukt.
Optioneel aanvraagveld
{"input":{"prompt":"A cinematic shot of a golden retriever running through a field of sunflowers at sunset, warm rim light, shallow depth of field","duration":4,"aspectRatio":"16:9","resolution":"720p"},"webhookUrl":"https://example.com/webhooks/pollo"}
Schema
Invoervelden voor het geselecteerde eindpunt en de modus.
Veld
Type
Vereist
Beschrijving
prompt
string
Ja
Text prompt describing the content to generate.
duration
number
Nee
The duration of the generated video, in seconds.
aspectRatio
string
Nee
Output aspect ratio, as width:height (e.g. 16:9).
resolution
string
Nee
Output resolution of the generated media (e.g. 720p, 1080p, 2K, 4K). Values are case-insensitive.
Sora 2 Pro supports long, detailed prompts and generates scenes with coordinated objects, lighting, physical motion, and visual continuity across the clip.
With Sora 2 Pro on Pollo API, you can integrate text-to-video and image-to-video generation, with configurable clip durations, portrait or landscape framing, and output resolutions up to 1080p.
Key Features of Sora 2 Pro API
World Simulation
Generate dynamic scenes while maintaining the placement and appearance of surfaces, shadows, objects, and moving subjects as the camera and action progress.
Synced Audio
Generate synchronized dialogue, ambience, and sound effects alongside the video, aligning audio cues with speech, motion, and on-screen events.
Long Prompt Comprehension
Support detailed prompts for defining multiple scene beats, subject actions, staging, camera direction, and mood within a single generation.
Extended Clip Length
Generations run 4, 8, 12, 16, or 20 seconds, ideal for actions, dialogue, and short narrative sequences that require additional development time.
Physical Plausibility
Generate weight-, momentum-, and contact-aware motion for physical actions involving falling objects, liquids, collisions, and moving subjects.
Premium Resolution
Output scales to 1080p with clean detail, keeping textures, faces, and fine motion sharp enough for delivery rather than draft-only previews.
Use Cases of Sora 2 Pro API
Dialogue-Driven Scenes: Generate short spoken moments where lip motion, tone, and ambient sound align, useful for narrative apps and character-led content.
Explainer Sequences: Build multi-step visual walkthroughs from a detailed prompt, allowing actions and processes to develop across longer clips.
Simulated Environments: Produce weather, water, crowds, and traffic with coordinated motion and scene continuity for previsualization and world-building workflows.
Vertical Story Content: Create 9:16 clips sized for short-form feeds, with synced audio ready for mobile-first storytelling platforms.
Prompt-to-Scene Prototyping: Generate early visual interpretations of detailed scenes to evaluate staging, pacing, camera direction, and continuity before production.
Image-Led Motion: Convert a source image into a video with motion and synchronized audio while preserving its primary subject, composition, and visual direction.
Concept Films: Generate extended atmospheric scenes that require sustained visual, narrative, and audio continuity.
How to Use Sora 2 Pro API
Get an API Key: Create a Pollo API account and generate your key from the developer dashboard, then pass it in the x-api-key header.
Choose the Model: Send your request to the Sora 2 Pro endpoint at /generation/sora/sora-2-pro.
Add Your Inputs: Provide a prompt for text-to-video, or an image URL for image-to-video, then set length (4-20), resolution (up to 1080p), and aspectRatio (16:9 or 9:16).
Generate and Retrieve: Submit the task, poll the returned task status, or register a webhook, then download the finished video once it succeeds.
Prompting Best Practices for Sora 2 Pro API
Write the prompt like a scene brief rather than a keyword list. Describe the setting, subjects, actions, dialogue, sound, and camera movement to guide the scene structure and overall continuity.
A Simple Prompt Formula
Setting and atmosphere + subject and specific action + dialogue or sound cue + camera movement + duration-appropriate pacing
What You Should Notice
Set The World First: Name the location, time of day, and mood so the environment stays consistent across the whole clip.
Cue The Audio: Include spoken dialogue, ambient sound, music, or sound effects to guide the synchronized audio output.
Pace For Length: Adjust the number and complexity of actions based on the selected clip length.
Stage The Motion: Specify how subjects and camera move together to keep the simulation grounded and readable.
Keep Continuity Explicit: Describe what should persist, such as a character's clothing or a light source, to hold coherence over longer shots.
Example Prompts
Rain-Soaked Market Scene
"A crowded night market in the rain, vendors calling out under string lights, steam rising from food stalls. A customer haggles, laughs, and hands over cash. Slow tracking shot through the crowd, ambient chatter and sizzling sound, 12 seconds."
Kitchen Dialogue Moment
"A grandmother stirs a pot and says, 'Taste this, tell me if it needs salt,' as a teenager leans in and sips. Warm afternoon light, soft push-in, clinking spoons and gentle voices synced to their movements."
Coastal Physics Study
"Waves roll into a rocky shore, spray bursting on impact and receding with the pull of the tide, gulls crossing overhead. Wide static shot, natural morning light, layered ocean and wind sound, sustained over a long clip."
Vertical Skate Session
"A skater carves down an empty parking garage ramp, wheels rattling over concrete seams, board clacking on each turn. 9:16 vertical framing, camera following close behind, echoing garage acoustics, fast confident pacing."
Sora 2 Pro vs Veo 3.1 vs Kling 2.6
Capability
Sora 2 Pro
Veo 3.1
Kling 2.6
World simulation & coherence
✅ Strong long-scene consistency
✅ Strong scene control
✅ Good motion, less world focus
Synced audio
✅
✅
❌ Limited
Max clip length
Up to 20 seconds
Short directed clips
Short directed clips
Resolution options
720p, 1024p, 1080p
Up to 1080p
Up to 1080p
Input modes
Text and image
Text, image, reference
Text and image
Recommended For
Long, sounded, coherent scenes
Controlled cinematic shots
Fluid character motion
Why Choose Sora 2 Pro API?
Sora 2 Pro is suitable for applications that require extended scenes, synchronized audio, and visual continuity. Support for dialogue, simulated environments, and clips up to 20 seconds makes it suitable for storytelling, explainers, previsualization, and scene-based content workflows.
Through Pollo API, Sora 2 Pro can be accessed alongside other video and image models through a single API, with support for task status polling and webhooks, simplifying model evaluation, integration, and deployment.
Sora 2 Pro API FAQs
What is Sora 2 Pro?
Sora 2 Pro is OpenAI's premium video model that simulates real-world environments with synced audio and strong coherence, supporting text-to-video and image-to-video up to 20 seconds.
Does Sora 2 Pro API support text and image inputs?
Yes. You can generate from a written prompt or animate an image URL, making it flexible for both idea-first and asset-first workflows.
How long can Sora 2 Pro clips be?
Clips can run 4, 8, 12, 16, or 20 seconds, giving more room than most models for actions and dialogue to resolve within a single generation.
Does Sora 2 Pro generate audio?
Yes. It produces synced sound, aligning dialogue and ambient audio with on-screen motion so speech and events stay in time with the footage.
What resolutions and framing are available?
Sora 2 Pro outputs up to 1080p in either 16:9 wide or 9:16 vertical framing, selected per request to match your delivery format.
Why run Sora 2 Pro through Pollo API?
Pollo API provides access to Sora 2 Pro alongside other video and image models through a single integration, with API documentation, task status tracking, and webhook support for asynchronous video generation.