Openai Sora
Playground
Try it on WavespeedAI!Sora is OpenAI’s multi-modal model that generates videos from text, images, or existing video inputs. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
OpenAI Sora
OpenAI Sora is OpenAI’s groundbreaking text-to-video generation model that creates stunning, cinematic videos from text descriptions. Generate high-quality videos with realistic motion, complex scenes, and cinematic style — from simple prompts to detailed descriptions.
Why It Stands Out
- Cinematic quality: Produces professional-grade videos with realistic motion and visual fidelity.
- Complex scene understanding: Handles detailed prompts with multiple subjects, actions, and environments.
- Prompt Enhancer: Built-in AI-powered prompt optimization for better results.
- Flexible resolutions: Choose from 480p to Full HD 1080p based on your needs.
- Multiple aspect ratios: Support for square, portrait, and landscape formats at each resolution.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the video you want to generate. |
| size | No | Output resolution and aspect ratio (default: 1280×720). |
Supported Sizes
| Size | Resolution | Aspect Ratio | Best For |
|---|---|---|---|
| 480×480 | 480p | 1:1 | Quick previews, social squares |
| 480×854 | 480p | 9:16 | Mobile previews, Stories drafts |
| 854×480 | 480p | 16:9 | Widescreen previews |
| 720×720 | 720p | 1:1 | Instagram, social media squares |
| 720×1280 | 720p | 9:16 | TikTok, Reels, Shorts |
| 1280×720 | 720p | 16:9 | YouTube, standard widescreen |
| 1080×1080 | 1080p | 1:1 | High-quality social squares |
| 1080×1920 | 1080p | 9:16 | Premium vertical content |
| 1920×1080 | 1080p | 16:9 | Full HD widescreen, professional |
How to Use
- Write a prompt describing the scene, action, and style you want. Use the Prompt Enhancer for AI-assisted optimization.
- Select size — choose the resolution and aspect ratio that fits your use case.
- Click Run and wait for your video to generate.
- Preview and download the result.
Best Use Cases
- Film & Storytelling — Generate cinematic scenes for short films and narratives.
- Marketing & Advertising — Produce high-quality promotional videos and ad creatives.
- Social Media Content — Create platform-optimized videos for TikTok, YouTube, Instagram, and more.
- Concept Visualization — Bring creative ideas to life before full production.
- Music Videos — Generate visual content for songs and audio tracks.
Pricing
| Resolution Tier | Sizes | Price per video |
|---|---|---|
| 480p | 480×480, 480×854, 854×480 | $0.20 |
| 720p | 720×720, 720×1280, 1280×720 | $0.45 |
| 1080p | 1080×1080, 1080×1920, 1920×1080 | $1.30 |
Pro Tips for Best Quality
- Be detailed in your prompt — describe subject appearance, action, environment, lighting, mood, and camera style.
- Include cinematic keywords like “35mm film,” “slow motion,” “tracking shot,” or “dramatic lighting.”
- Specify the visual style: “movie trailer style,” “documentary,” “animation,” etc.
- Start with 480p or 720p for drafts, then generate final versions at 1080p.
- Choose the right aspect ratio for your target platform before generating.
Notes
- Processing time varies based on resolution and current queue load.
- Higher resolutions produce better quality but take longer to generate.
- Please ensure your prompts comply with OpenAI’s content guidelines.
New Model
- Try Sora 2: https://wavespeed.ai/models/openai/sora-2
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/openai/sora" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
"size": "480*480"
}'
# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"
Parameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| prompt | string | Yes | - | The positive prompt for the generation. | |
| size | string | No | 480*480 | 480*480, 480*854, 854*480, 720*720, 720*1280, 1280*720, 1080*1080, 1080*1920, 1920*1080 | The size of the generated media in pixels (width*height). |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Array of URLs to the generated content (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.has_nsfw_contents | array | Array of boolean values indicating NSFW detection for each output |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction, the ID of the prediction to get |
| data.model | string | Model ID used for the prediction |
| data.outputs | string | Array of URLs to the generated content (empty when status is not completed). |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |