Overview
Bring the plain background of a product photo to pure white (255,255,255) while keeping cast shadows as soft grey, and return the corrected image with before/after statistics. Fits a quadratic illumination surface per channel in linear light (IEC 61966-2-1) to the background pixels found by border-seeded segmentation, then divides every pixel by that surface, so background becomes white and shadows keep their brightness ratio to the background.
Protocol
x402 (POST)
Price
$0.0050
Payment Asset
USD Coin
Payment Network
Base
Category
media/images
Provider
bild
Indexed
2026-11-20 13:10:04
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"image_url": "https://bild.halowerk.com/beispiel/white-bg-normalize-image.png",
"output_format": "png"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"Needs a plain studio background; busy or textured backgrounds are refused.",
"Shadows lighter than about 255 − 2·snap_tolerance fade into the white; very light product edges that touch the background may be brightened in mode=global.",
"This is a correction, not background removal: objects other than the product stay in the picture."
],
"result": {
"background_before": {
"border_uniformity": 1,
"color_hex": "#e6e6e6",
"lab": [
91.293,
0,
0
],
"variation_delta_e76": 0
},
"background_field": {
"brightest_rgb": [
230,
230,
230
],
"darkest_rgb": [
230,
230,
230
]
},
"border_pure_white": {
"after": 1,
"before": 0
},
"image_base64": "iVBORw0KGgoAAAANSUhEUgAAAlgAAAGQCAIAAAD9V4nPAAAACXBIWXMAAAPoAAAD6AG1e1JrAAAH6klEQVR42u3VMQ0AIAxFwSpCBeLZEQQTAzss7V2+AhL6YgFAYeEJABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCABBCAIQQAIQQAIQQAIQQAIQQAIQQAIQQAIQQAIQQAIQQAIQQAIQQAIQQAIQQAIQQAIQQAIQQ… [truncated, 2808 chars]",
"output": {
"format": "png",
"height": 400,
"mode": "global",
"source_size": {
"height": 400,
"width": 600
},
"width": 600
},
"product_color_shift_de2000": 5.303,
"product_pixel_ratio": 0.3333,
"shadow_pixel_ratio": 0,
"snap_tolerance": 6
},
"service": "white-bg-normalize",
"status": "success"
},
"type": "json"
}