gpt-image-2 can generate transparent backgrounds in preview
Transparent backgrounds entered preview for gpt-image-2 in the Images API and the Responses API image generation tool. Set background to transparent with png or webp output; jpeg does not support it.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingDesign and asset pipelines can get cut-out images straight from the model instead of removing backgrounds afterwards. It is preview, and `gpt-image-2` is already scheduled for deprecation, so avoid building heavily on it.
Engineer
What to change, what breaks, what to test Worth knowingSet `background` to `transparent` with `output_format` `png` or `webp` on `gpt-image-2`; `jpeg` does not support it. Plan for `gpt-image-2`'s deprecation before depending on the feature.
General consumer
Using ChatGPT, not the API No impactNothing to do — this is an API image option and does not change image generation in ChatGPT.
gpt-image-2 and its snapshot gpt-image-2-2026-04-21 can produce images with a transparent background, in preview. It works in the Images API (generations and edits) and in the image generation tool of the Responses API.
Set background to transparent and request png or webp output. jpeg has no alpha channel, so transparent backgrounds are not available with it. Note that gpt-image-2 is already scheduled for deprecation (announced June 2, 2026).
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
background: transparent | added | no | gpt-image-2 gpt-image-2-2026-04-21 |
Topics: Images, audio and video
Terms on this page: Deprecation