Skip to main content

Try Sora 2 Pro in the Workbench

Run this model interactively, tune parameters, and compare outputs.
Model ID: openai-sora-2-pro Sora 2 Pro is a video generation model. It excels in producing higher-quality videos up to 12 seconds long at 1080p resolution with synchronized native audio, multi-scene reasoning, and improved narrative coherence compared to standard Sora 2, making it suitable for professional projects requiring polished outputs. Some other noteworthy features of Sora 2 Pro include text-to-video and image-to-video generation, timeline prompting for precise event timing, and enhanced physics simulation for realistic motion.

Example request

Use the Workbench as a request builder: configure parameters for this model in the UI, then open the API tab to copy the exact cURL or Python call.
This blocks until the video is ready (typically 5-15 minutes). Prefer Async or Async with SSE for anything beyond quick experimentation.See the video generation reference for more details.
curl -X POST https://hub.oxen.ai/api/ai/videos/generate \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OXEN_API_KEY" \
  -d '{
  "model": "openai-sora-2-pro",
  "prompt": "An ox being given a speeding ticket by a police officer. The ox is driving a Porsche 911, with sunglasses and a hat on like a high profile celebrity."
}'

Fetch model details

The models endpoint returns the full model object, including its json_request_schema.
curl -H "Authorization: Bearer $OXEN_API_KEY" https://hub.oxen.ai/api/ai/models/openai-sora-2-pro

Request parameters

Required parameters

FieldTypeDefaultDescription
promptstring"An ox being given a speeding ticket by a police officer. The ox is driving a Porsche 911, with sunglasses and a hat on like a high profile celebrity."Text description of the scene to generate, or instructions for how to transform the input image.

Optional parameters

FieldTypeDefaultDescription
input_imagestringOptional image used as the first frame. The image must exactly match the target output dimensions. Valid dimensions are 720x1280, 1280x720, 1024x1792, or 1792x1024. Format: uri.
aspect_ratiostring"landscape"Target video orientation. Portrait outputs are vertical, landscape outputs are horizontal. Valid dimensions depend on the selected resolution. One of: landscape, portrait.
resolutionstring"standard"Output resolution. Standard produces 720x1280 (portrait) or 1280x720 (landscape). High produces 1024x1792 (portrait) or 1792x1024 (landscape). One of: standard, high.
secondsstring"4"Total video length in seconds. One of: 4, 8, 12.