Prompt Buddy logoPrompt Buddy

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...

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/video-generation-with-sora-workflow-guide.mdA 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.pythonA 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.bashA 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.shellA 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.javascriptA 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.pythonA 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.shellA 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.textA 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.javascriptA 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.bashA 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.pythonA 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.shellShell 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.shellA 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.shellA 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.shellA 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.shellA 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.shellA 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.shellA 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.jsonlA 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.shellA 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.shellA 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. 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