1 credit per image
Keep the subject. Clear the background.
Turn product photos into transparent PNGs with one API request. Build your own compositions, update your storefront, or give your design tools a clean starting point.
No credit card required · Enough for 20 cutouts
- Accepted formats
- JPEG · PNG · WebP
- Maximum upload
- 10MB per image
- Output
- PNG with transparency
- Cost
- 1 credit per successful image
From upload to output
Three steps. One request.
- 01
Upload a photo
Send a JPEG, PNG, or WebP up to 10MB using the multipart file field.
- 02
Isolate the subject
The API removes the background and returns the result in the same request.
- 03
Use it anywhere
Receive a transparent PNG as a base64 data URL. Save the bytes or use them in your application.
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.
curl -X POST \
https://optikapi.uyukusb.workers.dev/api/v1/remove-background \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@product.jpg"Built for your workflow
Your image. Your next step.
Transparent output gives you control over what comes next: a new background, a campaign layout, or a product composition.
Need a consistent catalog canvas?
Explore E-commerce PrepBefore your first request
What does the API return?
The JSON response includes a job_id, status, and output_url containing a base64 data URL. The image is a transparent PNG, ready to save or display.
Can I try it in the browser?
Yes. Sign in and open the Playground to upload an image before adding the API to your application. New accounts receive 20 free credits.
What happens if processing fails?
One credit is reserved when processing starts. If the job fails, the reservation is refunded automatically.
Do I need a white background instead?
Use E-commerce Prep for a product centered on a fixed 2000×2000 white canvas. It costs 2 credits per image.
Start with your own images.
20 free credits. Test the output before you integrate.