AvailableOpenAIVideoAsync
sora-2-pro

Build next-gen apps with sora-2-pro

API Code Example

Pricing

TokenLab Price

$0.21 - $0.49

Per Second

Discount: 30%

One-click test

Sign in once and Web Agent keeps this model, prompt, and request preset for you.

Test sora-2-pro in Web Agent. Run the recommended text-to-video request at /v1/videos/generations, then show request body, task id, poll URL or final status.

API workbench

The default route for production. The code sample below uses this endpoint with the format you pick.

text-to-videoTokenLab endpoint
POST/v1/videos/generations
curl -X POST "https://api.tokenlab.sh/v1/videos/generations" \
  -H "Authorization: Bearer sk-xxx" \
  -H "Content-Type: application/json" \
  -d '{
  "operation": "text-to-video",
  "duration": 4,
  "aspect_ratio": "16:9",
  "resolution": "1280x720",
  "output_audio": true,
  "model": "sora-2-pro",
  "prompt": "Cinematic sunrise over a calm lake with gentle camera motion."
}'

Use cases

01

Storyboard tests

Spin up motion concepts and confirm task status flow before a full pipeline.

02

Social clips

Prototype short launch videos, product shots, and campaign cuts in minutes.

03

Async flow check

Trigger a task, watch it poll, and inspect the final payload — all from one page.

04

Side-by-side test

See real response quality, latency, and price before this becomes your production default.

Prompt examples

Generate an 8-second cinematic product reveal with a slow camera push.

Storyboard a social clip for a new AI API feature.

Run image-to-video from this product shot and walk me through the task status flow.

FAQ

How much does sora-2-pro cost?

On TokenLab, sora-2-pro costs $0.21-$0.49 Per Second. The pricing table above shows the full breakdown.

What is sora-2-pro best for?

sora-2-pro is a strong fit for Text to Video, Image to Video. You can call it through TokenLab with one API key.

How do I call the sora-2-pro API?

Get a TokenLab API key, then send your request to https://api.tokenlab.sh/v1/videos/generations. The API workbench above has a recommended endpoint and copy-ready code.

Which endpoint should sora-2-pro use?

Use https://api.tokenlab.sh/v1/videos/generations as the default for sora-2-pro. If a provider-native format is supported, the API workbench shows that endpoint too.

Can I test sora-2-pro before integrating it?

Yes. Try in Web Agent opens a ready test for sora-2-pro and keeps your prompt after sign-in, so you don’t lose context.

Which operations does sora-2-pro support?

sora-2-pro supports image-to-video, text-to-video. Pick an operation in the API workbench above to see the matching endpoint and code sample.

Related Models