Photo Colorizer API for Developers

Photo Colorizer API

Restore historical stills, sketches, and grayscale assets with believable modern color palettes.

Free credits on signup
Transparent per-credit pricing
No watermarks with paid plans or credit packs
Subscriptions, credit packs, or usage-based billing
Auto-scaling

Trusted by teams at

Everything You Need to Ship Photo Colorizer

Great for genealogy products, museum archives, and print services digitizing old media.

Authentic Tones
Adds natural skin, fabric, and environmental hues instead of flat tints.
Archival Pipelines
Batch-ingest scanned negatives and glass plates automatically.
Portrait Sensitivity
Handles faces carefully to avoid cartoonish skin shifts.
Fast Processing
Interactive enough for consumer-facing heritage apps.
Auto-Scaling Infrastructure
Process entire archives when donors upload thousands of scans.
Commercial-Ready
Offer paid restoration tiers with predictable per-image economics.

Integrate in 3 Steps

Bring grayscale libraries into color with one integration.

1
Get Your API Key
Sign up free and generate an API key from the Developer dashboard. You get free credits to start.
2
Upload a Grayscale Image
Reference image_file_path on POST /v1/photo-colorizer to create a colorized still.
3
Get Results & Scale
Save the project ID. Poll GET /v1/image-projects/{id} until the job completes, then get the file URLs from downloads.
Get Started Free

Code Examples

Photo Colorizer in a few lines of code. Install an SDK or use the REST API directly.

from magic_hour import Client
from os import getenv

client = Client(token=getenv("MAGIC_HOUR_API_KEY"))
res = client.v1.photo_colorizer.generate(
    assets={"image_file_path": "/path/to/1234.png"},
    name="My Photo Colorizer image",
    wait_for_completion=True,
    download_outputs=True,
    download_directory="."
)
API Docs

Estimate Your API Costs

Choose your settings and volume to estimate the credits and cost.

API Calculator

How will you use the API?
For projects with recurring generation needs.
Estimated monthly usage

5,000 Credits

$0.0158/image
Based on your selected model, resolution, and usage volume. Rate assumes you use all included credits.
Best plan for your usage

Creator

For social content and everyday creation
$19
/ month
Billed monthly
-37%
$19
$12
/ month · $144 billed yearly
Save $84 compared to monthly
12,000 credits per month
Up to 8.3 min of video
Up to 2,400 images
OR
All payment options
Estimates in USD. Final price and currency shown at checkout.

Photo Colorizer API Pricing

Subscription plans for standard usage.

Need usage-based billing?

Email us or message us in Intercom for monthly billing with graduated volume discounts.

Built for Builders

See how developers use the Photo Colorizer API to power real products.

Genealogy & History
Let families preview ancestors in color instantly.
Museums & Archives
Digitize exhibitions with respectful color restoration.
Documentary
Prep B-roll stills for color-graded films.
Print Shops
Upsell restoration services on upload flows.
Social Nostalgia
Power #ThrowbackThursday filters with authentic palettes.
Games
Colorize concept art archives for remasters.
Try before integrating

Try Photo Colorizer Free — No Code Required

Test quality first with the free tool, then plug the same output quality into your app with the API when you are ready.

Photo Colorizer API — Frequently Asked Questions

Heavy damage may need manual cleanup first; colorization works best on reasonably clean grayscale inputs.

POST /v1/photo-colorizer with assets.image_file_path.

Results are plausible rather than historically perfect—disclose AI enhancement to users.

Fire parallel jobs per asset; Magic Hour scales workers automatically.

Python uses photo_colorizer.generate; Node uses photoColorizer.generate.

Each output uses the photo colorizer rate from pricing documentation.

Refer to plan-specific max dimensions in the API reference.

docs.magichour.ai covers errors, limits, and example responses.

Magic Hour offers subscription plans starting at $19/month (Creator), $39/month (Pro), and $99/month (Business), each including a monthly credit allotment. Credits are charged per image. One-time credit packs add credits without a subscription. Usage-based billing with graduated volume discounts is available by request. A free tier with credits is available on signup — no credit card required.

Sign up at magichour.ai/developer — no credit card required. You'll receive free credits and an API key immediately. The key works across all Magic Hour API endpoints including Photo Colorizer. Start making API calls in minutes using our Python, Node.js, Go, or Rust SDKs.

New accounts get free credits to test supported free-tier API endpoints. Some models and resolutions require a paid plan; check the current endpoint page and pricing before integrating.

Start Building with the Magic Hour Photo Colorizer API

Free credits on signup. SDKs for Python, Node.js, Go, and Rust. Production-ready in minutes.