A collection of course materials and examples.
Each project has its own dependencies and setup instructions.
Navigate to a project folder and install its requirements:
cd <project-name>
pip install -r requirements.txtMost projects require API keys or configuration. Create a .env file in each project directory:
# Example .env file
OPENAI_API_KEY=your_api_key_hereOpenAI Sora API video generation examples - starter scripts, CLI tool, and FastAPI server.
Legacy: OpenAI shut down the Sora API (Videos API, sora-2, sora-2-pro) on 2026-09-24, so these examples no longer run. See sora-2/README.md.
cd sora-2
pip install -r requirements.txt