sora

Automate Sora video generation, remixing, polling, and downloading via CLI.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/syl2042/codex_skills --skill sora-syl2042
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sora
Source: https://github.com/syl2042/codex_skills/tree/main/sora
Command: npx skills add https://github.com/syl2042/codex_skills --skill sora-syl2042

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openai, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Sora enables teams to generate and manage short videos programmatically, replacing manual, time-consuming video production tasks with a deterministic CLI workflow.

Core Features & Use Cases

  • Generate new videos from prompts using the bundled Sora CLI.
  • Remix existing videos by ID, poll status, and download assets (video/thumbnail/spritesheet).
  • Batch-create multiple videos from a JSONL file for scalable production.

Quick Start

Run the bundled CLI (scripts/sora.py) with a prompt to generate your first Sora video.

Frequently Asked Questions about sora

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Sora video generation from the command line?

Automating Sora video generation via the command line allows teams to programmatically create videos by running the bundled CLI script with a text prompt, replacing manual video production with a deterministic workflow.

Can I batch-create Sora videos from a JSONL file?

Yes, you can batch-create Sora videos by processing a JSONL file through the CLI, enabling scalable production of multiple video tasks asynchronously across different projects.

Do I need an OpenAI API key to run Sora video generation workflows?

Yes, you need an active OPENAI_API_KEY and access to the Sora API to authenticate and execute video generation, polling, and downloading tasks through the CLI.

How do I poll and download Sora video assets programmatically?

Polling and downloading Sora video assets programmatically involves using the CLI to check asynchronous job status with retries, then fetching the generated video, thumbnail, or spritesheet assets locally.

What's the best way to remix existing Sora videos by ID?

Remixing existing Sora videos by ID is handled directly through the CLI, which takes the video identifier to generate a remixed variation and supports subsequent polling and downloading of the new assets.

Why do asynchronous Sora video jobs need retries and polling?

Asynchronous Sora video jobs require retries and polling because video generation is a time-consuming background process, meaning the CLI must continuously check job status until the final assets are ready for download.