Skip to main content

Overview

The Magic Hour API Cookbook is a comprehensive Google Colab notebook containing working examples for all 22 APIs. Simply add your API key and start experimenting with:
  • All video tools (Animation, Face Swap, Lip Sync, etc.)
  • All image tools (Image Generator, Face Editor, Upscaler, etc.)
  • All audio tools (Voice Generator)

Open Google Colab Cookbook

Launch the notebook in Google Colab. Just add your API key and run any example.

What’s Included

The cookbook includes:
  • Working code samples for all 22 APIs
  • Pre-configured parameters optimized for fast execution
  • Error handling examples
  • Best practices and tips

Getting Started

  1. Get your API key - If you haven’t already, create an API key
  2. Open the notebook - Click the link above to open in Google Colab
  3. Add your API key - Set it in the first cell
  4. Run any example - Execute any code cell to try that API
No installation required: Google Colab runs Python in your browser with all dependencies pre-installed.