Create
Video
Image
Audio
Library
Developer

Developer Hub

Your API Keys
No API keys yet
Create your first API key to start making requests.
Keep your API keys secure. Do not share them or expose them in client-side code.
Make your first API call
Test with a simple request.
curl --request POST \
     --url https://api.magichour.ai/v1/ai-image-generator \
     --header 'accept: application/json' \
     --header 'authorization: Bearer <token>' \
     --header 'content-type: application/json' \
     --data '
{
  "name": "My Ai Image image",
  "image_count": 1,
  "model": "default",
  "aspect_ratio": "1:1",
  "resolution": "auto",
  "style": {
    "prompt": "Cool image",
    "tool": "ai-anime-generator"
  }
}
'
BASE URL
https://api.magichour.ai/v1
View full API reference
Resources
AI Agent Skills
Create finished videos with Codex or Claude.
Plans & credit packs
Add credits for API generations.
Usage pricing
Pay for API usage as you scale.
Quick Start
Make your first API call in minutes.
API Cookbook
Runnable examples in a Colab notebook.
SDKs
Official client libraries on GitHub.
Community
Get help from our Discord community.
API Calculator
Use our calculator to estimate your API costs.
Tier
Estimated monthly cost

$0.3600