Home/APIs/Image Colorization
Computer VisionFree tier available

Breathe color into black & white photos with AI

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 temporary URL to the colorized image.

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
{
  "statusCode": 200,
  "body": {
    "imageUrl": "https://...colorized-image.jpg"
  }
}

Response

200

Returns JSON with a temporary URL to the colorized image. The URL is valid for approximately 1 hour.

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

30 requests/mo

  • Full API access
  • All endpoints
  • Standard support

Pro

$12.99/mo

5,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support
Recommended

Ultra

$22.99/mo

10,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support

Mega

$92.99/mo

50,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support

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.