Image tools
Upscale up to 512 megapixels, remove backgrounds and inpaint with a mask, on any image.
Upscaling up to 512 megapixels
POST /v1/tools/upscale takes an image and a factor of 2 or 4, and returns a larger, sharper image with fine detail added. The price follows the size of the result:
| Result | Price |
|---|---|
| Up to 24 MP | $0.11 |
| Up to 48 MP | $0.22 |
| Up to 96 MP | $0.43 |
| Up to 512 MP | $1.83 |
The largest sizes are made for prints, posters and billboards.
Background removal for product shots
POST /v1/tools/remove-background takes an image and returns it with a transparent background, for $0.025. Fine edges such as hair and fabric are kept, so cut-outs drop straight onto a shop page or an ad.
Inpainting with a mask
POST /v1/tools/inpaint repaints part of a picture. Send:
Inpainting costs $0.068 per megapixel per image, on pictures up to 16 megapixels.
Chaining tools after image generation
Every tool takes a URL, so the output of one job can be the input of the next. A common chain: make an image, remove its background, then upscale it for print. Pass outputs[0].url straight on; it is valid for an hour, plenty for the next call.