PeumeAPI

AI generation

Fix Image Lighting and Color

Exposure, white balance, colorization and creative relighting for photos.

$0.15 per credit

Call it

curl https://api.peume.com/v1/call/fix-image-lighting-and-color \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "image_url": "your image url",
    "source_width": 10,
    "source_height": 10,
    "model": "Adjust V2",
    "output_format": "jpeg"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: fix-image-lighting-and-color.

Parameters

image_urlRequiredstring

Public https:// URL of the source image (JPEG, PNG or TIFF). downloads it directly. Max 500 MB.

source_widthRequiredinteger

Source width in pixels, e.g. 4000. The output keeps the source size and billing is by its megapixels, so the size sets the price.

source_heightRequiredinteger

Source height in pixels, e.g. 3000.

modelstring

Model: Adjust V2 (exposure, contrast, highlight and shadow correction); White Balance (automatic color balance); Colorize (colorize a black-and-white photo); Relight Creative V1 (creative relighting with style presets). Default Adjust V2.

Adjust V2 · White Balance · Colorize · Relight Creative V1

Example: Adjust V2

output_formatstring

Output image format. Default jpeg.

jpeg · png · tiff

Example: jpeg

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.