---
title: Transparent backgrounds — GPT-Image-2.6 Flare | Runware Docs
url: https://runware.ai/docs/models/openai-gpt-image-2-6-flare/guides/transparent-backgrounds
description: "How to generate cut-out assets with GPT-Image-2.6 Flare: settings.background and the formats it needs, prompts that keep edges clean, contact shadows and frosted glass."
---
### [Introduction](https://runware.ai/docs/models/openai-gpt-image-2-6-flare/guides/transparent-backgrounds#introduction)

A product image on a storefront **rarely keeps its own background**. The same serum bottle lands on a category tile and inside a promo banner, and each of those has a different color behind it. Generating the bottle on white and cutting it out afterward adds a step to the pipeline, and it leaves a pale fringe wherever the cut was not perfect.

`settings.background` removes that step. Set it to `transparent` and GPT-Image-2.6 Flare **renders the subject onto an alpha channel**, so the file it returns has nothing behind the bottle at all.

![A matte blush-pink glass serum bottle with a brushed gold collar, a black dropper bulb and a white label reading HYALURONIC SERUM, cut out with no background behind it](https://runware.ai/docs/assets/output-hero.BDNrh9pL_Z17yL00.jpg)

*The checkerboard is drawn by this page behind the PNG*

> **Prompt**: A single skincare serum bottle in opaque matte blush-pink glass with a brushed gold collar and a black rubber dropper bulb, a slim white label on the front reading "HYALURONIC SERUM" in small black sans-serif, upright in a straight front view, floating with no background, no surface and no shadow, clean crisp edges all the way around. Photoreal product rendering, soft studio lighting from the front left.

Everything outside the bottle is empty in the file. A category tile fills that space with its own color, the same way the checkerboard fills it here.

This guide covers the setting and the formats it needs, prompting for a clean cut-out, matching icon sets, contact shadows, checking a file on light and dark tiles, and semi-transparent materials such as frosted glass.

### [The request](https://runware.ai/docs/models/openai-gpt-image-2-6-flare/guides/transparent-backgrounds#the-request)

Transparency is one field, `settings.background`, and **one of its three values changes the rest of the request**.

**TypeScript**:

```typescript
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'openai:gpt-image@2.6-flare',
  positivePrompt: 'A single skincare serum bottle in opaque matte blush-pink glass with a brushed gold collar and a black rubber dropper bulb, a slim white label on the front reading "HYALURONIC SERUM" in small black sans-serif, upright in a straight front view, floating with no background, no surface and no shadow, clean crisp edges all the way around. Photoreal product rendering, soft studio lighting from the front left.',
  settings: {
    background: 'transparent'
  },
  outputFormat: 'PNG',
  width: 1024,
  height: 1280
})
```

**Python**:

```python
import asyncio
import os

from runware import Runware

async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "openai:gpt-image@2.6-flare",
            "positivePrompt": "A single skincare serum bottle in opaque matte blush-pink glass with a brushed gold collar and a black rubber dropper bulb, a slim white label on the front reading \"HYALURONIC SERUM\" in small black sans-serif, upright in a straight front view, floating with no background, no surface and no shadow, clean crisp edges all the way around. Photoreal product rendering, soft studio lighting from the front left.",
            "settings": {
                "background": "transparent"
            },
            "outputFormat": "PNG",
            "width": 1024,
            "height": 1280
        })

asyncio.run(main())
```

**cURL**:

```bash
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "7e2c4a91-5b3d-4f68-a0c7-2d9e1b6f8a35",
      "model": "openai:gpt-image@2.6-flare",
      "positivePrompt": "A single skincare serum bottle in opaque matte blush-pink glass with a brushed gold collar and a black rubber dropper bulb, a slim white label on the front reading \"HYALURONIC SERUM\" in small black sans-serif, upright in a straight front view, floating with no background, no surface and no shadow, clean crisp edges all the way around. Photoreal product rendering, soft studio lighting from the front left.",
      "settings": {
        "background": "transparent"
      },
      "outputFormat": "PNG",
      "width": 1024,
      "height": 1280
    }
  ]'
```

**CLI**:

```bash
runware run openai:gpt-image@2.6-flare \
  positivePrompt="A single skincare serum bottle in opaque matte blush-pink glass with a brushed gold collar and a black rubber dropper bulb, a slim white label on the front reading \"HYALURONIC SERUM\" in small black sans-serif, upright in a straight front view, floating with no background, no surface and no shadow, clean crisp edges all the way around. Photoreal product rendering, soft studio lighting from the front left." \
  settings.background=transparent \
  outputFormat=PNG \
  width=1024 \
  height=1280
```

**JSON**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "7e2c4a91-5b3d-4f68-a0c7-2d9e1b6f8a35",
  "model": "openai:gpt-image@2.6-flare",
  "positivePrompt": "A single skincare serum bottle in opaque matte blush-pink glass with a brushed gold collar and a black rubber dropper bulb, a slim white label on the front reading \"HYALURONIC SERUM\" in small black sans-serif, upright in a straight front view, floating with no background, no surface and no shadow, clean crisp edges all the way around. Photoreal product rendering, soft studio lighting from the front left.",
  "settings": {
    "background": "transparent"
  },
  "outputFormat": "PNG",
  "width": 1024,
  "height": 1280
}
```

- `auto` is the default and leaves the choice to the model, based on the prompt.
- `opaque` always returns a solid background, whatever the prompt says.
- `transparent` returns the subject on an alpha channel.

> [!WARNING]
> `transparent` needs a format that can store alpha. Send `outputFormat` as `PNG` or `WEBP` with it. A transparent request that leaves `outputFormat` out, or asks for `JPG`, `SVG` or `GIF`, is rejected rather than returned flattened.

The same rule keeps [animated GIFs](https://runware.ai/docs/models/openai-gpt-image-2-6-flare/guides/animated-gifs) opaque, since `GIF` is not one of the two formats. For a flat icon that has to scale to any size, [SVG output](https://runware.ai/docs/models/openai-gpt-image-2-6-flare/guides/svg-output) is the other route to a clean asset: a vector file instead of a raster cut-out.

### [Prompting for a clean cut-out](https://runware.ai/docs/models/openai-gpt-image-2-6-flare/guides/transparent-backgrounds#prompting-for-a-clean-cut-out)

The setting gives the file an alpha channel. **The prompt decides what ends up inside it**, and a prompt that still reads like a photo shoot brings parts of the shoot along.

**Name what is absent.** A product photo usually has a surface and a shadow, so a prompt that does not rule them out leaves the model room to add them. "No background, no surface and no shadow" is the clause that keeps a faint floor and a gray smudge out of the file.

**Describe the object and its light, not a room.** Put the bottle on a bathroom shelf next to a window and the model has a scene to light it from, so the reflections and color cast of that scene can end up on the glass even when the shelf is cut away. Give the light in studio terms instead: a direction and a softness.

The hero prompt, clause by clause:

**[Subject]** A single skincare serum bottle in opaque matte blush-pink glass with a brushed gold collar and a black rubber dropper bulb, **[Label]** a slim white label on the front reading "HYALURONIC SERUM" in small black sans-serif, **[View]** upright in a straight front view, **[Absent]** floating with no background, no surface and no shadow, **[Edges]** clean crisp edges all the way around, **[Light]** Photoreal product rendering, soft studio lighting from the front left

Every clause either describes the bottle or rules something out. **None of them names a place.**

#### [Matching sets](https://runware.ai/docs/models/openai-gpt-image-2-6-flare/guides/transparent-backgrounds#matching-sets)

A set of icons has to read as one family on the same screen. **Write the style once and append it to every subject**, word for word, so the palette, the hexagon frame and the absent-list carry over to every file. The three achievement badges below share this clause:

```text
inside a hexagonal frame with a thick rounded border, flat vector style, bold clean outlines, four flat colors in electric violet, mint green, white and deep navy, no gradients, no text, floating with no background, no surface and no shadow, crisp edges all the way around. Modern fitness app achievement icon.
```

![A flat hexagonal badge in violet, mint, white and navy showing a running shoe with speed lines behind it, with no background around the frame](https://runware.ai/docs/assets/output-badge-1.BO6QbbwV_29uHMx.jpg)

*First run*

> **Prompt**: A fitness app achievement badge showing a running shoe with three speed lines trailing behind it, inside a hexagonal frame with a thick rounded border, flat vector style, bold clean outlines, four flat colors in electric violet, mint green, white and deep navy, no gradients, no text, floating with no background, no surface and no shadow, crisp edges all the way around. Modern fitness app achievement icon.

![A flat hexagonal badge in violet, mint, white and navy showing a flame rising from a calendar page, with no background around the frame](https://runware.ai/docs/assets/output-badge-2.Dr2vrgs3_Z1nQ8pf.jpg)

*7-day streak*

> **Prompt**: A fitness app achievement badge showing a flame rising from an open calendar page, inside a hexagonal frame with a thick rounded border, flat vector style, bold clean outlines, four flat colors in electric violet, mint green, white and deep navy, no gradients, no text, floating with no background, no surface and no shadow, crisp edges all the way around. Modern fitness app achievement icon.

![A flat hexagonal badge in violet, mint, white and navy showing a dumbbell inside a laurel wreath, with no background around the frame](https://runware.ai/docs/assets/output-badge-3.BpGQJsjB_Z1Rbutj.jpg)

*100 workouts*

> **Prompt**: A fitness app achievement badge showing a dumbbell inside a laurel wreath, inside a hexagonal frame with a thick rounded border, flat vector style, bold clean outlines, four flat colors in electric violet, mint green, white and deep navy, no gradients, no text, floating with no background, no surface and no shadow, crisp edges all the way around. Modern fitness app achievement icon.

Only the object changes from one prompt to the next. The clause also carries "no text", because **the app sets the badge names itself**, in its own font and language, under the art.

### [Contact shadows](https://runware.ai/docs/models/openai-gpt-image-2-6-flare/guides/transparent-backgrounds#contact-shadows)

The soft shadow where an object meets the floor is what makes it look like it rests on something. In a transparent file that shadow becomes **a band of semi-transparent gray that travels with the asset** onto every layout it is placed in.

The jacket below is a flat-lay, a format normally shot on a board or a bedsheet. Both prompts **keep the arrangement and drop the surface**: laid flat, seen from directly above, sleeves folded in at the elbows, no visible surface. Only the second asks for the shadow.

![A light-wash denim trucker jacket laid flat from above with its sleeves folded in and copper buttons done up, cut out with no background and no shadow](https://runware.ai/docs/assets/output-noshadow.CfB5EaKb_1tKume.jpg)

*No shadow, fits any tile*

> **Prompt**: A single light-wash denim trucker jacket laid flat and seen from directly above, sleeves folded in at the elbows, copper buttons done up, collar spread open, floating with no background, no surface beneath it and no shadow, clean crisp edges all the way around. Photoreal e-commerce product photography, even soft overhead lighting.

![The same light-wash denim jacket laid flat with a faint gray shadow along its hem and right side, and no background](https://runware.ai/docs/assets/output-shadow.BdatzpxT_Z6JeOo.jpg)

*Contact shadow, for light tiles you own*

> **Prompt**: A single light-wash denim trucker jacket laid flat and seen from directly above, sleeves folded in at the elbows, copper buttons done up, collar spread open, with a soft contact shadow hugging its edges as if it rests on a surface, no background and no visible surface, clean crisp edges. Photoreal e-commerce product photography, soft overhead lighting from the upper left.

**Leave the shadow out** when the asset goes somewhere you do not control. A drop shadow added in CSS or in the compositing step costs nothing and can match each layout, while a baked-in one takes another render to remove. Keep it for light backgrounds you own, where it stops a flat garment from looking pasted onto the tile.

### [Checking on light and dark tiles](https://runware.ai/docs/models/openai-gpt-image-2-6-flare/guides/transparent-backgrounds#checking-on-light-and-dark-tiles)

The no-shadow jacket, placed on two product tiles:

![The light-wash denim jacket cut-out centered on a plain warm off-white product tile](https://runware.ai/docs/assets/output-composite-light.BdtVMbI2_Z1dgweP.jpg)

*Off-white tile*

![The same denim jacket cut-out centered on a plain charcoal product tile, its edges clean against the dark](https://runware.ai/docs/assets/output-composite-dark.NGwMim6h_Jh79g.jpg)

*Charcoal tile*

**The dark tile is the check that matters.** A fringe of light pixels left along an edge vanishes against an off-white tile and shows up as a thin outline against charcoal. On the jacket, look at the cuffs and the collar points, where the outline turns sharpest.

Run the check with the tile colors of the layouts the asset ships into, and **against both themes** when the interface has a dark mode.

### [Semi-transparent materials](https://runware.ai/docs/models/openai-gpt-image-2-6-flare/guides/transparent-backgrounds#semi-transparent-materials)

The alpha channel separates the subject from what is behind it, and **inside the subject it comes back solid**. The candle jar below was briefed with softly translucent frosted glass and a fully opaque lid and label. In the file the whole jar is opaque: the frosted look is painted in as a pale color, so the checkerboard stops at the edge of the glass.

![A wide frosted glass candle jar with a solid oak lid and a small kraft label in three-quarter view, the glass painted an opaque pale cream with no checkerboard showing through it](https://runware.ai/docs/assets/output-translucent.Bh7MWiEi_23DJmP.jpg)

*The jar is solid in the file, glass included*

> **Prompt**: A single scented candle in a frosted glass jar, a wide straight-sided jar with a solid oak lid resting on top and a small blank kraft paper label on the front, three-quarter view, the frosted glass softly translucent so light passes through it and the cream wax inside shows as a soft glow, the lid and the label fully opaque, floating with no background, no surface and no shadow, clean crisp edges all the way around. Photoreal product rendering, soft studio lighting from behind and to the left.

**Plan see-through materials as opaque.** A frosted or tinted surface keeps the color it was rendered with on every tile, so the pale glass that suits an off-white tile reads as a frosted sticker on charcoal. Run glass through the dark-tile check and keep it for the backgrounds where its color works.

### [Tips](https://runware.ai/docs/models/openai-gpt-image-2-6-flare/guides/transparent-backgrounds#tips)

1. **Send `PNG` or `WEBP` with every transparent request.** Any other output format, or none at all, is rejected.
    
2. **List what is absent.** "No background, no surface and no shadow" keeps the floor and the shadow of a product shoot out of the file.
    
3. **Light the object, not a room.** Give a direction and a softness. A room in the prompt can leave its reflections on the subject.
    
4. **Share one style clause across a set.** Append it word for word and change only the object.
    
5. **Leave the shadow out unless you own the layout.** Add it per layout in CSS or in the compositing step instead.
    
6. **Check every asset on a dark tile.** A fringe that disappears on white shows as an outline on charcoal.
    
7. **Plan glass as opaque.** Frosted and tinted materials come back solid in the alpha channel, so check them on every tile they ship into.