Pixomax StudioPixomaxStudio

API Documentation

Integrate AI photo colorization with HTTP POST (multipart/form-data). Every request must include your end-user X-Api-Key header — credits deduct per successful job and the response includes a public download URL. Create a key in the Console after signing in and purchasing credits.

Getting started

  1. Create an end-user API key in the Console (requires a signed-in account with available credits).
  2. POST https://api.aivelo.net/api/v1/colorize with header X-Api-Key on every call.
  3. Send multipart/form-data with field image: binary file, or text (http(s) URL, base64, or data URL).
  4. Optional field model: large or tiny.
  5. Optional add-ons: clean_scratches (Smart Damage Repair, +1 credit) and face_remaster (AI Clarity Boost, +2 credits). Send true or false.

Endpoint

Replace {MONITOR_URL} with your Monitor deployment origin (no trailing slash).

POSThttps://api.aivelo.net/api/v1/colorize

Credits

At least 1 credit per successful colorization. Optional add-ons (scratch repair +1, clarity boost +2) apply when those fields are enabled on the request — same as the web workbench.

Request

NameInDescription
X-Api-KeyHeaderRequired. End-user API key from the Console. Credits deduct per successful job (see Credits section).
imageMultipartRequired. File (≤ 25 MB) or text — http(s) URL, base64, or data URL; format is auto-detected.
modelMultipartOptional. "large" (default, better quality) or "tiny" (faster inference).
clean_scratchesMultipartOptional. Smart Damage Repair. "true" or "false" (default false). +1 credit when enabled.
face_remasterMultipartOptional. AI Clarity Boost. "true" or "false" (default false). +2 credits when enabled.

Response

On success, returns application/json containing a public download URL for the colorized image.

{ "outputUrl": "https://…/out.png" }
Field / StatusDescription
outputUrlString. The colorized image URL (publicly accessible, time-limited CDN link).
Content-Typeapplication/json; charset=utf-8
200Success.

Sample code

Examples call Monitor directly at https://api.aivelo.net.

Input
Model
Sample code
curl -X POST \
  -H 'X-Api-Key: INSERT_YOUR_USER_API_KEY' \
  -F 'image=@/path/to/file.jpg' \
  -F 'model=large' \
  'https://api.aivelo.net/api/v1/colorize'
# Response: {"outputUrl":"https://…/out.png"}

HTTP errors

StatusTypical cause
400Invalid multipart, conflicting `image` file+text, or empty/invalid `image` content.
401Missing, invalid, or inactive X-Api-Key.
403Insufficient credits on the linked account.
429Rate limit or throttling exceeded.
503Application integration is not enabled or not configured.
502Upstream provider error or unreachable.