Computer VisionFree tier available

Image Colorization API — Colorize Black & White Photos

Transform grayscale or vintage black and white photos into vibrant, realistically colorized images. Upload an image or pass a URL and get back a colorized version — powered by cutting-edge AI models.

See It in Action

Real examples generated by the API. See the quality for yourself.

Photo ColorizationAPI Output
Photo Colorization

Left: original black & white photo — Right: AI-colorized result with realistic colors

Features

AI Colorization

State-of-the-art deep learning model that understands context to apply realistic, natural-looking colors.

Fast Processing

Get colorized results in seconds with our optimized cloud inference pipeline.

Flexible Input

Upload a file via multipart or pass a public image URL — both work seamlessly.

Vintage Restoration

Perfect for bringing old family photos, historical images, and archival documents to life.

Natural Results

AI understands object context — skies are blue, grass is green, skin tones are realistic.

Cloud-Based

No GPU needed on your end. Fully managed cloud infrastructure handles the processing.

API Reference

1 endpoint, simple integration. Here's everything you need.

Supported Content Types

multipart/form-dataapplication/x-www-form-urlencoded
POSThttps://photocolorizer-ai.p.rapidapi.com/colorize-photo

Colorize a black and white or grayscale image using AI. Returns a JSON response with a CDN URL to the colorized image, along with image dimensions and file size.

imagefilerequired

Image file (JPEG, PNG, etc.) — use with multipart/form-data

urlstringrequired

Public URL of the image to process — use with application/x-www-form-urlencoded

Send either image (file upload) or url (form-encoded), not both.

Response Schema
{
  "image_url": "https://images.ai-engine.net/photo-colorizer-api/856a47f5-...jpg",
  "width": 1260,
  "height": 709,
  "size_bytes": 699359
}

Response

200

Returns JSON with a CDN URL to the colorized image, along with image width, height, and size in bytes.

Quick Start

Copy-paste code to get started in seconds. Replace YOUR_API_KEY with your RapidAPI key.

# File upload
curl -X POST "https://photocolorizer-ai.p.rapidapi.com/colorize-photo" \
  -H "x-rapidapi-key: YOUR_API_KEY" \
  -H "x-rapidapi-host: photocolorizer-ai.p.rapidapi.com" \
  -F "image=@old_photo.jpg"

# URL input
curl -X POST "https://photocolorizer-ai.p.rapidapi.com/colorize-photo" \
  -H "x-rapidapi-key: YOUR_API_KEY" \
  -H "x-rapidapi-host: photocolorizer-ai.p.rapidapi.com" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "url=https://example.com/bw-photo.jpg"

Pricing

Start free, scale as you grow. All plans include full API access with no credit card required for the free tier.

Free

Basic

$0Free

100 requests/mo

  • Full API access
  • All endpoints
  • Standard support

Pro

$12.99/mo

10,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support
Recommended

Ultra

$49.99/mo

50,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support

Mega

$159.99/mo

200,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support

Frequently Asked Questions

How does the image colorization API add color to black and white photos?
The image colorization API uses deep learning to analyze the content and context of a grayscale image, then applies realistic colors automatically. It understands that skies should be blue, grass green, and skin tones natural, producing vibrant results without any manual input.
What types of photos work best with AI colorization?
The API works well with old family photos, historical images, archival documents, and any grayscale or black and white photograph. It handles portraits, landscapes, and group scenes, delivering a colorized version via a CDN URL along with image dimensions and file size.
Can I colorize photos in bulk using this API?
Yes. The colorization API processes one image per request with fast turnaround times, so you can integrate it into batch workflows by sending multiple requests. It supports both file uploads and public image URLs, making it easy to automate large-scale photo colorization pipelines.

Tutorials & Guides

Learn how to integrate this API with step-by-step tutorials and real-world use cases.

Start Using Image Colorization Today

Sign up on RapidAPI to get your API key. The free tier includes generous monthly requests — no credit card required.