Vibeleaderboard
← All Intel
Intel / post

GPT-Image-2 previews transparent backgrounds in the API

Source
x.com
Date

Transparent backgrounds are now available in preview for GPT-Image-2 in the API. Generate reusable assets you can place on any background—for product imagery, graphic design, website mockups, and marketing campaigns.

Context

Developers using OpenAI's GPT-Image-2 through the API can now ask for images with a transparent background, as a preview feature. Instead of a subject painted onto a filled backdrop, the image keeps see-through empty areas, so the subject can be placed on any page, slide or product photo without cutting it out by hand. The OpenAI Developers announcement names product imagery, graphic design, website mockups and marketing campaigns as uses, and its demo video adds game sprites and partly transparent elements such as a ghost.

OpenAI's cookbook guide to transparent assets, since updated for its newer GPT Image 2.5 models, requests this by setting the background option to transparent with PNG output. It also warns that the prompt outranks the setting: describe a backdrop and the model may draw one, so prompts should focus on an isolated subject. On OpenAI's developer forum, a user reported that after the announcement the API stopped refusing that setting for gpt-image-2.

The preview label matters. The same user, testing in that forum thread, reported faint grey or white fringes around subjects, areas meant to be solid that were very slightly see-through, and an edit of a transparent image that came back without transparency. These are one tester's reports rather than OpenAI statements, but they mean edges are worth checking before the output goes into finished designs.

More from OpenAI Developers
Recommended reads
Comments

Checking sign-in…

Loading comments…