> ## 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.

# Product Consistency

> Maintaining product consistency across image edits with FLUX

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 keeps product identity intact while changing context, background, or presentation. Upload a product photo or logo and describe the new setting — the model preserves branding, labels, shapes, and materials.

## Examples

### Logo on new product

<Columns cols={2}>
  <Frame>
    <img src="https://cdn.sanity.io/images/2gpum2i6/production/65d25432eb559d2b8cb9cfd3af6e9f17e97364aa-1248x832.jpg" alt="Brand logo" />
  </Frame>

  <Frame>
    <img src="https://cdn.sanity.io/images/2gpum2i6/production/37dfeff91774bd2dbb8f080cec8e0dd443598a02-1248x832.png" alt="Logo on perfume bottle" />
  </Frame>
</Columns>

<PromptDisplay prompt="Use this logo on a perfume bottle designed in the shape of a takeaway coffee cup. Make the logo appear naturally printed on the bottle, with realistic lighting, reflections, and product-style presentation." />

### Product in new scene

<Columns cols={2}>
  <Frame>
    <img src="https://cdn.sanity.io/images/2gpum2i6/production/40f4afc4e8663ce9087e66d998ca5fed48860a03-600x600.webp" alt="Product bottle" />
  </Frame>

  <Frame>
    <img src="https://cdn.sanity.io/images/2gpum2i6/production/5950af13503a110628744a4fe1fb3fff7cbf5a73-1024x1024.png" alt="Bottle in strawberry scene" />
  </Frame>
</Columns>

<PromptDisplay prompt="A professional high end product shot of this bottle in a pile of fresh wet strawberries on white background, studio lighting" />

### Product in aquatic setting

<Columns cols={2}>
  <Frame>
    <img src="https://cdn.sanity.io/images/2gpum2i6/production/c7f8dc27c1ea92e77941791fef5ec097e500ec7a-493x493.webp" alt="Perfume bottle" />
  </Frame>

  <Frame>
    <img src="https://cdn.sanity.io/images/2gpum2i6/production/610574a4f5fa634a6dd4909816ce293a9cc39d24-1024x1024.png" alt="Perfume bottle in aquatic scene" />
  </Frame>
</Columns>

<PromptDisplay prompt="A high-quality sharp photograph featuring this wet perfume bottle centered in the composition, surrounded by a serene aquatic setting. The background is a soft gradient of light turquoise and aqua. The bottle is partially submerged, creating gentle ripples and reflections in the water." />

### Product on retail packaging

<Columns cols={2}>
  <Frame>
    <img src="https://cdn.sanity.io/images/2gpum2i6/production/4c385b644b0d353f98c4722e1d1a6074e1e39521-1440x1440.png" alt="LEGO deer product" />
  </Frame>

  <Frame>
    <img src="https://cdn.sanity.io/images/2gpum2i6/production/b264f034b83e35e77987053015a210a3fe73c98e-1440x1440.png" alt="LEGO deer on retail box" />
  </Frame>
</Columns>

<PromptDisplay prompt="Place the LEGO deer product image on a real LEGO retail box designed for sale. The box should be a glossy printed cardboard package with sharp edges, folded seams, and a slightly reflective coated surface. Show the official LEGO logo printed clearly in the top corner." />

### Logo on merchandise

<Columns cols={2}>
  <Frame>
    <img src="https://cdn.sanity.io/images/2gpum2i6/production/c8f3b3c92374945d4fe66ec8f6622b4cc380dbd1-1376x1184.png" alt="Brand logo" />
  </Frame>

  <Frame>
    <img src="https://cdn.sanity.io/images/2gpum2i6/production/932adee1fa97a12e6f2497f89e10d478b6d9edcf-1376x1184.png" alt="Merchandise with logo" />
  </Frame>
</Columns>

<PromptDisplay prompt="Create merchandise with this logo: black mug, black t-shirt, black cap and a black backpack. On white background" />
