Prompt Buddy logoPrompt Buddy

openai · OpenAI Platform Docs

Video generation with Sora | OpenAI API

Explains how to use the Sora API to generate video content from text prompts, including implementation details for video generation workflows.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Video generation with Sora | OpenAI API

Explains how to use the Sora API to generate video content from text prompts, including implementation details for video generation workflows.

When To Use

Use when you need to implement a workflow for generating video content from text prompts using the Sora API.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/video-generation-with-sora-openai-api-workflow-guide.mdA guide detailing the Sora video generation models and the deprecation notice for the Videos API.Questions about a guide detailing the Sora video generation models and the deprecation notice for the Videos API.
examples/video-generation-with-sora-openai-api-openai-sora-video-generation-nodej.textA Node.js code example demonstrating how to initiate a video generation request using the Sora model via the OpenAI API.Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to initiate a video generation request using the Sora model via the OpenAI API.
examples/video-generation-with-sora-openai-api-openai-sora-video-generation-pytho.textA Python script demonstrating how to initiate a video generation request using the Sora model via the OpenAI client.Exact payloads, commands, or snippets shown in A Python script demonstrating how to initiate a video generation request using the Sora model via the OpenAI client.
examples/video-generation-with-sora-openai-api-openai-sora-video-generation-curl-.textA curl command demonstrating how to request video generation using the Sora model via a multipart/form-data POST request.Exact payloads, commands, or snippets shown in A curl command demonstrating how to request video generation using the Sora model via a multipart/form-data POST requ...
examples/video-generation-with-sora-openai-api-openai-sora-video-generation-api-r.textA sample JSON response object representing the status and metadata of a queued Sora video generation request.Exact payloads, commands, or snippets shown in A sample JSON response object representing the status and metadata of a queued Sora video generation request.
examples/video-generation-with-sora-openai-api-openai-sora-video-generation-nodej-2.textA Node.js code example demonstrating how to use the OpenAI API to create and poll for a video generation task using the Sora model.Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to use the OpenAI API to create and poll for a video generation task using t...
examples/video-generation-with-sora-openai-api-openai-sora-python-video-createand.textA Python script using the AsyncOpenAI client to asynchronously create and poll for a video generation task using the Sora model.Exact payloads, commands, or snippets shown in A Python script using the AsyncOpenAI client to asynchronously create and poll for a video generation task using the...
examples/video-generation-with-sora-openai-api-openai-sora-video-generation-api-r-2.textA sample JSON response object from the Sora API showing video generation status, progress, and metadata.Exact payloads, commands, or snippets shown in A sample JSON response object from the Sora API showing video generation status, progress, and metadata.
examples/video-generation-with-sora-openai-api-openai-sora-video-completed-event-.textA JSON-formatted webhook event payload representing a completed video generation status from the Sora API.Exact payloads, commands, or snippets shown in A JSON-formatted webhook event payload representing a completed video generation status from the Sora API.
examples/video-generation-with-sora-openai-api-openai-sora-video-generation-nodej-3.textA Node.js code example demonstrating how to initiate a video generation request using the Sora model via the OpenAI API.Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to initiate a video generation request using the Sora model via the OpenAI API.
examples/video-generation-with-sora-openai-api-openai-video-generation-sora-curl-.textA curl command demonstrating how to retrieve video content from the Sora API using a video ID.Exact payloads, commands, or snippets shown in A curl command demonstrating how to retrieve video content from the Sora API using a video ID.
examples/video-generation-with-sora-openai-api-openai-sora-video-generation-pytho-2.textA Python script using the OpenAI client to initiate a video generation request with the Sora model.Exact payloads, commands, or snippets shown in A Python script using the OpenAI client to initiate a video generation request with the Sora model.
examples/video-generation-with-sora-openai-api-openai-api-video-generation-sora-t.textCurl commands to download video thumbnails and spritesheets from the OpenAI Sora API.Exact payloads, commands, or snippets shown in Curl commands to download video thumbnails and spritesheets from the OpenAI Sora API.
examples/video-generation-with-sora-openai-api-openai-sora-video-generation-curl--2.textA curl command demonstrating how to request video generation using the Sora model with a text prompt and an image reference.Exact payloads, commands, or snippets shown in A curl command demonstrating how to request video generation using the Sora model with a text prompt and an image ref...
examples/video-generation-with-sora-openai-api-openai-video-generation-sora-curl--2.textA curl command demonstrating a multipart/form-data POST request to the OpenAI Sora video generation endpoint.Exact payloads, commands, or snippets shown in A curl command demonstrating a multipart/form-data POST request to the OpenAI Sora video generation endpoint.
examples/video-generation-with-sora-openai-api-openai-sora-video-generation-curl--3.textA curl command demonstrating how to send a POST request to the OpenAI Sora API to generate a video using a specific model and prompt.Exact payloads, commands, or snippets shown in A curl command demonstrating how to send a POST request to the OpenAI Sora API to generate a video using a specific m...
examples/video-generation-with-sora-openai-api-openai-video-generation-sora-curl--3.textA curl command demonstrating how to send a POST request to the OpenAI video extensions endpoint to continue a video scene using a prompt.Exact payloads, commands, or snippets shown in A curl command demonstrating how to send a POST request to the OpenAI video extensions endpoint to continue a video s...
examples/video-generation-with-sora-openai-api-openai-video-edits-curl-request.textA curl command demonstrating how to send a POST request to the OpenAI video edits endpoint with a video ID and a prompt.Exact payloads, commands, or snippets shown in A curl command demonstrating how to send a POST request to the OpenAI video edits endpoint with a video ID and a prompt.
examples/video-generation-with-sora-openai-api-openai-sora-video-edit-curl-reques.textA curl command demonstrating how to use the OpenAI Sora API to edit a video by modifying its color palette via a multipart/form-data POST request.Exact payloads, commands, or snippets shown in A curl command demonstrating how to use the OpenAI Sora API to edit a video by modifying its color palette via a mult...
examples/video-generation-with-sora-openai-api-openai-sora-video-generation-reque.textA JSON payload containing custom IDs, HTTP methods, and model parameters for generating videos using the Sora API.Exact payloads, commands, or snippets shown in A JSON payload containing custom IDs, HTTP methods, and model parameters for generating videos using the Sora API.
examples/video-generation-with-sora-openai-api-openai-api-video-list-curl-request.textA curl command to list generated videos using the OpenAI API with pagination and ordering parameters.Exact payloads, commands, or snippets shown in A curl command to list generated videos using the OpenAI API with pagination and ordering parameters.
examples/video-generation-with-sora-openai-api-openai-api-video-delete-curl.textA curl command demonstrating how to delete a specific video resource using the OpenAI API.Exact payloads, commands, or snippets shown in A curl command demonstrating how to delete a specific video resource using the OpenAI API.

What This Skill Covers

  • Explore ############ The Sora 2 video generation models and Videos API are deprecated and will shut down on September 24, 2026. This affects Videos API, sora...
  • 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