SnapEditDocs
API HomeGet API Key
API Reference

Enhance art/cartoon image

enhance-art-image

Upscale and enhance art, anime, or cartoon images. Supports input images with maximum width and height <= 1500 px.

post/v1/images/enhance-art

Credit cost: 2 (2x), 4 (4x)

Authorization β€” This endpoint requires an API key. Pass it in the api-key header on every request. See the quickstart

Body

NameTypeStatusDescription
input_image
fileRequiredImage file or URL to enhance. Maximum width and height must be <= 1500 px.
zoom_factor
stringRequiredUpscale factor. 2 for 2x, 4 for 4x resolution.
24

Responses

Image enhanced successfullySingleImageResponse

NameTypeDescription
createdintegerUnix timestamp of when the response was created
dataobject[]
urlstringURL to download the result image
curl -X POST "https://api.snapapi.ai/v1/images/enhance-art" \
  -H "api-key: YOUR_API_KEY" \
  -F "input_image=@./image.jpg" \
  -F "zoom_factor=2"
Response
{
  "created": 1745827200,
  "data": [
    {
      "url": "https://outputs.snapapi.ai/outputs/abc123.png"
    }
  ]
}

Examples

(2 examples)

Input

Input 1

Output

Output