logo

Image API

Image processing for your product, one API call away.

Remove backgrounds, upscale and generate images from your storefront, order system or app. Send an image or a prompt, get a job ID straight away, and pick up the result by webhook or by polling.

  • Pay per image from API credits, starting at 1 credit. No subscription.
  • Failed jobs and filtered images are never charged
  • One key and one balance with the Artwork readiness API

No Image Presto subscription required. Sign in to your API account

mug-front.jpg · background_removalcompleted
Before · JPEG
After · transparent PNG
  • charged_credits: 1 Standard model, full-size cutout
  • image_job.completed Signed webhook delivered to your server
  • outputs[0].url Signed download link, valid for one hour
Illustrative example: sample data, not a live job.

What it does

Three operations, one integration.

Every operation uses the same key, the same job model and the same webhooks, so adding the next one is a new endpoint, not a new integration.

Background removal

Cut products, people and logos out into a transparent PNG or WebP, from an upload or an image URL.

Standard
1 credit per image
Detailed
2 credits per image
Bria RMBG 3
3 credits per image
POST /api/v1/images/background-removals

Upscaling

Enlarge small images up to 12 megapixels. The Print upscaler is tuned for art, text and photos headed to print.

Universal upscaler · 1–6x, keeps transparency
1 credit per image
Print upscaler · 1–4x for print files
3 credits per image
POST /api/v1/images/upscales

Image generation

Create images from a text prompt with Z-Image Turbo: up to 4 per request, up to 2048 × 2048 px.

Z-Image Turbo
1 credit per image delivered
POST /api/v1/images/generations
A 512 px product photoToo small for a product page or a print.
Upscaled 4x2048 px with clean edges, ready to use.

How it works

Submit, then collect the result when it is ready.

  1. 1. Submit a job

    Upload an image, pass an image URL or send a prompt, with an Idempotency-Key so retries never charge twice. You get a job ID straight away.

  2. 2. It runs in the background

    Credits are reserved, not charged. Your request returns immediately, so slow upscales never hold a connection open.

  3. 3. Collect the result

    Get a signed webhook or poll the job, then download from a signed link. You pay only for what was delivered.

One request to get started

Complete examples in cURL, Python and Node.js, plus ready-made command-line clients, are in the developer guide.

Read the developer guide →
curl https://api.imagepresto.com/api/v1/images/background-removals \
  -H "Authorization: Bearer $ARTWORK_API_KEY" \
  -H "Idempotency-Key: order-18422-cutout" \
  -F "file=@product.jpg" -F "model=standard"

Built for production

The boring parts are already done.

Safe retries

Repeat a request with the same Idempotency-Key after a timeout and you get the same job back. Never a second charge.

Webhooks or polling

Up to three HTTPS endpoints with signed notifications, retried for 24 hours. Or simply poll the job.

Private by default

Inputs and prompts are deleted when the job ends. Results are kept for 24 hours behind signed links.

Clear limits

PNG, JPEG or WebP up to 25 MiB. 30 submissions a minute per operation and 5 jobs in progress at once.

Simple prepaid pricing

Pay per image. No subscription.

Buy a pack of API credits and use them on any operation. Credits are reserved when a job starts and charged only when it delivers. A price quote is always free.

Background removal
1–3 credits per image (by model)
Upscaling
1–3 credits per image (by model)
Image generation
1 credit per image
Failed jobs
Never charged; reserved credits are released
Separate balance
API credits are not shared with creative credits

Add image processing to your product today.

Create a key, submit a job, download the result. Checking customer artwork before print? See the Artwork readiness API.