Skip to main content
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):
  • 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
Shared Dashboard: All API-generated content automatically appears in your magichour.ai dashboard, where you can view, manage, and share your creations.

Get Started

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

Quick Start

First request in 3 minutes.

API Reference

All endpoints in one place.

Colab Cookbook

Try every API in the browser.

Pricing & Billing

Costs, plans, and credit usage.

Integration Guide

Lifecycle, polling, and webhooks.

Video Tools

Generation, editing, audio visualization, and transformation.

Image Tools

Generation, editing, enhancement, and subject replacement.

Audio Tools

Voice generation and cloning.

Available via API: 🎥 Video Tools:
  • AI Video Editor - Edit videos using natural-language prompts
  • 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
  • Audio-to-Video - Generate video from audio and optional visual guidance
  • Auto Subtitle Generator - Add accurate subtitles to videos
  • Character Replace - Replace a person in a video with a reference character
  • 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
  • Body Swap - Place a person into a different scene
  • 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
  • Head Swap - Replace a full head while preserving the body and scene
  • 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)
  • AI Voice Cloner - Clone a voice from an audio sample and generate speech with it
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
  • 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.