One REST endpoint for every photo edit you can describe: custom AI edits, garment unwrinkle and clothing recolor — an AI photo editor built for developers. Credits, not subscriptions — pay per edit, cancel anytime.
One endpoint replaces your hand-rolled editing pipeline — describe the edit, get the image back, simple per-call pricing.
Custom edit (describe it), unwrinkle garments, recolor clothing — one endpoint with a mode parameter.
Describe the change — remove a stain, make a shirt navy, smooth wrinkles. The model edits only what you name.
Edits preserve weave, stitching, logos and label text while changing only what you asked for.
The tool lives in the web app (#tool-edit) and in the Lensora Android app — identical results and pricing.
Pay-as-you-go with credits; Pro plans drop per-edit pricing further. No per-seat licenses.
Same credits across pixelapi.dev, the Lensora mobile app, and the REST API. Switch channels freely.
Edit one image with a single POST — describe the edit, or pick unwrinkle / recolor mode. Output is a PNG with a transparent channel.
# curl — multipart upload curl -X POST https://api.pixelapi.dev/v1/image-edit \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "image_file=@input.jpg" \ -o output.png # curl — by URL curl -X POST https://api.pixelapi.dev/v1/image-edit \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"image_url":"https://example.com/photo.jpg"}' \ -o output.png
# Python — requests import requests with open("input.jpg", "rb") as f: r = requests.post( "https://api.pixelapi.dev/v1/image-edit", headers={"Authorization": "Bearer YOUR_API_KEY"}, files={"image_file": f}, timeout=30, ) r.raise_for_status() open("output.png", "wb").write(r.content)
// Node — fetch const fs = require("fs"); const form = new FormData(); form.append("image_file", fs.createReadStream("input.jpg")); const r = await fetch("https://api.pixelapi.dev/v1/image-edit", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_KEY" }, body: form, }); fs.writeFileSync("output.png", Buffer.from(await r.arrayBuffer()));
Same edit, two workflows. Time measured editing one catalogue photo by hand vs one API call.
| PixelAPI | Manual editing | |
|---|---|---|
| Price per image (PAYG) | $0.01 | $0.21 |
| Price per image (subscription floor) | $0.005 | $0.11 |
| Premium Service: paid plans only | Paid plans only | 50 (card required after) |
| Max resolution | 4K (4096²) | 4K (4096²) |
| Hair / fur alpha quality (100-image benchmark) | 9.1 / 10 | 9.0 / 10 |
| Bulk endpoint | Yes — 50 images / call | No batch endpoint |
| Drop-in compatible params | Yes — image_file / image_url | – |
| Other tools in the same API | 14 (upscale, restore, face-detect, 3D, video…) | 1 |
The questions teams ask most often about the Image Edit endpoint.
$0.372 per image (372 credits) on pay-as-you-go credits; Pro and Scale plans lower the per-credit cost. Available on paid plans only (Premium Service).
No. AI Image Edit is a Premium Service, available on paid plans only.
JPEG, PNG, and WebP up to 4K (4096×4096). Inputs can be multipart upload, direct URL, or base64. Output is always a PNG with a transparent alpha channel.
PixelAPI uses high-accuracy alpha matting that preserves individual hair strands, fur edges, and semi-transparent fabric. On our 100-image benchmark on garments and product shots the edit touches only what you describe — weave, text and logos survive.
Yes. The API is rate-limited per plan (Starter 60 req/min, Pro 300 req/min, Scale 1500 req/min) and runs on autoscaling infrastructure with a 99.9% monthly uptime target. The bulk endpoint accepts up to 50 images per request.
Yes — the same tool ships in the Lensora Android app, with identical credits and pricing.
One account, one credit balance. Whether you call the API directly, use the Lensora mobile app, or run the same workflow in the web dashboard, the same credits are debited. Plans bill via Razorpay (India and international) or Google Play (mobile).
Available on paid plans. Same key works on web, mobile, and the REST API.
Start free with trial credits