For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
主要導覽

圖像提示詞

瞭解圖像生成與編輯的提示詞模式,以及各模型的專屬指引。

GPT Image 2.5 提示詞指南

選擇模型、撰寫有效的提示詞,並在多次編輯中保留細節。

概覽

先確定你需要什麼樣的圖像,再描述主體、構圖、風格與限制條件。編輯時,請明確指出哪些部分應該改變、哪些必須維持不變。每次只調整一個項目,並檢查結果。

GPT Image 2.5 提供兩種模型選擇。GPT Image 2.5 Flare 是針對速度最佳化的小型模型,圖像品質與 GPT Image 2 相當。GPT Image 2.5 Sunburst 是針對品質最佳化的基礎模型,圖像品質優於 GPT Image 2。兩種模型在精準編輯與主體保留方面都有所改進。

如需 API 設定與請求範例,請參閱圖像生成指南

選擇模型

建立新工作流程時,如果優先考量速度,請先使用 GPT Image 2.5 Flare;如果首要目標是滿足嚴格的品質要求,請先使用 GPT Image 2.5 Sunburst。輸出符合需求後,再尋找降低延遲的方法。

從目前使用的圖像模型遷移時,請以現有的圖像品質為起點。兩種模型都支援圖像生成、編輯與透明背景。

目前的工作流程先測試的模型
現有且經過驗證的 GPT Image 2 工作流程已符合你的品質要求GPT Image 2.5 Flare。檢查能否在降低延遲的同時,維持可接受的品質。
GPT Image 2 無法滿足品質要求的複雜使用案例GPT Image 2.5 Sunburst。先確認它能提供所需的品質。

如果 GPT Image 2.5 Sunburst 符合你的品質要求,請使用相同的提示詞與輸入測試 GPT Image 2.5 Flare。如果 GPT Image 2.5 Flare 也符合這些要求,並且能降低延遲,就切換到該模型。如果你的工作流程需要 GPT Image 2.5 Sunburst 的品質優勢,則繼續使用它。

請以自己的工作負載測量回應時間與品質。結果取決於提示詞、參考圖像、輸出尺寸與品質設定;某項工作負載的速度提升,並不代表另一項工作負載也會有固定幅度的提升。

模型參數

請將 API 參數與提示詞分開設定。

參數GPT Image 2.5 設定
modelgpt-image-2.5-flare(小型模型)或 gpt-image-2.5-sunburst(基礎模型)
qualityauto(預設)、lowmediumhighxhighmax
sizeauto 或自訂解析度。常見尺寸:1024x1024(正方形)、1536x1024(橫向)、1024x1536(直向)、2048x2048(2K 正方形)、2048x1152(2K 橫向)、3840x2160(4K 橫向)及 2160x3840(4K 直向)。
backgroundautoopaquetransparent

若要使用自訂解析度,請採用 WIDTHxHEIGHT 格式,並遵守下列限制:

  • 每一邊都不得超過 3,840 像素。
  • 兩邊的像素數都必須是 16 的倍數。
  • 長邊與短邊的比例不得超過 3:1。
  • 總像素數必須介於 655,360 與 8,294,400 之間。

總像素數超過 3,686,400(2560x1440)的輸出屬於實驗性功能。

調整 quality 之前,請先依照上述工作流程選擇模型。第一次比較時,若兩種模型都支援你明確選定的品質設定,請保持該設定不變,並使用相同的提示詞、參考圖像與輸出尺寸。不同模型使用相同的品質標籤,並不代表圖像品質或回應時間相同。

如果輸出未達要求,請測試較高的品質設定。符合需求後,再測試較低的設定,看看能否在降低延遲的同時維持可接受的品質。只有在 xhighmax 能於可接受的延遲範圍內改善尚未達標的品質項目時,才使用這些設定。較高的設定不保證對每個提示詞都能產生更好的結果。

如需透明素材,請明確指定 background="transparent",並使用 PNG 或 WebP。檢查解碼後圖像的 Alpha 通道,包括頭髮、玻璃、陰影與物體邊緣。output_compression 僅適用於 JPEG 或 WebP 輸出,不適用於 PNG。

遷移現有工作流程

  1. 儲存比較基準。 收集正式環境中具代表性的提示詞與參考圖像,涵蓋高難度編輯、精確文字、人臉、產品幾何形狀與透明素材。記錄目前的模型、請求設定與結果。
  2. 選擇第一個候選模型。 如果 GPT Image 2 已符合你的品質要求,請先使用 GPT Image 2.5 Flare,測試能否降低延遲。如果 GPT Image 2 在複雜使用案例中的表現未達要求,請先使用 GPT Image 2.5 Sunburst,確認它符合你的品質要求。第一次比較時,請保持提示詞、參考圖像、尺寸與輸出格式不變。
  3. 全面檢查結果。 比較指令遵循程度、人物身分特徵與產品特徵的保留情況、文字準確度、非預期變更及透明效果。重複發出請求以測量一致性。對於編輯工作流程,請同時測試完整的編輯序列與個別步驟。
  4. 品質達標後,再測試能否降低延遲。 如果你先使用 GPT Image 2.5 Sunburst,且它符合品質要求,請依照相同要求評估 GPT Image 2.5 Flare。只有在品質仍可接受且延遲有所改善時才切換;否則,請繼續使用 GPT Image 2.5 Sunburst。
  5. 每次只調整一項設定。 改寫提示詞之前,先比較各個品質等級。測量一般與較慢情況下的回應時間、失敗情況、重試情況,以及每張通過驗收圖像的成本。請確認目前的定價,不要假設速度較快的模型費用較低。
  6. 依工作流程逐步導入。 已發布的模型通過你的驗收標準後,先將少量流量轉移至該模型,監控相同的指標,再逐步擴大使用。在舊模型仍受支援期間,保留舊模型以便回復。

從 GPT Image 1 或 1.5 遷移時,請使用參考資料分頁查看參數差異與停用日期。請測試候選模型支援的請求設定,不要直接照搬舊設定。若從 GPT Image 2 遷移,比較時請維持現有的解析度與透明效果要求。

多次編輯仍可能改變你原本想保留的細節。請重申這些限制條件,並檢查每次的結果。如果某個區域的每個像素都必須保持完全一致,請將確認可用的編輯部分合成到原始圖像中,不要只依賴提示詞。

提示詞基礎

  1. 明確定義結果。 說明主體與預定用途,例如產品照片、廣告或示意圖。指定構圖、長寬比與重要的位置限制。對於複雜請求,請將提示詞分成場景、主體、細節與限制條件,並為各區段加上標籤。
  2. 選擇易於維護的格式。 簡短提示詞、描述性段落、類 JSON 結構、指示與標籤,都能表達相同意圖。請選擇最方便閱讀與更新需求的格式,不必依賴特殊語法。
  3. 描述可見的細節。 說明材質、光線、色彩與視覺媒材。如果目標是照片般的效果,請明確要求「照片級寫實」或「真實照片」,並描述取景與質感。相機規格可用來提示視覺效果,但不保證能精確模擬物理特性。對於寬幅、電影感、低光源、雨景或霓虹場景,請指定尺度、氛圍與色彩,不要只依賴描述情緒的詞語。
  4. 明確描述人物與動作。 描述身體入鏡範圍、相對大小、視線及與物體的互動。例如「全身入鏡,包含雙腳」、「低頭看著攤開的書」或「雙手自然握住車把」等指示,能更清楚地傳達預期的姿勢與動作。
  5. 指定確切文字。 將所需文字放在引號內,並描述其位置與字體排版。必要時,逐字母拼出不常見的詞語或品牌名稱。要求不要加入額外文字,再檢查輸出中的拼字與易讀性。若包含小字、密集資訊或多種字體,請比較中或高品質設定的結果。
  6. 分別說明變更與限制條件。 編輯時,請說明「只變更 X」,並列出要保留的細節,例如人物身分特徵、幾何形狀、版面配置、光線或標籤。列出應排除的內容,例如不需要的文字、標誌或浮水印。進行精準的局部編輯時,也要指出必須保持不變的飽和度、對比、箭頭、拍攝角度與周圍物體。
  7. 指定各張參考圖像的用途。 以編號與用途標示每個輸入:主體、風格、服裝或背景。說明應如何組合這些輸入,以及哪些元素應移到何處。
  8. 有目的地逐步調整。 將前一次輸出作為下一次編輯的輸入,每次要求一項變更,並重申要保留的細節。「與先前相同的風格」這類說法可以延續上下文,但如果結果偏離預期,請再次說明關鍵限制。加入更多指示之前,先比較結果。

以下範例各自展示不同技巧。你可以從這些提示詞著手,再依自己的圖像與需求調整。

生成圖像

控制風格與光線

從主體、取景、光線與質感來描述照片。這個範例指定自然抓拍的構圖,並明確要求避免過度修圖。

生成設定:size="1024x1536"quality="medium"

Create a photorealistic candid photograph of an elderly sailor standing on a small fishing boat.
He has weathered skin with visible wrinkles, pores, and sun texture, and a few faded traditional sailor tattoos on his arms.
He is calmly adjusting a net while his dog sits nearby on the deck. Shot like a 35mm film photograph, medium close-up at eye level, using a 50mm lens.
Soft coastal daylight, shallow depth of field, subtle film grain, natural color balance.
The image should feel honest and unposed, with real skin texture, worn materials, and everyday detail. No glamorization, no heavy retouching.

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

以圖像解說流程

說明流程、目標讀者,以及圖像應傳達的資訊。對於示意圖和資訊圖表,除了外觀,也要確認標示與圖中呈現的關係是否符合事實。

生成設定:size="1024x1536"quality="medium"

Create a detailed Infographic of the functioning and flow of an automatic coffee machine like a Jura.
From bean basket, to grinding, to scale, water tank, boiler, etc.
I'd like to understand technically and visually the flow.

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

精確呈現指定文字

將所需文案放在引號中,並告訴模型文案應出現幾次。指定目標讀者與視覺呈現方式,避免加入無關指示。

生成設定:size="1024x1536"quality="medium"

Give me a cool in culture ad / fashion shot for a brand called Thread.
It's a hip young street brand. The ad shows a group of friends hanging out together with the tagline "Yours to Create."
Make it feel like a polished campaign image for a youth streetwear audience: stylish, contemporary, energetic, and tasteful.
Use clean composition, strong color direction, natural poses, and premium fashion photography cues.
Render the tagline exactly once, clearly and legibly, integrated into the ad layout.
No extra text, no watermarks, no unrelated logos.

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

描述品牌,以及構成標誌的形狀。指定清晰的構圖,讓標誌在不同尺寸下都易於辨識。使用 n 要求產生多個變化版本。

生成設定:size="1024x1536"quality="medium"background="transparent"output_format="png"n=1

Create an original, non-infringing logo for a company called Field & Flour, a local bakery.
The logo should feel warm, simple, and timeless. Use clean, vector-like shapes, a strong silhouette, and balanced negative space.
Favor simplicity over detail so it reads clearly at small and large sizes. Flat design, minimal strokes, no gradients unless essential.
Fully transparent background. Deliver a single centered logo with generous padding, clean alpha edges, and no solid backdrop, scenery, checkerboard, or watermark.

每一列分別取各模型的一個變化版本進行比較。

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

運用歷史與現實背景

指定地點與日期,以確立歷史背景。模型可以推斷相關細節,但仍應檢查服裝、場景安排與周遭環境是否符合史實。

生成設定:size="1024x1536"quality="medium"

Create a realistic outdoor crowd scene in Bethel, New York on August 16, 1969.
Photorealistic, period-accurate clothing, staging, and environment.

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

將故事轉換為連環漫畫

將故事生成為漫畫時,先把敘事拆成一連串清楚的視覺情節,每格呈現一個情節。描述應具體並以動作為重點,讓模型能將故事轉換為易於閱讀、節奏流暢的分格畫面。

生成設定:size="1024x1536"quality="medium"

Create a short vertical comic-style reel with 4 panels.
Panel 1: The owner leaves through the front door. The pet is framed in the window behind them, small against the glass, eyes wide, paws pressed high, the house suddenly quiet.
Panel 2: The door clicks shut. Silence breaks. The pet slowly turns toward the empty house, posture shifting, eyes sharp with possibility.
Panel 3: The house transformed. The pet sprawls across the couch like it owns the place, crumbs nearby, sunlight cutting across the room like a spotlight.
Panel 4: The door opens. The pet is seated perfectly by the entrance, alert and composed, as if nothing happened.

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

建立介面預覽

描述產品時,將它當作已經存在的產品,能獲得最佳的介面預覽效果。著重於版面配置、層級、間距與實際的介面元素,避免使用概念藝術的描述方式,讓結果看起來像是已推出、可實際使用的介面,而非設計草圖。

生成設定:size="1024x1536"quality="medium"

Create a realistic mobile app UI mockup for a local farmers market.
Show today’s market with a simple header, a short list of vendors with small photos and categories, a small “Today’s specials” section, and basic information for location and hours.
Design it to be practical, and easy to use. White background, subtle natural accent colors, clear typography, and minimal decoration.
It should look like a real, well-designed, beautiful app for a small local market.
Place the UI mockup in an iPhone frame.

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

製作科學與教育視覺素材

科學與教育視覺素材很適合用於生物、化學、課堂講解、扁平化科學圖示系統、圖解及學習素材。撰寫提示詞時,請將其視為教學設計需求說明:明確定義受眾、教學目標、視覺形式、必要標籤及科學方面的限制。為獲得最佳效果,請要求採用簡潔、扁平化的視覺系統,搭配一致的圖示風格、清楚的箭頭、易讀的標籤,以及足夠的留白,讓學生能快速瀏覽並掌握概念。

若準確性很重要,請明確列出必要元素,並說明不應包含哪些內容。對於標籤密集的圖像、圖解,或將用於投影片及教材的素材,請使用 quality="high"

生成設定:size="1536x1024"quality="high"

Create a simple biology diagram titled "Cellular Respiration at a Glance" for high school students.

Show how glucose turns into energy inside a cell. Include glycolysis, the Krebs cycle, and the electron transport chain.
Use arrows to connect the steps, and label the main molecules: glucose, pyruvate, ATP, NADH, FADH2, CO2, O2, and H2O.
Make it look like a clean classroom handout or slide, with a white background, simple icons, clear labels, and easy-to-read text.

Avoid tiny text, extra decoration, or anything that makes the diagram hard to understand.

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

製作投影片、圖解與圖表

製作工作用的視覺素材時,將提示詞寫成成品規格,而非插畫需求,效果會更好。請明確指出交付成果(投影片、工作流程圖、圖表或頁面圖像)、定義畫布與視覺層次、提供實際文字或資料,並描述視覺語言。這類提示詞應包含實際限制:字體排版清晰易讀、間距安排精緻、不加入雜亂的裝飾,也不要採用制式圖庫照片的風格。

對於投影片、圖表及以圖解為主的素材,請直接在提示詞中提供數字與標籤。簡報形式的輸出請使用橫向尺寸;若圖像包含小字、圖例、座標軸或註腳,請使用 quality="high"

下方的範例市場數據及引文均為虛構的設計素材。使用投影片前,請將其替換為經過查證的資料。

生成設定:size="1536x864"quality="high"

Create one pitch-deck slide titled **"Market Opportunity"** that feels like a real Series A fundraising slide from a YC-backed startup.

Use a clean white background, modern sans-serif typography like Inter, and a crisp, minimal layout. The slide should include:

* A TAM/SAM/SOM concentric-circle diagram in muted blues and grays
* Specific, believable market sizing numbers:

  * **TAM:** $42B
  * **SAM:** $8.7B
  * **SOM:** $340M
* A clean bar chart below showing market growth from **2021 to 2026**, with a subtle upward trend
* Small footnotes: **"AGI Research, 2024"** and **"Internal analysis"**
* A company logo placeholder in the bottom-right corner

The design should look like it belongs in a deck that actually raised money: highly readable text, clear data hierarchy, polished spacing, and professional startup-style visual language.

Avoid clip art, stock photography, gradients, shadows, decorative elements, or anything that feels generic or overdesigned.

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

編輯圖像

使用 client.images.edit,並搭配所引用的輸入圖像。若局部編輯需要遮罩,請參閱使用遮罩編輯

翻譯文字並保留版面配置

使用各模型在以視覺方式說明流程中生成的咖啡機圖解作為輸入。要求替換圖中文字,並保持設計不變,然後檢查譯文,以及是否有文字仍保留原始語言。

編輯設定:size="1024x1536"quality="high"

Translate the text in the infographic to Spanish. Do not change any other aspect of the image.

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

套用參考圖片的視覺風格

明確指定參考圖片的用途:參考其配色、質感或視覺媒材。另行描述新的主體。使用下方的像素風格圖片作為輸入。

編輯設定:size="1024x1536"quality="medium"

Use the same style from the input image and generate a man riding a motorcycle on a white background.

輸入圖片:

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

保留人物特徵並更換服裝

使用下方的人物照片與三張服裝參考圖片作為輸入。明確指出人物的哪些特徵必須保持不變,並限定只能更換服裝。這種做法也適用於編輯後仍須讓產品或物件保有辨識度的情況。

編輯設定:size="1024x1536"quality="medium"

Edit the image to dress the woman using the provided clothing images. Do not change her face, facial features, skin tone, body shape, pose, or identity in any way. Preserve her exact likeness, expression, hairstyle, and proportions. Replace only the clothing, fitting the garments naturally to her existing pose and body geometry with realistic fabric behavior. Match lighting, shadows, and color temperature to the original photo so the outfit integrates photorealistically, without looking pasted on. Do not change the background, camera angle, framing, or image quality, and do not add accessories, text, logos, or watermarks.

輸入圖片:

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

合併參考圖片

將場景照片作為圖片 1 傳入,並將狗的照片作為圖片 2 傳入。指定要移動的元素、移動後的位置,以及必須保持不變的內容。

編輯設定:size="1024x1536"quality="medium"

Place the dog from the second image into the setting of image 1, right next to the woman, use the same style of lighting, composition and background. Do not change anything else.

輸入圖片:

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

製作透明背景的產品去背圖

在提示詞中要求將主體去背,並在 API 中設定 background="transparent"。使用 PNG 或 WebP,保留回傳的 alpha 通道;使用 PNG 時,請省略 output_compression。畫上去的棋盤格並不是真正的透明背景。後續編輯時,請重申保留透明背景的要求。以下方的產品照片作為輸入。

編輯設定:size="1024x1536"quality="medium"background="transparent"output_format="png"

Extract the product from the input image and isolate it on a fully transparent background.
Output: centered product, crisp silhouette, no halos/fringing.
Preserve product geometry and label legibility exactly.
Add only light polishing. Do not add a solid backdrop, checkerboard, scenery, or shadow.
Do not restyle the product; remove the background and preserve clean alpha transparency.

輸入圖片:

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

將繪圖轉換為寫實圖片

從草圖生成渲染圖的工作流程,很適合在保留原始構想的同時,將粗略繪圖轉換為照片級寫實的概念圖。撰寫提示詞時,應像編寫規格一樣:保留布局與透視,再指定合理的材質、光線與環境,以 增添真實感 。加入「不要新增元素或文字」,避免模型自行發揮、重新詮釋。

編輯設定:size="1024x1536"quality="medium"

Turn this drawing into a photorealistic image.
Preserve the exact layout, proportions, and perspective.
Choose realistic materials and lighting consistent with the sketch intent.
Do not add new elements or text.

輸入圖片:

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

移除物件

明確指名要移除的物件,並保留周圍的一切。讓人物、姿勢、光線和構圖保持不變,將編輯範圍限定在局部。

編輯設定:size="1024x1536"quality="medium"

Remove the flower from man's hand. Do not change anything else.

輸入圖像:

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

將人物加入場景

將人物加入新場景,同時保留可辨識其身分的特徵。指定自然的光線、真實可信的細節、人物取景範圍、視線方向,以及人物與場景的互動。說明哪些臉部特徵和比例必須保持不變。使用 gpt-image-2 時,請省略 input_fidelity;圖像輸入一律以高傳真度處理。

使用博物館中的女子這張照片作為輸入圖像。

編輯設定:size="1024x1536"quality="medium"

Generate a highly realistic action scene where this person is running away from a large, realistic brown bear attacking a campsite. The image should look like a real photograph someone could have taken, not an overly enhanced or cinematic movie-poster image.
She is centered in the image but looking away from the camera, wearing outdoorsy camping attire, with dirt on her face and tears in her clothing. She is clearly afraid but focused on escaping, running away from the bear as it destroys the campsite behind her.
The campsite is in Yosemite National Park, with believable natural details. The time of day is dusk, with natural lighting and realistic colors. Everything should feel grounded, authentic, and unstyled, as if captured in a real moment. Avoid cinematic lighting, dramatic color grading, or stylized composition.

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

透過多輪互動逐步調整圖片

先檢查一張輸出圖片,再將它用作下一次的輸入。每次後續調整都應限縮範圍,方便判斷哪項變更帶來了改善。

建立初始圖片

使用建立透明背景的產品去背圖中的洗髮精照片,作為這個廣告看板場景的輸入。請逐字引用標籤上的文字。

編輯設定:size="1024x1536"quality="medium"

Create a realistic billboard mockup of the shampoo on a highway scene during sunset.
Billboard text (EXACT, verbatim, no extra characters):
"Fresh and clean"
Typography: bold sans-serif, high contrast, centered, clean kerning.
Ensure text appears once and is perfectly legible.
No watermarks, no logos.

輸入圖片:

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

變更一項條件

將各模型在上一步輸出的廣告看板圖片,傳入該模型的下一次編輯請求。這個簡短的後續請求會改變天氣,同時保留原有場景。

編輯設定:size="1024x1536"quality="medium"

Make it look like a winter evening with snowfall.

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

保持角色一致

為含有多幅插圖的書籍建立可重複使用的角色參考圖,有助於讓角色在不同場景、姿勢和頁面中維持一致的外觀。變更環境與故事時,請再次描述角色的主要特徵。

確立角色形象

定義角色的外觀、比例、服裝,以及呈現的整體感覺。

生成設定:size="1024x1536"quality="medium"

Create a children’s book illustration introducing a main character.

Character:
A young, storybook-style hero inspired by a little forest outlaw,
wearing a simple green hooded tunic, soft brown boots, and a small belt pouch.
The character has a kind expression, gentle eyes, and a brave but warm demeanor.
Carries a small wooden bow used only for helping, never harming.

Theme:
The character protects and rescues small forest animals like squirrels, birds, and rabbits.

Style:
Children’s book illustration, hand-painted watercolor look,
soft outlines, warm earthy colors, whimsical and friendly.
Proportions suitable for picture books (slightly oversized head, expressive face).

Constraints:
- Original character (no copyrighted characters)
- No text
- No watermarks
- Plain forest background to clearly showcase the character

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

延續故事

重複使用各模型生成的角色圖片,並描述新的場景。再次說明外觀限制,讓角色保持一致。

編輯設定:size="1024x1536"quality="medium"

Continue the children’s book story using the same character.

Scene:
The same young forest hero is gently helping a frightened squirrel
out of a fallen tree after a winter storm.
The character kneels beside the squirrel, offering reassurance.

Character Consistency:
- Same green hooded tunic
- Same facial features, proportions, and color palette
- Same gentle, heroic personality

Style:
Children’s book watercolor illustration,
soft lighting, snowy forest environment,
warm and comforting mood.

Constraints:
- Do not redesign the character
- No text
- No watermarks

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

更多工作流程

更換房間內的家具

無須重建整個場景,就能預覽真實空間中更換家具或裝飾的效果。目標是精準修改局部,同時維持真實感:只替換單一物件,並保留拍攝角度、光線、陰影及周遭環境,讓編輯後的圖片看起來像真實照片,而非重新設計的空間。

編輯設定:size="1536x1024"quality="medium"

In this room photo, replace ONLY the white chairs with chairs made of wood.
Preserve camera angle, room lighting, floor shadows, and surrounding objects.
Keep all other aspects of the image unchanged.
Photorealistic contact shadows and fabric texture.

輸入圖片:

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

設計節日賀卡

構思節慶賀卡時,請描述場景、情感氛圍、材質、光線,以及確切的文案。若要呈現 3D 立體卡片或卡片實拍效果,請指定紙張層次、纖維、摺痕,以及柔和的攝影棚燈光。以下範例採用帶有懷舊感的泰迪熊場景。

生成設定:size="1024x1536"quality="medium"

Create a Christmas holiday card illustration.

Scene:
a cozy Christmas scene with an old teddy bear sitting inside a keepsake box, slightly worn fur, soft stitching repairs, placed near a window with falling snow outside. The scene suggests the child has grown up, but the memories remain.

Mood:
Warm, nostalgic, gentle, emotional.

Style:
Premium holiday card photography, soft cinematic lighting,
realistic textures, shallow depth of field,
tasteful bokeh lights, high print-quality composition.

Constraints:
- Original artwork only
- No trademarks
- No watermarks
- No logos

Include ONLY this card text (verbatim):
"Merry Christmas — some memories never fade."

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

設計收藏商品

運用產品攝影中的材質、包裝和印刷清晰度等要素,探索商品與包裝概念。確保設計原創且不侵權,並比較多種角色或包裝變化。

生成設定:size="1024x1536"quality="medium"

Create a collectible action figure of a vintage-style toy propeller airplane with rounded wings, a front-mounted spinning propeller, slightly worn paint edges, classic childhood proportions, designed as a nostalgic holiday collectible, in blister packaging.

Concept:
A nostalgic holiday collectible inspired by the simple toy airplanes
children used to play with during winter holidays.
Evokes warmth, imagination, and childhood wonder.

Style:
Premium toy photography, realistic plastic and painted metal textures,
studio lighting, shallow depth of field,
sharp label printing, high-end retail presentation.

Constraints:
- Original design only
- No trademarks
- No watermarks
- No logos

Include ONLY this packaging text (verbatim):
"Christmas Memories Edition"

輸出範例:

GPT Image 2.5 Flare

GPT Image 2.5 Sunburst

執行完整範例

這個可執行的範例仍固定使用 gpt-image-2。請以此為基準,再選擇可用的模型及其支援的請求設定進行評估。

以下範例會生成四種標誌變化版本,並將產品從照片中擷取出來,置於透明背景上。使用 Python 時,請以 pip install openai 安裝 OpenAI SDK;使用 Ruby 時,則以 gem install openai 安裝。設定 OPENAI_API_KEY,並將產品照片儲存為 input_images/shampoo.webp。實際發送請求會產生 API 使用費用。

如需更多提示詞與完整工作流程,請參閱原始筆記本

檢查結果

使用輸出前,請對照需求檢查:

  • 指定的文字是否正確且清晰易讀?圖表中的標籤與關係是否正確?
  • 人物身分特徵、產品形狀、標籤和參考圖片的細節是否完整保留?
  • 編輯是否只變更了你要求的內容?
  • 若需要透明效果,檔案是否包含 alpha 通道,而非以繪製的背景模擬透明?

變更提示詞或模型時,請使用具代表性的輸入,比較品質、延遲與成本。如需目前的費用資訊,請參閱圖像生成定價