GPT Image 2 可以用於生成式圖片編輯流程,社群討論亦指 API 支援 mask field;但現有公開證據不支持「只改 mask、其他像素完全不變」的保證。[13][14][16] Mask 較適合視為指定區域的編輯指引,不是傳統修圖軟件的硬選區;開發者回報與 arXiv 評測均提示改動可能溢出遮罩範圍。[1][5][21] 換背景、改包裝、修瑕疵可用於初稿和變體;正式產品圖交付前要做原圖對比,尤其檢查文字、標誌、包裝細節和未指定區域。

Create a landscape editorial hero image for this Studio Global article: GPT Image 2 可以局部改圖嗎?Mask 編輯能力與限制. Article summary: GPT Image 2 可以用圖片編輯工作流嘗試局部改圖;OpenAI 文件列出 image edit/Edits 入口,但現有公開證據不支持「只改 mask、其他完全不變」的保證。[13][14][15]. Topic tags: gpt image 2, openai, chatgpt, image generation, image editing. Reference image context from search candidates: Reference image 1: visual subject "可以。在對話中最多附16 張參考圖,然後描述你要改的部分。gpt-image-2 能做像素級編輯——換背景、換材質、增減元素——在保留沒提到的部分的同時只改寫你指定的部分。" source context "GPT Image 2 免費版 — Genspark AI 圖像產生器" Reference image 2: visual subject "A page of text discusses the advancements in image fidelity, visual styles, and the capabilities and limitations of GPT Image 2's mask editing functions, accompanied by a color-blo" Style: premium digital editorial illustration, source-backed research mood, clean composition, high detail, modern web publication hero. Use reference image
想用 GPT Image 2 為產品圖換背景、改包裝,或只修正圖片某個位置,核心問題不是有沒有 edit 功能,而是未指定區域會否被模型重新生成。就可核對的公開資料來看,較穩妥的答案是:可以用圖片編輯流程與 mask 嘗試局部修改;但不要承諾其他像素完全不變。[13][
14][
16][
1]
| 問題 | 較準確答案 | 依據類型 |
|---|---|---|
| GPT Image 2 有沒有圖片編輯基礎? | 有。OpenAI API Reference 有 Create image edit 入口,Image generation guide 亦把 Edits 定義為修改現有圖片;OpenAI 文件也有 GPT Image 2 model page。[ |
Studio Global AI
Use this topic as a starting point for a fresh source-backed answer, then compare citations before you share it.
GPT Image 2 可以用於生成式圖片編輯流程,社群討論亦指 API 支援 mask field;但現有公開證據不支持「只改 mask、其他像素完全不變」的保證。[13][14][16]
GPT Image 2 可以用於生成式圖片編輯流程,社群討論亦指 API 支援 mask field;但現有公開證據不支持「只改 mask、其他像素完全不變」的保證。[13][14][16] Mask 較適合視為指定區域的編輯指引,不是傳統修圖軟件的硬選區;開發者回報與 arXiv 評測均提示改動可能溢出遮罩範圍。[1][5][21]
換背景、改包裝、修瑕疵可用於初稿和變體;正式產品圖交付前要做原圖對比,尤其檢查文字、標誌、包裝細節和未指定區域。
繼續“Mogami vs Type 31:日本點解咁緊張新西蘭護衛艦單?”以獲得另一個角度和額外的引用。
Open related page對照「Corpay x BVNK:逾 80 萬企業客戶將可用穩定幣錢包同 24/7 結算」交叉檢查此答案。
Open related pageBoth models fail to confine edits to the masked region: GPT-Image ... - Image 2 is the mask where white means editable and black means preserve.
Help with images.edit : Mask Not Constraining Edit to Specific Area. --- Step 1: Generate the Mask using gpt-image-1 ---. image.save(img path mask, format="PNG"). print(f"Mask successfully generated and saved to {img path mask}"). mask = Image.open(img path...
The image(s) to edit. The model to use for image generation. The number of images to generate. This parameter is only supported for the GPT image models with the webp or jpeg output formats, and defaults to 100. The quality of the image that will be generat...
Image generation. Image generation. Image generation. Image generation. Generations : Generate images from scratch based on a text prompt. Edits : [Modify existing images](
| 官方文件 |
| 可否用 mask 或指定位置做局部編輯? | 可以嘗試。OpenAI Developer Community 有討論指 gpt-image-2 API 支援 mask field。[ | 社群討論+官方文件脈絡 |
| 可否保證只改遮罩內或指定位置? | 不應這樣承諾。一份 arXiv 圖像設計評測指出 GPT-Image 等模型在 masked edits 中未能可靠把修改限制在遮罩區域;開發者社群亦有類似回報。[ | 評測+開發者回報 |
| 適合產品圖、包裝圖、廣告素材嗎? | 適合做初稿、變體和輔助修圖;正式交付前要做人工 QA,特別是未指定區域、文字、標誌和包裝細節。[ | 實務風險判斷 |
OpenAI 的 API Reference 列出 Create image edit 方法,屬於修改既有圖片的 API 入口。[13] OpenAI 的 Image generation guide 亦把 Edits 放在圖片能力之中,並描述為修改現有圖片。[
14] 同時,OpenAI API 文件中有 GPT Image 2 的 model page。[
15]
這些資料可以支持一個保守結論:GPT Image 2 所屬的 GPT image 工作流有圖片編輯基礎。但「有 image edit」和「保證只改 mask 內像素」是兩件事。前者是功能入口;後者是輸出保真度承諾。就目前引用到的公開資料而言,官方文件不足以支持「未遮罩位置一定完全不變」這種說法。[13][
14]
OpenAI Developer Community 有針對 GPT Image 2 masking 的討論,當中有回覆指 gpt-image-2 API 支援 mask field。[16] 這代表 mask 可以成為工作流的一部分,但不等於它會像傳統修圖軟件的選區一樣,成為模型不能跨越的硬邊界。
原因在於,GPT Image 類模型的局部編輯本質上仍是生成式編輯。開發者社群有帖文回報 images.edit 的 mask 未能把改動限制在指定區域;另一則回覆亦指出,與 DALL·E 2 不同,GPT Image 的 masking 更偏向 prompt-based guidance,模型可能不會完全跟從 mask。[5][
21] 這些社群資料不是正式規格,但對實際使用風險有參考價值。
更重要的是評測證據。一份 arXiv 圖像設計評測提到,GPT-Image 等模型在 masked edit 任務中未能把修改可靠限制在遮罩區域內。[1] 這不代表 GPT Image 2 每次局部改圖都會失敗;但足以反駁「一定只改指定位置」這種絕對承諾。
用 GPT Image 2 嘗試換背景是合理的圖片編輯用途,因為 OpenAI 的 image edit/Edits 文件本身已涵蓋修改既有圖片的工作流。[13][
14] 但換完背景後,不應只看背景是否變成目標風格。更應檢查產品邊緣、陰影、反光、比例、顏色,以及主體有沒有被重新詮釋。由於 mask 未必能穩定限制改動範圍,最好把原圖和輸出圖並排比對。[
1][
5]
改包裝適合用來做 mockup、方向探索或多版本變體;但如果圖片要用於商業交付,就要特別小心。真正風險不只是包裝改不到,而是模型在改包裝時,把本來要保留的標誌、文字、比例或周邊細節也一併改動。這正是 mask 不應被包裝成像素級保真保證的原因。[1][
21]
如果只是修走瑕疵、改一個小物件或調整局部區域,可以用 mask 加上清楚 prompt 嘗試。較安全的 prompt 不只描述要改什麼,也要描述什麼不可改,例如保留人物五官、產品形狀、品牌標誌、文字、背景和光影一致性。不過,這仍是生成式編輯;輸出後仍要檢查未遮罩區域是否漂移。[16][
21]
較安全的說法是:GPT Image 2 有圖片編輯工作流基礎,並可配合 mask 或指定區域 prompt 嘗試局部修改;但公開資料不支持承諾只改指定像素或指定區域,其他位置完全不變。[13][
14][
15][
16][
1]
應避免把能力講成:GPT Image 2 可以保證只改背景、包裝或指定位置,其他地方完全不變。對產品圖、包裝圖和商業素材,最穩陣的做法是把它視為高效生成式編輯工具,再用人工 QA 確認未指定區域沒有被意外改動。[1][
5][
21]
Overview. Models. Latest: GPT-5.4. Using tools. Overview. Models and providers. Running agents. Evaluate agent workflows. …
Is masking supported by gpt image 2? The docs do say that GPT Image models support edits, so masking/editing should not be limited to DALL·E 2 in general. Edit an image using a mask - Image generation OpenAI API. The OpenAI API lets you generate and edit im...
Unlike with DALL·E 2, masking with GPT Image is entirely prompt-based. This means the model uses the mask as guidance, but may not follow its