AI Manga Image Colorizer
AIFOR CREATORS
AI Manga Image Colorizer
Colorize black-and-white manga and anime panels using OpenAI's GPT Image model.
Upload one or more B&W panel image URLs, provide your own OpenAI API key, and receive vibrant colorized versions. Original line art and shading are preserved while scene-appropriate, manga-style colors are applied automatically.
What It Does
- Accepts a list of direct image URLs (JPG, PNG, or WebP)
- Downloads each image and submits it to the OpenAI GPT Image edit endpoint
- Returns colorized results including a hosted image URL, processing time, and status
- Handles failures gracefully — each image produces a record regardless of outcome
Inputs
| Field | Type | Required | Description |
|---|---|---|---|
imageUrls |
array of strings | Yes | Direct URLs to B&W manga/anime panel images |
openaiApiKey |
string | Yes | Your OpenAI API key (starts with sk-). Get one at https://platform.openai.com/api-keys |
colorStyle |
string | No | Colorization style prompt. Default: vibrant manga-style colors appropriate to the scene and characters |
outputSize |
string | No | Output image size: 1024x1024 (default), 1024x1536, 1536x1024, or auto |
maxItems |
integer | No | Maximum number of panels to colorize. Defaults to all provided |
Output
Each processed image produces one dataset record:
| Field | Type | Description |
|---|---|---|
sourceUrl |
string | Original input image URL |
colorizedUrl |
string | URL to the colorized image in Apify Key-Value Store |
style |
string | Colorization prompt used |
outputSize |
string | Output dimensions |
processingMs |
number | API round-trip time in milliseconds |
model |
string | OpenAI model used (gpt-image-1) |
colorizedAt |
string | ISO 8601 timestamp |
status |
string | ok or error |
errorMsg |
string | Error details when status is error |
Requirements
- OpenAI API key — this actor calls the OpenAI Images Edit API. You must supply your own key. Charges apply per image processed (see OpenAI pricing).
- Supported image formats: JPG, JPEG, PNG, WebP, GIF
- Maximum image size: 20 MB per file
Example
Input:
{
"imageUrls": [
"https://example.com/manga-panel-1.jpg"
],
"openaiApiKey": "sk-...",
"colorStyle": "vibrant manga-style colors appropriate to the scene and characters",
"outputSize": "1024x1024"
}
Output record (success):
{
"sourceUrl": "https://example.com/manga-panel-1.jpg",
"colorizedUrl": "https://api.apify.com/v2/key-value-stores/abc123/records/panel_xxx",
"style": "vibrant manga-style colors appropriate to the scene and characters",
"outputSize": "1024x1024",
"processingMs": 8420,
"model": "gpt-image-1",
"colorizedAt": "2026-06-10T12:00:00.000Z",
"status": "ok",
"errorMsg": null
}
Notes
- Colorized images are stored in Apify Key-Value Store (
colorized-panels) accessible via the returned URLs during the run's data retention window. - Up to 2 images are processed concurrently to maximize throughput while respecting OpenAI rate limits.
- Images that fail (network error, unsupported format, API error) still produce a dataset record with
status: "error"— the run does not abort on partial failures.