Uploadcare AI Image Editor: AI editing inside your product
Sezgin HergulAn agent on your listing platform uploads the front photo of a house. It was shot on a phone on pickup day. Two trash cans stand at the curb, a van is parked across the driveway and the sky is flat gray. The agent knows the photo can’t lead the listing like that.
Next to the photo is a button: Curb appeal. They tap it. The result comes back with the trash cans and the van gone and a clear sky, and the house is exactly the one they shot: same brickwork, same windows, same front door. The agent publishes the listing without leaving the page.
This is the Uploadcare AI Image Editor. It puts generative image editing inside your product, so your users finish their images in the same place they upload them. Every prompt is moderated, and you decide who can generate and how much.
Editing a real estate listing photo with preset buttons in the AI Image Editor
What happened underneath
The button the agent tapped belongs to the AI Image Editor, running inside the uploader on the listing form.
It ships as a plugin for the Uploadcare File Uploader, or as a standalone component, <uc-ai-image-editor>, that you place anywhere in your app.
The button was a preset: a label with a prompt behind it. You write presets for the edits you want your users to make, and the editor ships with a few of its own. With the text box on, users can also type a request in their own words. Turn on presets-only mode and the text box is gone, so they choose from the edits you wrote.
Every request goes through three steps before a user sees a result. It goes out with a signed token from your backend, which is how you decide who can generate and how many times. The prompt passes content moderation. Then the image is generated and saved to your Uploadcare project as a new file, with the original left untouched.
Your users see none of that. They see an editor. If a request is blocked, they get a message in their own language and can try again. If the first result misses, every attempt stays in the session history, one click away, and they can keep editing from any of them.
What your users can do
They edit an uploaded image. Typical edits are removing or replacing objects, swapping a background, recoloring an object or a whole scene, restyling an image and relighting it.
They generate a new image. You choose which aspect ratios they can pick, so a 16:9 header and a square card can come out of the same session.
You can also upscale images through the API. Send a request with an uploaded image and get back a version up to 4 times the size, up to 16 MP. It helps when an upload is too small for print or a large display.
How you control quality, prompts and cost in the AI Image Editor
Output quality
Results are ready to publish. Products and characters stay consistent from edit to edit, brand colors follow the hex codes in the prompt and text in the image stays readable. A background can change while the product, its label and its colors stay as they were.
Prompt safety
Every prompt passes content moderation before anything generates. In presets-only mode there is no free text at all, because users pick from the edits you wrote.
Spending control
You set the most it can cost. The signed token caps what each user can do, and you set a limit on AI requests for the whole account in a rolling 24 hours, up to your plan’s maximum. Declined, moderated and failed requests are never billed.
How to add the AI Image Editor to your app
If you already use the File Uploader, register the plugin and add it to the source list. Your users get a “Generate image” source and an “AI Edit” action on uploaded images.
import { AiImageEditorPlugin } from '@uploadcare/ai-image-editor/plugin';
const config = document.querySelector('uc-config');
config.plugins = [AiImageEditorPlugin];
config.authToken = fetchUploadcareToken; // gets a signed token from your backend<uc-config
ctx-name="my-uploader"
pubkey="YOUR_PUBLIC_KEY"
source-list="local, url, camera, ai-image-editor"
></uc-config>The token is required, because Signed AI image generation is on by default. You set it once on the uploader, and the editor uses the same one. The plugin needs File Uploader 1.35.1 or later.
If you don’t use the File Uploader,
the standalone <uc-ai-image-editor> component works in any framework and takes the same kind of token, with a typed, SSR-safe React wrapper.
Upscaling is available through the API.
See the AI Image Editor docs for the full setup.
Where teams use it: real estate, e-commerce, marketplaces and print
Placing a product in a new scene with a prompt in the AI Image Editor
The editor fits anywhere your users upload images that need work before they go live. Here are four.
AI product photography for e-commerce
A new scene for a product usually means a new shoot. With the editor, a seller starts from one product photo and describes the setting they want, such as a river stone in deep green foliage, or taps a preset like “Autumn campaign”. The bottle and its label stay as they were, and the seller can try another scene if the first isn’t right.
AI real estate photo editing
The usual fix for a listing photo is an outside editing service. The agent sends the photos out, pays per photo and waits for them to come back. With the editor, the agent clears the driveway or tidies a room at upload, checks the result and publishes in the same sitting.
Marketplaces
Image guidelines tell sellers what you want. Presets let them deliver it. In presets-only mode you write the edits, sellers apply them with one tap, and listings from different sellers end up with a consistent look.
Print on demand and custom products
Customers usually prepare artwork in a separate design tool and upload the finished file. With the editor, they generate a design from a prompt or clean up a photo inside the ordering flow. If the file is too small to print, your backend can upscale it through the API, up to 16 MP.
Pricing
The AI Image Editor bills in AI Operations, a separate meter from your regular Operations. The cost of a generation or an edit depends on the output size you set for the project, and upscaling has a flat cost per request. Resizing, cropping and format conversion still run on your regular Operations. Current rates are on the pricing page, and the AI Operations docs list the cost of each action.
Get started
The AI Image Editor is available on Pro, Business and Enterprise plans. To try it, make sure AI is on for your project in Project settings, set up a signed token on your backend and add the plugin to your File Uploader. The docs walk through each step.