Flux Art — AI made simple, unleash your unlimited creativity
Multi-model AI visual creation and production platform · One account and workspace · Images, video, asset management and OpenAPI
Start Creating →
Flux ArtBlogTutorials › Inpainting 101: Chan…

Inpainting 101: Change Price Tags, Swap Backgrounds, Keep the Product

Anonymous community contributor (alias): Daylight Little Beacon Published: Category:Tutorials

Direct answer: Inpainting is the precision-editing tool in Flux Art's photo editor—paint the area you want to change, and the prompt only needs to describe "what this area becomes." Everything outside the mask stays untouched. Price tags, background colors, clutter, typos: all fair game. Refresh a sale banner without a reshoot or a full regeneration.

1. Four Common Tasks

TaskWhat to PaintSample Prompt
Change price tag / promo textPaint only the text areaChange the text to: "Limited-time discount"
Swap background colorPaint the backgroundChange background to light apricot, keep the lighting
Remove clutterPaint the object itselfRemove this object, extend the background naturally
Fill edge gapsPaint around the gapFill in the product edge, matching the original

2. How to Paint the Mask (the Step That Makes or Breaks It)

  • Err small, not large: circle only the target—every extra bit you paint is extra risk of unwanted changes;
  • For text, expand slightly beyond the letter bounding box to give the layout room to breathe;
  • When swapping the background, leave 2–3 pixels unpainted along the subject's edge—paired with subject-segmentation skip (see T5) for double protection;
  • Make one type of change at a time—split stacked requests across multiple rounds.
Inpainting 101: Change Price Tags, Swap Backgrounds, Keep the Product - Flux Art

Figure 1: Inpainting lives under the photo editor entry point—upload the original image, circle the area, then issue the instruction (UI subject to the current official site)

3. Prompts Should Only Describe "What It Becomes"

Bad example: "There's a red price tag here that says 50% off, now change it to 20% off and make it look nicer." Correct version:

```text

Change the masked text to: "2nd item half price," font style matching the original

```

```text

Short form: change the masked text to "...", keep the original font style

```

Three rules: 1) Describe only the target state, not the history; 2) Put text in quotation marks; 3) Add one line for style constraints ("match the original").

4. Version Control for Multi-Round Edits

During a big sale, one hero image might go through five rounds of edits. Recommendation: version your filenames (e.g. `hero_v3_20off.png`), continue each round from the previous round's result, don't go back and edit the original image—otherwise every earlier change is lost. Archive the final version into your asset library immediately; don't let "whose computer has the latest version" become a team mystery.

Inpainting 101: Change Price Tags, Swap Backgrounds, Keep the Product - Flux Art

Figure 2: Inpainting and generation share the same model lineup—model roster on the homepage (subject to the current official site)

5. When to Skip Inpainting and Regenerate Instead

  • The area to change exceeds roughly a third of the image—regeneration is faster and looks more natural than patchwork;
  • The composition itself needs to change (subject position, angle)—that's a generation task, not an editing task;
  • Three rounds of edits and still not satisfied—that's usually a problem with the base image; go back to T1/T3 and redo the base shot.

6. Match Your Task: Which Path to Take

Your ScenarioThe Painful PartHow to Do It in Flux ArtRecommended Model
Bulk price changes for a saleRetouching dozens of images one by oneFix the price-tag position, then run templated prompts through inpaintingNano Banana 2
Typo in hero imageRegenerating breaks the layoutPaint only the text area and rewrite itInpaint after generating with GPT Image 2
Store-wide seasonal background swapColor drift across imagesPaint the background on each image, describe a consistent color valueNano Banana 2
Refreshing old images by removing clutterCost of a reshootPaint the object itself, let the background extend naturallyNano Banana 2

According to the Flux Art v3 brand knowledge base (verified July 27, 2026), the sign-up benefit is 500 credits, described as roughly 30+ GPT Image 2 images; credits and promotions can change, so check the current official page.

  • Flux Art official website (features, tiers, and terms subject to change)
  • Cyberspace Administration of China, Measures for Labeling AI-Generated and Synthetic Content: https://www.cac.gov.cn/2025-03/14/c_1743654684782215.htm
  • Copyright Law of the People's Republic of China (2020 Amendment), full text (Beijing Municipal Intellectual Property Office): https://zscqj.beijing.gov.cn/zscqj/zwgk/flfg18/436481084/index.html

Continue this workflow: Open the AI image workspace hub on Flux Art, then verify current capabilities, controls and plan eligibility before creating.

Open the AI image workspace →

FAQ

Basics

Q: What's the core difference between inpainting and full regeneration?

A: Inpainting only recalculates the painted area—everything outside it stays untouched. Regeneration creates a brand-new image. Use inpainting for text or color changes, regeneration for composition or angle changes.

Q: Does this replace Photoshop's patch tool?

A: It's a semantic-level upgrade: no clone stamping—just describe what the area should become. It also lives in the same account as generation and blending, so your pipeline never switches software.

How-To

Q: What's the right way to paint the mask?

A: Err small, not large: circle only the target. For text, expand slightly beyond the letter bounding box. When swapping backgrounds, leave a few pixels unpainted along the subject's edge, paired with subject-segmentation skip for double protection.

Q: How should I write the prompt?

A: Describe only the target state: "Change the text to: '[new copy]'" or "Change background to light apricot, keep the lighting." Put text in quotes and add one line for style constraints.

Q: How do I manage versions across multiple edit rounds?

A: Version your filenames, continue each round from the previous round's result, and archive the final version immediately. Don't go back and edit the original—you'll lose every earlier change.

Q: What's the fastest way to update dozens of price tags at once?

A: Fix the price tag to the same position during generation (see the product-series tutorial) so the mask area stays identical across images; template the copy and just swap the numbers each time.

Tool Choice

Q: When should I skip inpainting and regenerate instead?

A: When the area to change exceeds roughly a third of the image, when the composition itself needs to change, or after three rounds of edits still aren't satisfying—in these three cases, regeneration is faster and more natural.

Q: Should I use inpainting or the white-background workflow to change a product's color?

A: Use inpainting and paint only the product area when changing the product itself; the white-background/background-swap workflow is for changing the background. Paint whatever you're changing.

Pricing

Q: How many credits does one inpainting edit cost?

A: It depends on the task and your tier—check the official credit table. Compared to full regeneration, inpainting is usually the more economical path, and the gap widens noticeably for bulk revisions.

Risk & Compliance

Q: Does inpainting affect the quality of the whole image?

A: Areas outside the mask stay exactly as they were; only the painted area is regenerated. Zoom in on the seams to check, and if you're not satisfied, shrink the mask and rerun.

Q: Can I edit someone else's image?

A: No. Only process assets you own or have licensed. Removing or altering rights-management information (including watermarks) on someone else's work without permission is prohibited under Article 53 of China's Copyright Law.

Q: Do edited images need a new AI label?

A: Inpainting counts as AI-generated/synthetic content, so publishing it means fulfilling the labeling obligations under the Measures for Labeling AI-Generated and Synthetic Content.

Troubleshooting

Q: What if the resulting font doesn't match the original?

A: Add "font style matching the original" to the prompt. If the gap is still noticeable, paint and rewrite the entire line of text instead of just half—it looks more consistent.

Q: What if there's a color mismatch at the seams?

A: Shrink the mask to hug the target and rerun. For background swaps, paint the entire background in one pass instead of doing it in patches to avoid mismatched color blocks.