OpenAI 为 GPT-Image-2 预览透明背景生成功能

The Decoder:AI News(RSS)·2026-08-21 15:53·3天前·Matthias Bastian
AI 导读

OpenAI 通过 API 为 GPT-Image-2 预览透明背景支持,用户可生成无背景的 PNG 图片。该功能覆盖电商产品图、PPT 图表、图标贴纸等设计元素及周边商品图四种用例。官方称生成时直接烘焙 alpha 通道优于传统抠图,尤其在透明玻璃或细纤维等复杂区域;用户通过 background=transparent 参数启用,并建议提示词中不描述背景。

The Decoder:AI News(RSS)
47AI 编辑部评分,满分 100

OpenAI 为 GPT-Image-2 预览透明背景生成功能

2026-08-21 15:53· 3天前· Matthias Bastian
AI 导读

OpenAI 通过 API 为 GPT-Image-2 预览透明背景支持,用户可生成无背景的 PNG 图片。该功能覆盖电商产品图、PPT 图表、图标贴纸等设计元素及周边商品图四种用例。官方称生成时直接烘焙 alpha 通道优于传统抠图,尤其在透明玻璃或细纤维等复杂区域;用户通过 background=transparent 参数启用,并建议提示词中不描述背景。

OpenAI is previewing transparent background support for GPT-Image-2 through its API. Users can generate PNGs with no background. The Cookbook covers four use cases: product shots for online stores, PowerPoint diagrams, design elements like icons and stickers, and merchandise artwork. According to OpenAI, baking the alpha channel in during generation produces better results than conventional background removal, especially on tricky areas like transparent glass or thin fibers.

视频 · 前往原文观看

Users activate the feature with the "background=transparent" parameter. OpenAI recommends leaving background descriptions out of the prompt, since the model may still generate one otherwise.

For charts with exact numbers, OpenAI suggests verifying generated values manually. The model produces raster graphics and doesn't guarantee pixel-perfect accuracy. Setup requires Python, the OpenAI and Pillow libraries, and an API key.

来源:The Decoder:AI News(RSS)· the-decoder.com