OpenAI 为 GPT-Image-2 新增透明背景生成功能
原标题:OpenAI's GPT-Image-2 can now generate images without a background
AI 摘要
OpenAI 通过 API 为 GPT-Image-2 预览透明背景支持,用户可生成无背景的 PNG 图像。该功能通过设置参数 'background=transparent' 启用,官方建议在提示词中省略背景描述。OpenAI 表示,在生成时直接处理 alpha 通道比传统抠图效果更好,尤其适用于透明玻璃或细纤维等复杂区域。Cookbook 中展示了四个用例:电商产品图、PPT 图表、设计元素(如图标和贴纸)以及商品图案。
正文节选
OpenAI's GPT-Image-2 can now generate images without a background 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