API Reference
Colorize old images (Normal)
Colorize old images.
Model:
colorize-imageCredit:1
post
/v1/images/colorizeAuthorization — This endpoint requires an API key. Pass it in the api-key header on every request. Learn more
Parameters
| Name | Type | Status | Description |
|---|---|---|---|
input_image | file | Required | Image file or URL to colorize. |
Responses
Image colorized successfullySingleImageResponse
| Field | Type | Description |
|---|---|---|
created | integer | Unix timestamp of when the response was created |
data | object[] | |
url | string | URL to download the result image |
curl -X POST "https://api.snapapi.ai/v1/images/colorize" \
-H "api-key: YOUR_API_KEY" \
-F "input_image=@./image.jpg"Response
{
"created": 1745827200,
"data": [
{
"url": "https://outputs.snapapi.ai/outputs/abc123.png"
}
]
}
