How to edit a photo with AI

By Pixuvia · · Updated

The Studio's Edit by prompt panel beside a photo of a wooden cabin in a green meadow below rocky, snow-streaked mountains, with a prompt asking to cover the meadow and the cabin roof in fresh snow typed in, idea chips, the model chip and a Sign in button below it.

To edit a photo with AI, open it in an editor that takes text prompts, type the change you want in plain words, such as "make the sky a warm sunset", choose a model and run it. The model draws a new version of your photo with that change, so the clearer your words, the closer the result.

This guide uses Edit by prompt in the Pixuvia Studio (AI edit on its left rail). Most of it is about the prompt itself: how a good one is built, which prompts suit which edits, and how to fix a result that changed more than you asked. AI runs use credits and need you to be signed in.

On this page
  1. What does a prompt that works look like?
  2. Which prompts work for which edits?
  3. What does a good prompt edit look like?
  4. How do I run a prompt edit in the Studio?
  5. Which model should I pick for my prompt?
  6. Why did the AI change more than I asked?
  7. How do I make several changes to one photo?
  8. Should I write a prompt or use a one-job tool?
  9. Questions
  10. Sources

What does a prompt that works look like?

A prompt that works names one change and the things that must survive it. Here is the prompt typed into the Studio in the capture at the top of this page, taken apart:

PartIn the exampleWhat it does
Target"the meadow and the cabin roof"Points at what should change, so the model doesn't guess.
Change"Cover … in fresh snow."Describes the result you want to see, in concrete words.
Keep"Keep the mountains, the clouds and the framing as they are."Names what is at risk of changing along with it.

You don't need a keep line for everything. The Studio already tells the model to edit your photo, keep its framing and leave whatever you don't mention unchanged. Name only what you care about most and what tends to drift: faces, printed text, a product label, a logo. Write it as plain sentences, the way you would ask a person.

Opens the full-size image: The Studio's Edit by prompt controls: the Photo tile and an add-image tile reading 1/4, a prompt asking to cover the meadow and the cabin roof in fresh snow while keeping the mountains, clouds and framing, the count 110/880, the idea chips Sunset sky, Add snow, Remove people and Warmer light, the model chip Seedream 5 Flash, a 2K quality chip and a Sign in button.
Target, change and keep in one prompt. Signed out, the button reads Sign in; signed in, it reads Edit by prompt and shows the run's credits beside it.

Which prompts work for which edits?

These prompt examples follow the same pattern. Swap in the names of things in your own photo; a prompt that names real objects beats a general one every time.

GoalPromptWhat changes
New sky"Replace the gray sky with a clear sunset sky in orange and pink. Keep the buildings and the people as they are."The sky, and the light on everything under it.
Season"Cover the meadow and the cabin roof in fresh snow. Keep the mountains, the clouds and the framing as they are."Ground and roofs; trees and colors follow.
Light"Make it warm late-afternoon sunlight coming from the left, with long soft shadows."Light direction, color and shadows.
One color"Change the color of the woman's lace dress to sky blue. Keep the lace pattern white and the folds as they are."Only the named object's color.
Remove"Remove the trash can on the right side of the pavement and continue the cobblestones where it stood."The object, and what fills its place.
Add"Add a small wooden rowing boat on the lake, left of center, about as long as the pier is wide."One new object, sized by something in the photo.
Text"Change the sign text to 'Open daily'. Keep the letter style and colors."The words on one surface.
Style"Make it look like a 1970s film photo with soft grain and faded colors. Keep the faces the same."The whole look; content stays.
Product"Put the bottle on a plain light gray studio background with a soft shadow under it. Keep the label exactly as it is."Everything but the product.

Three kinds of prompt rarely work. Vague ones ("make it better", "make it professional") let the model restyle the whole photo its own way. Stacked ones ("add snow, remove the people and make it night") make it trade one change against another; run them as three edits instead. And prompts about how to edit ("increase contrast by 20%") describe a setting, not a picture: the Studio's Adjust sliders do that exactly, with no credits.

What does a good prompt edit look like?

A good result changes what you named and leaves the rest recognizably the same photo. In the first example below, the prompt names the dress, gives the new color and then lists what to protect: the white lace, the texture, the folds. The dress turns sky blue while the embroidery, the veil, the pose and the rocks behind her stay as they were. If a model shifts the framing slightly, that is normal; the Studio crops and scales each answer back to your photo's size and shape.

Opens the full-size image: Side by side: a woman in a white lace dress and a net veil sitting on dark rocks, and the same photo with the dress turned sky blue while its white lace pattern, the veil, her pose and the rocks stay unchanged.
Before and after a prompt that begins "Change the color of the woman's lace wedding dress to sky blue" and asks to keep the lace white and the fabric, patterns and folds as they are. Example: Black Forest Labs documentation, an illustration of what a prompt edit does.

Text is the hardest thing to edit, and the best way to ask is to put the exact words in quotation marks and say what should stay. In the second example, only one word on the notebook changes, in a similar hand-drawn style. Check text at 100% zoom: letters that look right in a thumbnail can be wrong up close.

Opens the full-size image: Side by side: a notebook on a desk with Choose joy written in rainbow marker, and the same notebook reading Choose BFL in the same marker style.
Before and after a prompt asking to replace "joy" with "BFL". Example: Black Forest Labs documentation, an illustration of what a prompt edit does.

How do I run a prompt edit in the Studio?

  1. Open the Studio and choose Open image, or drop a photo on the page. The Studio opens on Edit by prompt, the first entry (AI edit) on the left rail.
  2. Type your change in the box under the Photo tile, or tap an idea such as Sunset sky or Add snow and rewrite its words to fit your photo.
  3. Optionally add up to three reference images with the tile next to Photo, and say in your prompt what to take from them.
  4. Press the Model chip to choose a model. Models with more than one quality show a second chip for it, such as 2K.
  5. Sign in, check the credits shown next to the button, and press Edit by prompt. A run can take up to a minute.
  6. Compare the result with the Original photo card above the prompt, or press and hold a version in the strip under the photo. Choose Export to save it as PNG, JPEG or WebP.

From the AI photo editor page it takes one step less: drop a photo there and it opens in the Studio on Edit by prompt, and a link to that page can carry a prompt that waits in the box for you.

Which model should I pick for my prompt?

Start with the one already selected, Seedream 5 Flash, and switch only when a result falls short. Every card in the Model list shows what an edit costs on it and a short hint, so the choice comes down to what your prompt asks for:

  • Everyday changes (sky, season, light, color): Seedream 5 Flash, "Good everyday images", or FLUX 3 Klein, "Quick ideas, fastest", to try an idea quickly.
  • Words inside the photo: GPT Image 2 or GPT Image 2.5 Flare, whose cards say "Text inside images".
  • A photo that must stay realistic: FLUX.2 Pro, "Realistic photos", or Seedream 5 Lite, "Richer detail, slower".
  • A difficult edit that cheaper models miss: Nano Banana 2, "High quality, lower cost", or Nano Banana Pro, "Best quality, slower".

The chip beside the model sets its quality (1K, 2K or 4K, or Low, Medium and High on GPT Image). Higher settings cost more; for a quick test of a prompt, the lowest is enough.

Opens the full-size image: The Studio with the Model list open beside the Edit by prompt panel: eight model cards from FLUX 3 Klein to Nano Banana Pro, each with a one-line hint, its credit range and quality chips, Seedream 5 Flash selected.
The Model chip opens the model cards beside the panel. Each card shows its hint, its quality options and what an edit costs.

Why did the AI change more than I asked?

Because a prompt edit redraws the whole photo. The model looks at your picture and paints a new one with your change, so details you never mentioned can shift a little: a face, a pattern, small lettering. These fixes help, in this order:

  • Name what drifted. Add it to the keep line ("keep her face, hair and expression exactly the same") and run again.
  • Make the target narrower. "The left window of the blue house" changes less than "the windows".
  • Try another model. Models differ in how closely they keep what you didn't mention, so the same prompt can hold a face better on one than on another.
  • Use a tool that only touches one area. Erase object and Generative fill, under AI tools in the Studio, change only the part you paint and leave the rest of your photo as it was. The object removal guide shows how.

Two more things are specific to how prompt edits work. Your photo goes to the model at up to 1024 pixels on its long side and the answer is scaled back to your photo's size, so fine detail in a large photo can soften: zoom to 100% and compare before you export. And these models paint every pixel, so a transparent PNG comes back with its see-through areas filled in. Run Remove background on the result to cut the subject out again, as the background removal guide explains.

How do I make several changes to one photo?

One edit at a time. Each run changes the version on screen, so select the result you like, then type the next change. The step cards above the prompt list the Original photo and every edit with its prompt and model, which makes it easy to see which instruction caused what. If an edit goes wrong, select the version before it and try different words; nothing after it is lost.

Reference images help when words aren't enough: a fabric, a logo, a sky from another photo. Add up to three with the tile next to Photo (its count, such as 1/4, includes your photo) and name the role of each in the prompt: "Use the pattern from the second image for the sofa cover." To make an image larger rather than change it, extending the background keeps the original pixels.

Should I write a prompt or use a one-job tool?

Write a prompt when the change is about the whole picture or can only be described in words: a season, a sky, a mood, a style, a new color. Reach for a one-job tool when the job has a fixed shape. Removing something, extending the edges, enlarging the photo and cutting out the subject each have their own Studio tool and page, such as the object remover, which keep more of your photo untouched.

If you work in layers, the Editor has the same prompt editing in its AI Edit panel (the first button on the toolbar, or Filter > AI > Edit by Prompt…). Its result lands as a new layer named "AI Edit: …" above your photo, and Limit to Selection keeps the change inside a selection, so you can mask or blend it like any other layer, as in the layer masks tutorial.

Questions

Does editing a photo with AI cost anything?

Each Edit by prompt run uses AI credits and needs you to be signed in. The cost is shown on every model card and next to the button before you run it. Filters, crop and text in the Pixuvia Studio use no credits.

Can I undo an AI edit?

Yes. Every result is a new version, and the original stays as the Original photo card. Select any earlier version to go back to it, or use Undo in the bar under the photo.

How long can a prompt be?

Between 3 and 880 characters; the counter under the box shows how many you have used. Most prompts that work are one or two sentences.

Will the AI keep my face and my photo exactly the same?

Not exactly. The model draws a new picture from your photo, so faces, small text and fine detail can shift. Naming what must stay the same in your prompt keeps them closer, and your original is always one tap away.

Can I edit a photo with AI on my phone?

Yes. On a phone, tap AI edit and Edit by prompt opens as a sheet under the photo; the Model chip opens a full-height list of models.

Sources