> ## Documentation Index
> Fetch the complete documentation index at: https://docs.magichour.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome to Magic Hour API

> Magic Hour API documentation - generate videos, images, and audio using AI.

Magic Hour API is an API for AI-powered video and image generation. You can run models for creating videos, images, and audio through a single REST API.

## API vs Web App

The Magic Hour API provides programmatic access to our most popular AI tools. Here's how it relates to our web application:

**🌐 Web App ([magichour.ai](https://magichour.ai)):**

* Full suite of 100+ AI tools and features
* User-friendly interface with templates and presets
* New features launch here first
* Perfect for creators and individual use

**⚡ API (docs.magichour.ai):**

* Core popular tools available programmatically
* Built for developers and applications
* Same underlying AI models as web app
* Features added after web app validation

<Note>
  **Shared Dashboard:** All API-generated content automatically appears in your [magichour.ai
  dashboard](https://magichour.ai/my-library), where you can view, manage, and share your creations.
</Note>

## Get Started

If you're new to Magic Hour, start here to learn the essentials and make your first API call.

<CardGroup cols={2}>
  <Card title="Quick Start" icon="forward-fast" href="/get-started/quick-start">
    Make your first request in 3 minutes.
  </Card>

  <Card title="API Reference" icon="webhook" href="/api-reference">
    Complete documentation for all endpoints.
  </Card>
</CardGroup>

<CardGroup cols={1}>
  <Card title="Try All APIs - Google Colab Cookbook" icon="code" href="https://colab.research.google.com/drive/1NTHL_lr_s-qBJ-mSecSXPzRLi9_V5JiU?usp=sharing" openInNewTab>
    Run sample code for all 22 APIs. Only requires an API key.
  </Card>
</CardGroup>

<CardGroup cols={3}>
  <Card title="Video Tools" icon="video" href="/tools/video-tools">
    Face swap, lip sync, animation, and more.
  </Card>

  <Card title="Image Tools" icon="image" href="/tools/image-tools">
    AI generation, editing, and enhancement.
  </Card>

  <Card title="Audio Tools" icon="microphone" href="/api-reference/audio-projects/ai-voice-generator">
    AI voice generation with celebrity voices.
  </Card>
</CardGroup>

<CardGroup cols={1}>
  <Card title="Pricing & Billing" icon="credit-card" href="/billing/overview">
    Understand costs, billing options, and credit usage for all API tools.
  </Card>
</CardGroup>

<br />

<Frame>
  <video src="https://d28dkohlqf5vwj.cloudfront.net/landing/landing-page-sizzle-reel.mp4" muted loop autoPlay playsInline className="rounded-lg" />
</Frame>

**Available via API:**

**🎥 Video Tools:**

* **Face Swap Video** - Replace faces in videos with realistic results
* **AI Talking Photo** - Make still photos speak with any audio
* **Animation** - Create smooth stop-motion style animations
* **Auto Subtitle Generator** - Add accurate subtitles to videos
* **Image-to-Video** - Animate static images into dynamic videos
* **Lip Sync** - Sync audio with video lip movements
* **Video-to-Video** - Apply style transfers to existing videos
* **Text-to-Video** - Generate videos from text descriptions

**🖼️ Image Tools:**

* **AI Image Generator** - Create images from text descriptions
* **Face Swap Photo** - Swap faces in static images
* **AI Clothes Changer** - Try on different outfits virtually
* **AI Face Editor** - Edit facial features with precision
* **AI GIF Generator** - Create animated GIFs from text
* **AI Image Editor** - Edit images with text prompts
* **AI Headshot Generator** - Create professional headshots
* **AI Image Upscaler** - Enhance image resolution and quality
* **AI Meme Generator** - Generate memes with AI
* **AI QR Code Generator** - Create artistic QR codes
* **Image Background Remover** - Remove backgrounds instantly
* **Photo Colorizer** - Add color to black and white photos

**🎤 Audio Tools:**

* **AI Voice Generator** - Generate speech with celebrity voices (Elon Musk, Joe Rogan, Obama, and more)

**Why choose the API:**

* **Scalable integration** - Build AI features into your applications
* **Production ready** - Enterprise-grade infrastructure and reliability
* **Cost effective** - Pay only for what you use with [transparent pricing](/billing/overview)
* **Developer friendly** - RESTful API with SDKs for Python, Node.js, Go, and Rust

Magic Hour handles the AI models, scaling, and infrastructure so you can focus on building your application.
