OpenAI
GPT-6.2 Astra
最大上下文
1.1M
最大輸出
128K
發布日期
暫無
gpt-image-2-editImage 2 是 OpenAI 的先進圖像生成與編輯模型,能提供高品質視覺效果、精準遵循指令、準確渲染文字,以及靈活的圖像編輯。
上下文視窗
0 Token
發布日期
2026年4月21日
模態
| 解析度 | Low | Medium | High |
|---|---|---|---|
| 1K | $0.02 | $0.07 | $0.23 |
| 2K | $0.03 | $0.11 | $0.41 |
| 4K | $0.04 | $0.19 | $0.73 |
推理
工具呼叫
Temperature 參數
附件
知識庫
Endpoint 協議
GPT-Image-2 Edit 對應 GPT-Image-2 的影像編輯流程,結合文字引導修改、高擬真圖片輸入與彈性的輸出尺寸。
開發者可使用自然語言指示修改輸入圖片,簡化反覆調整的創意工作流程。
高擬真圖片處理有助於套用指定修改時保留來源圖片的重要細節。
彈性的圖片尺寸方便將編輯後素材套用於不同版型、呈現位置與發布管道。
GPT-Image-2 Edit 適合產品圖修飾、創意素材調整與視覺概念反覆改進。
保留產品來源圖片重要細節的同時,調整背景、光線、構圖或呈現方式。
為橫幅、方形貼文或其他呈現位置重新構圖,同時保留素材的關鍵視覺元素。
透過連續指示修改色彩、物件、氛圍與版面配置,讓視覺概念逐步接近目標成果。
SUBMIT_RESPONSE=$(curl 'https://us-api.tokenhub.com/generation/tasks' \
-X 'POST' \
-H "Authorization: Bearer $TOKENHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"aspect_ratio": "1:1",
"images": [
"https://example.com/input-product.png"
],
"mask_url": "https://example.com/mask.png",
"model": "gpt-image-2-edit",
"output_format": "png",
"quality": "high",
"response_format": "url"
}')
TASK_ID=$(printf '%s' "$SUBMIT_RESPONSE" | python -c "import json,sys; print(json.load(sys.stdin)['data']['task_id'])")
ENCODED_TASK_ID=$(TASK_ID="$TASK_ID" python -c 'import os,urllib.parse; print(urllib.parse.quote(os.environ["TASK_ID"], safe=""))')
for attempt in 1 2 3 4 5 6 7 8 9 10; do
TASK_RESPONSE=$(curl 'https://us-api.tokenhub.com/generation/tasks/'"${ENCODED_TASK_ID}" \
-H "Authorization: Bearer $TOKENHUB_API_KEY")
printf '%s\n' "$TASK_RESPONSE"
# Stop polling here when the response reports a terminal status.
[ "$attempt" -eq 10 ] || sleep 2
done關於在 TokenHub 使用 GPT Image 2 Edit 編輯圖像的實用問答。
此 TokenHub 項目用於基於 GPT Image 2 的圖像編輯工作流程。OpenAI 將 gpt-image-2 定義為支援文字與圖像輸入、輸出圖像的高品質圖像生成和編輯模型。
它適合物件替換或移除、背景與光線調整、產品樣機、虛擬試穿、圖像合成、風格轉換,以及需要保留原圖關鍵部分的編輯任務。
其優勢包括高品質編輯、彈性的輸出尺寸、高保真圖像輸入、局部重繪支援、較強的合成能力,以及對詳細指令和文字密集型設計的良好處理。
複雜編輯仍可能改變本應保留的細節,文字、人物特徵、幾何結構或精細邊緣也可能需要多次迭代。提示詞應明確說明允許修改和必須保持不變的內容,並審核重要結果。
在 TokenHub 請求中選擇 GPT Image 2 Edit,提供原始圖像和明確的編輯提示詞,並使用帳戶分配的介面位址與憑證。支援的選項應以 TokenHub 目前的請求格式為準。
圖像費用可能隨輸出尺寸、品質和其他請求設定變化。TokenHub 的價格、配額、支援選項以及地區或帳戶可用性可能調整,正式使用前請查看目前模型頁面和帳戶限制。
當編輯品質、指令遵循、彈性尺寸、圖像合成或原圖細節保留比最低成本更重要時,可優先選擇它。如果吞吐量和預算是主要限制,則應與更輕量的替代模型比較。
透過一個 API Key 接入 GPT Image 2 Edit 與更多 AI 模型。
Gpt-image-2-edit 媒體、示範與評測
精選的 GPT Image 2 公開動態、實用示範、橫向比較、教學和客觀評測。
X (Twitter)
leo 🐾 ·
GPT Image 2 has been stealth launched on ChatGPT for all image generations Was previously appearing as a common A/B test but now all gens appear to be getting routed to the new model!
查看原文David Hendrickson ·
😮 Rumors are that GPT Image 2 has already been launched on ChatGPT. 👀 While I cannot confirm this, the image generation for InfoGraphics is NanoBanana 2 quality in my opinion. Text is not garbled, and coherence is much better! Nanobana 2 Prompt: "Infographic which shows the https://t.co/OkFznKAKiA
https://pbs.twimg.com/media/HFFGR_abQAAQZ9e.jpg查看原文すぐる | ChatGPTガチ勢 𝕏 ·
【速報】OpenAIの次世代画像生成AI 「GPT-Image-2」あまりにも性能が高すぎて話題に... ㅤ ①テキスト描画の精度が異次元 →曲面の上でも文字が崩れない ②世界知識(地図・解剖図)が大幅向上 →ラベルの位置がまともになった ③写実性がNano Banana Pro超え https://t.co/SM6ljreFZH
https://pbs.twimg.com/media/HFDSVnnbwAEjL9w.jpghttps://pbs.twimg.com/media/HFDSV6Ta4AAC9J_.jpghttps://pbs.twimg.com/media/HFDSWOqacAAQZSr.jpghttps://pbs.twimg.com/media/HFDSWnDbkAASCsZ.jpg查看原文Reddit
Tutorial: How to use GPT Image 2 in the same way as ChatGPT - but with a visual twist
Low-Entropy ·
展開全文
GPT Image 2 is out for a while now, and has been blowing everyone's mind, including mine. It is more responsive and "understanding" to prompts, tasks, specific demands than any other AI image generator I tried so far. It's so smart and advanced that you can actually use it... or rather, talk to, in a very similar way as you talk to ChatGPT - and use it for most of the tasks that you set for ChatGPT, too! But with a visual twist. And that is the big, big game changer. Because, so far, the various AI models were separated by their mode. We had large language models like ChatGPT or Gemini, AI image generators, AI sound generators, AI video... But GPT Image 2 more or less merges the power of ChatGPT and image generators into one. So, you can talk to the AI, just like you would talk with ChatGPT. The only difference is that this time, the AI does not respond with text, words, chatting, or at least not directly. It responds in a visual way. So let us start with some examples: Prompt: Rank the 5 tastiest italian dishes. Give a reason for each. r/OpenAI - Tutorial: How to use GPT Image 2 in the same way as ChatGPT - but with a visual twist (https://preview.redd.it/tutorial-how-to-use-gpt-image-2-in-the-same-way-as-chatgpt-v0-3oe7g9ajo7bh1.jpg?width=1024&format=pjpg&auto=webp&s=6c260e2bb87686d87c497fca7dc5a16b2084ebe7) Prompt: Create a pixel art design, in which nikola tesla explains his invention of alternating current. r/OpenAI - Tutorial: How to use GPT Image 2 in the same way as ChatGPT - but with a visual twist (https://preview.redd.it/tutorial-how-to-use-gpt-image-2-in-the-same-way-as-chatgpt-v0-0pwln5ajo7bh1.jpg?width=1024&format=pjpg&auto=webp&s=fcff7051ffa49171e7bd10ca244b1da2f2b89b12) Prompt: Create an info graphic explaining the australian emu war. The graphic should look like it is actually from the 1930s. r/OpenAI - Tutorial: How to use GPT Image 2 in the same way as ChatGPT - but with a visual twist (https://preview.redd.it/tutorial-how-to-use-gpt-image-2-in-the-same-way-as-chatgpt-v0-aa73z5ajo7bh1.jpg?width=1024&format=pjpg&auto=webp&s=7a99f2f979286533e50919a4b0e0b50e8c43dbdf) Create an info graphic that explains the differences between a trebuchet and a catapult. Make it look like it's from the medieval era. r/OpenAI - Tutorial: How to use GPT Image 2 in the same way as ChatGPT - but with a visual twist (https://preview.redd.it/tutorial-how-to-use-gpt-image-2-in-the-same-way-as-chatgpt-v0-55t356ajo7bh1.jpg?width=1024&format=pjpg&auto=webp&s=f57628c1f6c22978f5f693349d2293fcb99dc9ba) Explain what a labyrinth. The letters should be arranged like a labyrinth or maze themselves. r/OpenAI - Tutorial: How to use GPT Image 2 in the same way as ChatGPT - but with a visual twist (https://preview.redd.it/tutorial-how-to-use-gpt-image-2-in-the-same-way-as-chatgpt-v0-1y9v0r0vo7bh1.jpg?width=1024&format=pjpg&auto=webp&s=d4f0ab010811f502b7fe448f175f5eac897b7e89) Tell me a good italian spaghetti recipe with which i can impress my guest. make the recipe look like it was written on a medieval scroll. r/OpenAI - Tutorial: How to use GPT Image 2 in the same way as ChatGPT - but with a visual twist (https://preview.redd.it/tutorial-how-to-use-gpt-image-2-in-the-same-way-as-chatgpt-v0-kbv3jmfvo7bh1.jpg?width=1024&format=pjpg&auto=webp&s=bac289e6c6a1e7718e1046d2608275efee54d4f0) Create a pixel art design that shows a space station control room. There should be a screen, and the screen should show 5 interesting facts that people rarely know about english grammar. r/OpenAI - Tutorial: How to use GPT Image 2 in the same way as ChatGPT - but with a visual twist (https://preview.redd.it/tutorial-how-to-use-gpt-image-2-in-the-same-way-as-chatgpt-v0-xjufbpsvo7bh1.jpg?width=1024&format=pjpg&auto=webp&s=3d70cd5d9af846fed9aab4885addcb6f4a8ba572) What is the use for this method of talking to GPT Image 2? Well, at the most basic level, there are at least 3 potential use cases: 1: "spicing" up your text output. Want to create a promo text for your new steampunk metroidvania game? then let it create the text *in the visual style* of the game. 2: creating very specific artworks and visuals, with long and fancy texts, sentences, passages... 3: creating images where the visual arrangement of texts is actually vital to the image. crossword puzzle designs, labyrinth structures made up of sentences... These are just some basic examples. I think there are still boundless other uses possible... there is still a lot of research that can be done!
GPT Image 2 vs GPT Image 1.5
Important-Respect-12 ·
查看原文GPT Image 2 is amazing for a lot of things, but for nature it is not...
anonymousStrang3r ·
查看原文YouTube
Introducing ChatGPT Images 2.0
OpenAI
查看原文OpenAI Image 2 is Nuts. Here are 10 Ways to Use it.
Nate Herk | AI Automation
查看原文Nano Banana Finally Dethroned. GPT-Image 2.0 FULLY tested
Futurepedia
查看原文