AI Catchup

OpenAI Adds Transparent Backgrounds to GPT-Image-2 in API Preview

By 2 min read

OpenAI added transparent-background output in preview for gpt-image-2 and gpt-image-2-2026-04-21 across the Images API and Responses API image-generation tool, with PNG or WebP output required.

OpenAI added transparent-background output in preview for gpt-image-2 and gpt-image-2-2026-04-21 on August 20. The change applies to the Images API and the Responses API image-generation tool, giving developers a way to request reusable image assets without an opaque background. (OpenAI Developers on X; OpenAI API changelog)

The update is aimed at assets that need to move between contexts: product imagery, graphic design, website mockups, and marketing campaigns. It is an API capability, not a claim that every image will automatically have a clean cutout for every prompt. (OpenAI Developers on X)

Request transparency with the background parameter

OpenAI's image-generation guide supports transparent, opaque, and auto as background values. To request transparency for GPT-Image-2, set background: "transparent". (OpenAI image-generation guide)

The output format matters: OpenAI says transparent backgrounds require PNG or WebP output. JPEG does not support transparent backgrounds, so a workflow that needs an alpha channel should keep the result in one of the supported formats. (OpenAI API changelog; OpenAI image-generation guide)

Where the preview fits

The transparent-background option is available in preview for both gpt-image-2 and the dated gpt-image-2-2026-04-21 model identifier. The changelog lists the Images API endpoints and the Responses API image-generation tool as supported surfaces. (OpenAI API changelog)

That makes the feature useful for applications that generate or edit assets as part of a larger workflow. A product catalog could place a generated object on different layouts; a design tool could keep an icon or illustration separate from the page background; and a campaign pipeline could reuse one asset across multiple compositions. These are direct applications of the transparent output described by OpenAI, not guarantees about a particular prompt or composition quality.

A small implementation checklist

  1. Set background to transparent.
  2. Request PNG or WebP output.
  3. Preserve the alpha channel when saving or transforming the returned bytes.
  4. Treat the feature as preview functionality and test the prompts and downstream image handling used by your application.

OpenAI's official guide also notes that background can be auto or opaque when a transparent result is not required. The important boundary for this release is that transparent output is preview-only for the listed GPT-Image-2 model identifiers, and JPEG is not a supported transparent format. (OpenAI image-generation guide)

Sources

Keep building the workspace playbook

Frequently Asked Questions

What changed for GPT-Image-2?

OpenAI says transparent backgrounds are available in preview for gpt-image-2 and gpt-image-2-2026-04-21 in the Images API and the Responses API image-generation tool.

How do you request a transparent background?

Set the background parameter to transparent. OpenAI's guide says the output format must be PNG or WebP; JPEG does not support transparent backgrounds.

What can transparent GPT-Image-2 assets be used for?

OpenAI's announcement points to reusable assets for product imagery, graphic design, website mockups, and marketing campaigns. The feature is still in preview, so applications should handle preview behavior as it changes.

Get the weekly AI Catchup

Tools, practices, and what matters, in your inbox every week.