OptikAPI E-commerce image API

2 credits per image

Different photos. One consistent catalog.

Remove the background, optically center your product, and prepare a 2000×2000 white canvas in one request. Give your product grid a consistent starting point.

No credit card required · Enough for 10 catalog images

The output studio
02 / Catalog canvasOPTIK2000 × 2000
Illustration of output formats2 credits
Canvas
2000 × 2000 pixels
Background
White
Product sizing
Approximately 85% fill
Cost
2 credits per successful image

From upload to output

Three steps. One request.

Read the API docs
  1. 01

    Send the original

    Upload a JPEG, PNG, or WebP up to 10MB. Use the same endpoint for every product.

  2. 02

    Prepare the product

    Background removal, optical centering, and automatic sizing run together in one pipeline.

  3. 03

    Build your catalog

    Receive a 2000×2000 white-background image as a base64 data URL, ready for your image workflow.

A small request.
A useful result.

Create an API key in your dashboard, send your image, and use the result in your own application.

The response includes your job ID and an output_url containing the image as a base64 data URL.

Authentication and response guide
Example request · cURLPOST
curl -X POST \
  https://optikapi.uyukusb.workers.dev/api/v1/prepare-product \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@product.jpg"
2000 × 2000 canvas · 2 credits per successful image

Built for your workflow

A predictable format for every SKU.

A fixed white canvas and automatic sizing help different source photos sit together. Review each result against your marketplace’s specific listing requirements.

Only need a transparent cutout?

Explore Background Removal

Before your first request

How is this different from background removal?

Background Removal returns a transparent PNG for 1 credit. E-commerce Prep also optically centers and scales your product on a fixed 2000×2000 white canvas for 2 credits.

Can I customize the background or canvas?

The format is fixed: a white 2000×2000 canvas. Background color, canvas size, and fill ratio are not request parameters.

Can I inspect the processing metadata?

Use GET /api/v1/jobs/:job_id to retrieve job details, including product_type, fill_ratio, and centering_method when available.

What happens if processing fails?

Two credits are reserved when processing starts. If the job fails, the reservation is refunded automatically. New accounts receive 20 trial credits, enough for 10 successful catalog images.

Start with your own images.

20 free credits. Test the output before you integrate.

Create your free account