openai · OpenAI Platform Docs
Video generation with Sora
Teaches the asynchronous workflow for generating, managing, and retrieving videos using the Sora API, including model selection between Sora 2 and Sora 2 Pro, job polling or webhook implementation, and video editing c...
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Video generation with Sora
Teaches the asynchronous workflow for generating, managing, and retrieving videos using the Sora API, including model selection between Sora 2 and Sora 2 Pro, job polling or webhook implementation, and video editing c...
When To Use
Use when you need to programmatically create, extend, or edit videos using natural language prompts or image references via the Sora API.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/video-generation-with-sora-workflow-guide.md | A guide explaining the capabilities, models, and usage of OpenAI's Sora video generation technology. | Questions about a guide explaining the capabilities, models, and usage of OpenAI's Sora video generation technology. |
examples/video-generation-with-sora-openai-sora-video-generation.python | A Python script demonstrating how to initiate a video generation request using the OpenAI Sora model. | Exact payloads, commands, or snippets shown in A Python script demonstrating how to initiate a video generation request using the OpenAI Sora model. |
examples/video-generation-with-sora-openai-sora-video-generation-curl-request.bash | A curl command demonstrating how to request video generation using the Sora model via a POST request. | Exact payloads, commands, or snippets shown in A curl command demonstrating how to request video generation using the Sora model via a POST request. |
examples/video-generation-with-sora-openai-sora-video-generation-api-response.shell | A shell representation of a JSON response object containing video generation status, model details, and metadata. | Exact payloads, commands, or snippets shown in A shell representation of a JSON response object containing video generation status, model details, and metadata. |
examples/video-generation-with-sora-openai-sora-video-generation.javascript | A JavaScript code example demonstrating how to use the OpenAI client to create and poll for a video generation request using the Sora model. | Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to use the OpenAI client to create and poll for a video generation reques... |
examples/video-generation-with-sora-openai-sora-video-generation-python-asyncio.python | A Python script using AsyncOpenAI to create and poll for a video generation task using the Sora model. | Exact payloads, commands, or snippets shown in A Python script using AsyncOpenAI to create and poll for a video generation task using the Sora model. |
examples/video-generation-with-sora-openai-sora-video-generation-status-polling.shell | A shell script demonstrating how to poll the status of a video generation request using the Sora API. | Exact payloads, commands, or snippets shown in A shell script demonstrating how to poll the status of a video generation request using the Sora API. |
examples/video-generation-with-sora-openai-sora-video-event-webhook-payload.text | A JSON payload representing a video generation event notification for Sora, including completed or failed status types. | Exact payloads, commands, or snippets shown in A JSON payload representing a video generation event notification for Sora, including completed or failed status types. |
examples/video-generation-with-sora-openai-sora-video-generation-2.javascript | A JavaScript code example demonstrating how to initiate a video generation request and poll for status using the OpenAI Sora API. | Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to initiate a video generation request and poll for status using the Open... |
examples/video-generation-with-sora-openai-video-generation-sora-curl-retrieval.bash | A bash curl command to retrieve video content from the Sora video generation API using a video ID. | Exact payloads, commands, or snippets shown in A bash curl command to retrieve video content from the Sora video generation API using a video ID. |
examples/video-generation-with-sora-openai-sora-video-generation-2.python | A Python script demonstrating how to initiate a video generation request using the Sora model and poll for its status. | Exact payloads, commands, or snippets shown in A Python script demonstrating how to initiate a video generation request using the Sora model and poll for its status. |
examples/video-generation-with-sora-openai-sora-video-download-curl.shell | Shell commands using curl to download video thumbnails and spritesheets from the OpenAI Sora API. | Exact payloads, commands, or snippets shown in Shell commands using curl to download video thumbnails and spritesheets from the OpenAI Sora API. |
examples/video-generation-with-sora-openai-sora-video-generation-curl-request.shell | A shell command using curl to request video generation from the Sora model with a text prompt and image reference. | Exact payloads, commands, or snippets shown in A shell command using curl to request video generation from the Sora model with a text prompt and image reference. |
examples/video-generation-with-sora-openai-video-generation-characters-curl-reque.shell | A curl command demonstrating how to upload a video file to the OpenAI characters endpoint for video generation. | Exact payloads, commands, or snippets shown in A curl command demonstrating how to upload a video file to the OpenAI characters endpoint for video generation. |
examples/video-generation-with-sora-openai-sora-video-generation-curl-request-2.shell | A curl command demonstrating how to request video generation using the Sora model via the OpenAI API. | Exact payloads, commands, or snippets shown in A curl command demonstrating how to request video generation using the Sora model via the OpenAI API. |
examples/video-generation-with-sora-openai-video-generation-extensions-curl-reque.shell | A curl command demonstrating how to request a video extension using the OpenAI API. | Exact payloads, commands, or snippets shown in A curl command demonstrating how to request a video extension using the OpenAI API. |
examples/video-generation-with-sora-openai-video-generation-sora-edit-curl.shell | A curl command demonstrating how to request a video edit using the Sora API by providing a video ID and a text prompt. | Exact payloads, commands, or snippets shown in A curl command demonstrating how to request a video edit using the Sora API by providing a video ID and a text prompt. |
examples/video-generation-with-sora-openai-sora-video-edit-curl-request.shell | A curl command demonstrating how to use the Sora API to edit an existing video by modifying its color palette via a multipart form-data request. | Exact payloads, commands, or snippets shown in A curl command demonstrating how to use the Sora API to edit an existing video by modifying its color palette via a m... |
examples/video-generation-with-sora-openai-sora-video-generation-request-batch.jsonl | A JSONL file containing a batch of POST requests for generating videos using the Sora model with specific prompts and parameters. | Exact payloads, commands, or snippets shown in A JSONL file containing a batch of POST requests for generating videos using the Sora model with specific prompts and... |
examples/video-generation-with-sora-openai-video-generation-list-videos-curl.shell | A curl command to list generated videos using the OpenAI API with limit, after, and order parameters. | Exact payloads, commands, or snippets shown in A curl command to list generated videos using the OpenAI API with limit, after, and order parameters. |
examples/video-generation-with-sora-openai-sora-video-delete-curl.shell | A shell command using curl to delete a specific video resource via the OpenAI Sora API. | Exact payloads, commands, or snippets shown in A shell command using curl to delete a specific video resource via the OpenAI Sora API. |
What This Skill Covers
- Sora is OpenAI’s newest frontier in generative media – a state-of-the-art video model capable of creating richly detailed, dynamic clips with audio from natu...
- Main sections:
Overview,Models,Sora 2,Sora 2 Pro,Generate a video.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.openai.com/api/docs/guides/video-generation.md
