Sora 2 Official
Generate video from a prompt or a single reference image in supported durations.
- Text to video
- Image to video
Playground
Output
Output will appear here.
Pricing
| Option | Price per second | fal.ai | Your savings |
|---|---|---|---|
| Standard | 0.09 coins | 0.1 coins | −10% |
Quick start
Full API reference →1curl -X POST https://api.apihubs.ru/api/v1/generation/create \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "sora-2-official",6 "input": {7 "prompt": "A cinematic shot of a city at dusk",8 "aspectRatio": "16:9",9 "duration": 410 }11 }'
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | — | User's prompt |
aspectRatio | string | No | 16:9 | Aspect ratioOne of: 16:9, 9:16 |
urls | string[] | No | — | Reference image URLs (max 1) |
duration | number | No | 4 | Video duration in secondsOne of: 4, 8, 12, 16, 20 |
Frequently asked questions
How much does Sora 2 Official cost?
Sora 2 Official starts at $0.09 per second of output through the API Hubs API. You pay per use from a single prepaid balance — there is no subscription — and the final price scales with parameters such as resolution or duration.
How do I call the Sora 2 Official API?
Send a POST request to https://api.apihubs.ru/api/v1/generation/create with your API key and the model id "sora-2-official". The call returns a task id you poll, or a webhook callback when the result is ready. A ready-to-run example is in the quick start above.
What input parameters does Sora 2 Official accept?
Sora 2 Official accepts 4 input parameters, including the required field(s) prompt. Their types, defaults and allowed values are listed in the parameters table above.
What happens if a Sora 2 Official request fails?
API Hubs automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.
Can I use Sora 2 Official with the same API key as other models?
Yes. Every model on API Hubs — video, image, music and chat — shares one API key and one prepaid balance, so you can switch to Sora 2 Official without new credentials.
Other Video models
- Seedance 2.0 MiniByteDance0.016 coins/ second
- Grok Imagine 1.5 VideoxAI0.016 coins/ second
- PixVerse V6PixVerse0.024 coins/ generation
- Wan 3.0 VideoAlibaba0.05 coins/ second
- Seedance 2.0 FastByteDance0.06 coins/ second
- Seedance 1.5 ProByteDance0.068 coins/ generation
- Kling 3.0 Motion ControlKling0.07 coins/ second
- Wan 2.7 VideoAlibaba0.09 coins/ second
- Seedance 2.0ByteDance0.099 coins/ second
Guides
- Text to videoWhich text-to-video model fits the shot you have in mind, prompts that actually work, and the full API run from create to finished file.9 min read
- Image to videoTurning a still into a shot — which model to animate it with, first and last frame control, motion transfer, and the prompts that keep the subject intact.8 min read
- Going to productionKey handling, webhooks over polling, idempotency, terminal states, retry policy by error code, balance monitoring, rate limits and media storage.10 min read