OpenAI Adds Transparent Background Generation to GPT-Image-2 API
OpenAI is previewing a transparent background feature for GPT-Image-2 through its API, letting developers generate PNGs with no background baked in at generation time. The company claims this produces cleaner results than traditional background removal, particularly on difficult edges like glass or thin fibers.
OpenAI is previewing transparent background support for GPT-Image-2 through its API, allowing developers to generate PNG images with no background rather than removing it afterward.
The feature is activated with a new background=transparent parameter in API calls. According to OpenAI, generating the alpha channel directly during image creation produces better results than conventional background-removal techniques applied after the fact. The company specifically cites improved handling of difficult areas such as transparent glass and thin fibers — regions where standard cutout tools typically struggle with edge artifacts.
OpenAI's accompanying Cookbook documentation outlines four target use cases:
- Product shots for e-commerce listings
- Diagrams for presentation software like PowerPoint
- Design elements including icons and stickers
- Merchandise artwork
Implementation details
OpenAI recommends against including background descriptions in prompts when using the transparent parameter, noting the model may still render a background if one is described in the text prompt despite the transparency setting.
For use cases involving charts or diagrams with specific numerical values, OpenAI advises manual verification of generated figures. The company states that GPT-Image-2 produces raster graphics and does not guarantee pixel-perfect accuracy for text or numbers embedded in images.
Developers looking to implement the feature need Python, the OpenAI and Pillow libraries, and an active API key. No pricing changes were mentioned alongside this update, and OpenAI has not disclosed whether transparent-background generation carries different token or compute costs than standard GPT-Image-2 requests.
What this means
This is a targeted workflow improvement rather than a new model or capability tier. Transparent background generation addresses a persistent pain point in AI image generation pipelines: post-hoc background removal tools frequently introduce artifacts around fine details like hair, glass, or fabric fibers, requiring manual cleanup before assets are usable in production contexts like e-commerce or marketing.
By baking transparency into the generation step itself, OpenAI is competing more directly with established design-asset workflows that currently rely on a generate-then-cut-out pipeline using separate tools. This matters most for teams building automated content pipelines — product photography, marketing collateral, or app icon generation — where eliminating a manual editing step reduces both cost and turnaround time.
The caveat about numerical accuracy in charts is a reminder that GPT-Image-2 remains a diffusion-based raster model, not a vector or data-rendering tool. Teams generating infographics or data visualizations still need a verification step before shipping generated assets, transparent background or not.
Related Articles
OpenAI Launches GPT-Image-2.5 in Two Variants, Cuts Latency Up to 50%
OpenAI has released GPT-Image-2.5 in two variants — Flare and Sunburst — promising faster generation, more precise multi-step editing, and new 'xhigh' and 'max' quality tiers. Both models use identical token pricing but land at the top of Arena's preliminary text-to-image leaderboard.
OpenAI's GPT-6 Astra Beats Claude Fable 5.1 Nearly 3-to-1 in Autonomous Business Benchmark, Tops Drone Navigation Tests
Independent testing lab Andon Labs found OpenAI's GPT-6 Astra nearly triples Claude Fable 5.1's performance running a simulated vending machine business, averaging $15,515 versus $5,422. Astra also became the first model to beat human-AI baseline performance across all five Drone-Bench subtasks, including autonomous person-tracking via drone.
GPT-6 Astra Beats Ai2's MolmoAct2 on New Robotics Benchmark, Researcher Calls It a 'Step Change'
A new robotics benchmark called StationeryBench shows OpenAI's GPT-6 Astra completing 7 of 100 desk-object manipulation tasks versus zero for Ai2's MolmoAct2, with a median progress score of 46 against 12. Cornell/DeepMind researcher Yoav Artzi calls the result a 'step change in spatial reasoning.'
Perplexity Says It Runs End-to-End Engineering Systems on OpenAI's GPT-6 Astra
Perplexity says it has shifted core engineering workflows, including code changes and production monitoring, onto OpenAI's GPT-6 Astra model. The claim comes from an OpenAI-published case study with no independent benchmark data released.
Comments
Loading...