> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bfl.ml/llms.txt
> Use this file to discover all available pages before exploring further.

# Object Removal

> Cleanly remove objects, watermarks, and blemishes from images with FLUX.2 image editing while seamlessly filling the surrounding background.

export const PromptDisplay = ({prompt}) => {
  const [copied, setCopied] = useState(false);
  const copy = () => {
    navigator.clipboard.writeText(prompt);
    setCopied(true);
    setTimeout(() => setCopied(false), 2000);
  };
  return <div className="not-prose" style={{
    marginTop: "1rem"
  }}>
      <div style={{
    backgroundColor: "#1a1a1a",
    borderRadius: "1rem",
    padding: "1.25rem 1.5rem",
    display: "flex",
    flexDirection: "column",
    gap: "1rem"
  }}>
        <p style={{
    color: "#e5e5e5",
    fontSize: "1rem",
    lineHeight: 1.6,
    margin: 0,
    fontFamily: "inherit"
  }}>
          {prompt}
        </p>
        <div style={{
    display: "flex",
    justifyContent: "flex-end"
  }}>
          <button onClick={copy} style={{
    backgroundColor: copied ? "#3d8a5b" : "var(--aspen-evergreen, #486A58)",
    color: "#fff",
    border: "none",
    borderRadius: "0.375rem",
    padding: "0.25rem 0.6rem",
    fontSize: "0.7rem",
    fontWeight: 600,
    cursor: "pointer",
    transition: "background-color 0.2s"
  }}>
            {copied ? "Copied!" : "Copy prompt"}
          </button>
        </div>
      </div>
    </div>;
};

FLUX.2 can cleanly remove objects, watermarks, blemishes, and unwanted elements from images while seamlessly filling the void. Be specific about what to remove and what to preserve.

## Examples

### Remove vegetation from statues

<Columns cols={2}>
  <img src="https://cdn.sanity.io/images/2gpum2i6/production/36a9166aecd1e04f684c9d1fcecb8d78d0338a81-1033x1549.jpg" alt="Moss-covered statues" />

  <img src="https://cdn.sanity.io/images/2gpum2i6/production/8cbeb8d76bf999aaae7f61a9eae02a308eedff1d-960x1440.png" alt="Clean stone statues" />
</Columns>

<PromptDisplay prompt="Remove all vegetation moss and greenery from the statues. Keep only the original stone structure with no plants no moss no algae no green tint. Reveal the raw stone texture with visible small cracks and natural erosion." />

### Remove person from scene

<Columns cols={2}>
  <img src="https://cdn.sanity.io/images/2gpum2i6/production/12411b42829f9fc8622b663dc9cccc5238cdea71-7360x4912.jpg" alt="Woman on bike in front of yellow tram" />

  <img src="https://cdn.sanity.io/images/2gpum2i6/production/aafff0bb481378eff9d308861a7b4c10e5864db6-1440x960.png" alt="Empty street with yellow tram" />
</Columns>

<PromptDisplay prompt="Remove the Women on the Bike" />

### Remove specific elements

<Columns cols={2}>
  <img src="https://cdn.sanity.io/images/2gpum2i6/production/9cb1c9770442822cf7ee63402d80f6a002099421-4190x2796.jpg" alt="Image with sprinkles" />

  <img src="https://cdn.sanity.io/images/2gpum2i6/production/2136a5de05310685e6123c9b6851444cb3594c98-1440x960.png" alt="Sprinkles removed" />
</Columns>

<PromptDisplay prompt="Remove all of the sprinkles while keeping the rest of the image unchanged" />

### Remove person + add weather

<Columns cols={2}>
  <img src="https://cdn.sanity.io/images/2gpum2i6/production/f13ee727a6b8d07e0aa76878e88bdc4189eb9915-3840x2880.jpg" alt="Woman on boat in Dubai Marina at sunset" />

  <img src="https://cdn.sanity.io/images/2gpum2i6/production/cca7625a13199e3e37989d405ca1693583acb9a9-1440x1072.png" alt="Person removed, rainy night scene" />
</Columns>

<PromptDisplay prompt="Remove the person, and add falling rain at night." />

### Remove background element

<Columns cols={2}>
  <img src="https://cdn.sanity.io/images/2gpum2i6/production/08e2b79fdab00841dfb269f0fce4f5e16d495d13-496x736.png" alt="Image with unwanted background element" />

  <img src="https://cdn.sanity.io/images/2gpum2i6/production/e78d812d7dc0c60e56dee6f3ade6ee344ca5661a-496x736.png" alt="Background element removed" />
</Columns>

<PromptDisplay prompt="Remove the leg in the background" />
