Automatically add realistic color to black-and-white images.

POST /image/colorize

Uses advanced colorization algorithms to transform black-and-white or grayscale images into vibrant, full-color versions.

  • Intelligently applies color to enhance photos
  • Preserves original details and textures
  • Supports various image formats

Ideal for restoring old photos, enhancing grayscale images, and creating dynamic visual content.

application/json

Body Required

Responses

  • 200 application/json

    Default Response

    Hide response attributes Show response attributes object
  • 400 application/json

    Invalid request error

    Hide response attributes Show response attributes object
  • 401 application/json

    Authorization error

    Hide response attributes Show response attributes object
  • 500 application/json

    Internal server error

    Hide response attributes Show response attributes object
POST /image/colorize
curl \
 -X POST https://api.itsrose.rest/image/colorize \
 -H "Content-Type: application/json" \
 -d '{"init_image":"https://scdn.lovita.io/rose_ayank_david.jpg"}'
Request examples
{
  "init_image": "https://scdn.lovita.io/rose_ayank_david.jpg"
}
Response examples (200)
{
  "status": true,
  "message": "success",
  "result": {
    "images": [
      "string"
    ],
    "backend_processing_time": 0
  }
}
Response examples (400)
{
  "status": false,
  "message": "string",
  "result": {}
}
Response examples (401)
{
  "status": false,
  "message": "string",
  "result": {}
}
Response examples (500)
{
  "status": false,
  "message": "string",
  "result": {}
}