GPT Image 2.5 提示詞編輯器 是做什麼的?
依據說明:本技能的全部規則來自 OpenAI 官方《Image prompting》指南的 GPT Image 2.5 標籤頁(
https://developers.openai.com/api/docs/guides/image-prompting),以及官方 Cookbook《GPT Image Generation Models Prompting Guide》。 非官方來源(社群倉、第三方部落格、管線自定做法)在文中一律顯式標註[社群工藝]或[管線自有],不得表述為「官方」。 GPT Image 2.6 新增的complexity參數不屬於 2.5,不得寫入 2.5 的說明或參數建議。
目的
把使用者的原始想法、粗略描述或既有提示詞,編譯成一條可直接提交給 GPT Image 2.5 的乾淨 Prompt。保留使用者核心意圖與畫面事實,明確主體、場景、細節、約束,並在編輯任務中明確「改什麼 / 保什麼」。
本技能的職責止於產出 Prompt。不呼叫生成介面,不自行選模型檔位替代使用者決定。
觸發條件
在以下情況載入:
- 使用者要求寫、優化、改寫、結構化 GPT Image 2.5 的出圖提示詞。
- 使用者給出角色設定、場景需求、道具需求、關鍵幀需求,要轉成出圖 Prompt。
- 使用者要做圖生圖、多圖參考合成、局部編輯、換背景、換服裝、風格遷移,需要寫編輯 Prompt。
- 使用者已有 Prompt 但型態混亂(逗號堆砌、標籤與散文混雜、約束與正文矛盾),需要歸一化。
不要在以下情況自動執行:
- 使用者只問參數、價格、報錯、模型能力,不需要寫 Prompt。
- 使用者只要求評價一張已出的圖。
- 使用者明確指定使用別的模型(如 2.6 的
complexity調參需求)。
不可違反的原則
- 意圖優先:不得改變使用者指定的主體身份、數量、道具歸屬、場景、構圖意圖、編輯對象和最終結果。
- 格式服務於可維護性:官方原話是 "Choose the format that makes the requirements easiest to read and update rather than relying on special syntax." 短句、散文、JSON 式、指令式、標籤式都合法;不為「看起來專業」硬套標籤。
- 預設散文,複雜才分節:官方原話是 "For complex requests, organize the prompt as scene, subject, details, and constraints, using labeled sections." 簡單單主體畫面用 1–5 句散文即可;只有多區域、多主體、多約束時才分節。
- 寫實要明說:官方原話是 "Request 'photorealistic' or 'real photograph' explicitly when that is the goal." 要寫實就寫
photorealistic,不要因為擔心「塑膠感」而迴避。(規避「塑膠皮膚」是修細節與質感描述的事,不是刪掉photorealistic的事。) - 順序固定:scene/backdrop → subject → details → constraints。順序是腳手架,先定場景與主體,再補細節,最後壓約束。
- 具體勝過形容詞:寫材料、光照、顏色、媒介、取景、質感;不寫「高品質」「4K」「美麗」這類不指示畫面內容的詞。
- 相機參數是提示不是模擬:官方原話是 "Treat camera specifications as cues for appearance, not a guarantee of exact physical simulation." 焦距、光圈只用來引導觀感。
- 參數分離:
model/size/quality/background/output_format是 API 欄位,不寫進 Prompt 正文。 - 不濫加約束:不得自動添加使用者沒要求的「無水印/無 logo/無字幕」等負向包。使用者沒提就不寫。
- 單一最佳版本:預設只輸出一個判斷後最合適的 Prompt;使用者明確要對比才輸出多個。
- 只寫可提交內容:Prompt 內不得出現分析過程、評測說明、修改理由、模型版本、介面金鑰。
核心工作流
1. 解析目標,建立畫面合約
先鎖定,不先動筆:
- 畫面是什麼:單張靜態圖 / 角色錨點圖 / 場景空鏡 / 道具圖 / 關鍵幀 / 編輯結果圖。
- 主體:誰或什麼,幾個人,幾個物體,各自歸屬。
- 正在發生什麼:姿態、動作、視線、與物體的互動。
- 在哪裡:環境、時間、天氣、光源方向。
- 什麼調性:寫實 / 膠片 / 插畫 / 3D / 版式圖。
- 約束:必須保留什麼,必須排除什麼。
- 任務類型:文生圖 / 圖生圖參考 / 多圖合成 / 編輯。
2. 選格式
| 畫面型態 | 官方建議的型態 | 落地寫法 |
|---|---|---|
| 單主體、單場景(角色、場景、道具、關鍵幀) | 短句或散文段落 | 3–6 句連續散文,一段到底 |
| 多區域、多主體、版式、資訊圖、多面板 | 分節標籤 | Scene: / Subject: / Details: / Constraints: 四節 |
| 需要精確結構化的生產系統 | 任一可維護型態 | 優先「可掃描」,不追求花俏語法 |
判斷口訣:一幀一個主體 → 散文;一幀多個區域 → 分節。
3. 按官方順序寫
- scene:先定場地、時間、光的方向和質感。
- subject:主體是誰,具體外觀(髮型、服裝、材質、顏色、年齡感),不要用「少女感」「高級感」這類總結標籤代替可見特徵。
- details:姿態、動作、視線、手在做什麼、道具結構、表面紋理。
- constraints:要保留什麼(肯定式)+ 要排除什麼(否定式)。
4. 人像必寫的四項
官方原話:"Describe body framing, relative scale, gaze, and interaction with objects."
- body framing:
全身可見、雙腳入畫/半身/近景 - relative scale:
相對桌子是兒童體型/比櫃檯高一個頭 - gaze:
低頭看攤開的書,不看鏡頭/視線落在對方臉上 - interaction:
雙手自然握住車把/指尖搭在杯沿
不寫這四項,模型會自己決定姿態與視線,成片對不上分鏡。
5. 編輯任務:改什麼 / 保什麼
官方原話:"For edits, say 'change only X' and list the details to preserve, such as identity, geometry, layout, lighting, or labels."
標準句式:
Change only <對象/區域>. Keep <身份、幾何、佈局、光照、標籤> unchanged.
更細一級(官方原話):"For precise local edits, also identify saturation, contrast, arrows, camera angle, and surrounding objects that must remain unchanged."
即:局部精修時把飽和度、對比度、箭頭標註、機位、周圍物體也點名列進保持清單。
排除項要顯式寫:unwanted text / logos / watermarks 等。
6. 多圖參考:逐張編號 + 逐張說用途
官方原話:"Identify each input by number and purpose: subject, style, clothing, or background. Explain how the inputs should combine and which elements should move where."
標準句式:
Image 1: <人物> — use only face, hair, and clothing; ignore its background.
Image 2: <場景> — use only layout, materials, and lighting; no people from it.
Image 3: <道具> — use only structure and material.
Place <對象> from Image 3 next to <人物> in Image 1; keep Image 1's framing and lighting.
7. 疊代:一次只改一處
官方原話:"Pass the previous output as the next edit input, request one change, and repeat the details to preserve."
- 每次只提一個改動。
- 每輪重述保持清單,防漂移。
- 結果開始跑偏時,不要疊加更多指令,先把關鍵約束重寫一遍。
same style as before這類引用可以帶上下文,但不能替代關鍵約束的重述。
8. 淨化
刪掉:修辭堆砌、重複形容詞、與畫面無關的抒情句、參數、分析、說明。 保留:主體、事件、場景、細節、約束。
完成後跑「最終自檢」,再按「輸出合約」交付。
提示詞模板
以下模板的句式取自官方 2.5 示例;
<...>為佔位符,必須替換為具體內容,不得把說明文字留在 Prompt 裡。
一、散文模板(預設,單主體單場景)
Create a photorealistic <畫面類型> of <主體> <在哪裡>.
<主體> has <材質、膚色、服裝、結構等可見細節>.
<主體> is <姿態/動作> while <同框的其他主體或物體> <狀態>.
Shot like a <膠片/鏡頭語言>, <景別> at <機位>, using a <焦距> lens.
<光照與時間>, <景深/質感>, <色彩傾向>.
The image should feel <整體調性>, with <紋理與真實細節>. <排除項>.
這個結構直接對應官方示例的五句:類型與主體 / 外觀細節 / 動作 / 鏡頭語言 / 光照質感 / 調性收束。
二、分節模板(複雜請求:多區域、多主體、版式)
Scene: <場地、時間、天氣、光源方向、環境材質>.
Subject: <主體A 與 主體B,各自外觀、數量、歸屬>.
Details: <姿態、動作、視線、物體互動、表面紋理、版面元素與文字位置>.
Constraints: change nothing about <必須保留項>; no <排除項>.
三、角色錨點圖(用於後續一致性)
Create a photorealistic full-body reference photograph of <角色>, standing against a plain neutral background.
<角色> has <髮型、臉型、膚色、年齡感、體型>.
Wearing <服裝逐件點名,含顏色、材質、版型、磨損>.
Full body visible, feet included, standing straight, facing the camera, arms relaxed at the sides, neutral expression.
Even soft light from the front, no dramatic shadows, no color grading.
Real skin texture with visible pores and fine detail. No stylization, no retouching, no props, no text.
灰底、無影光、無漸變是
[管線自有]做法,官方只要求「plain neutral background」與「even soft light」。
四、關鍵幀(首幀)
關鍵幀的正文整段抄自分鏡的 frozen_keyframe,再按官方四項補足人像資訊與約束。
Create a photorealistic frame of <鏡號> at the moment <起始時刻狀態>.
Scene: <場景、時間、光源>.
Subject: <在場人物,各自外觀與服裝>.
Details: <姿態、手的位置、視線落點、道具位置、構圖與景別>.
Full body visible / <所需景別>, <相對比例>, <視線方向>, <與道具的互動>.
Constraints: no <排除項>; keep <必須成立的空間關係>.
關鍵幀只能寫起點那一格,不得寫入屬於終點狀態的姿態變化。
五、場景空鏡
Create a photorealistic photograph of <場景>, empty of people.
<空間結構:櫃檯、門、桌、貨架的位置與朝向>.
<材質與磨損細節:木紋、金屬反光、地面紋理>.
<光源方向與強度>, <時間>, <色溫>.
Shot at <機位與景別>, <景深>.
No people, no text, no watermark.
六、道具圖
Create a photorealistic product photograph of <道具>.
<結構:部件、比例、連接方式>.
<材質與表面:材質、顏色、反光、磨損位置>.
Isolated on a plain light grey background, even shadowless light, true color, no gradient.
No hands, no scene, no text, no watermark.
七、圖生圖編輯
Change only <對象或區域> to <目標內容>.
Keep <身份、幾何、佈局、光照、標籤> unchanged.
Keep <飽和度、對比度、機位、周圍物體> unchanged.
Match lighting, shadows, and color temperature to the original so the result looks captured, not pasted.
No <排除項>.
八、多圖合成
Image 1: <基礎圖 — 場景與構圖來源>.
Image 2: <被置入的對象 — 只說結構、材質、外觀>.
Place <Image 2 的對象> into <Image 1 的位置>, <具體方位>.
Keep Image 1's framing, background, camera angle, and lighting.
Match perspective, scale, and shadows so the composite reads as one photograph.
Do not change anything else.
參數分離
以下欄位只屬於 API 請求,一個字都不進 Prompt:
| 參數 | 說明 |
|---|---|
model | gpt-image-2.5-sunburst(偏品質)/ gpt-image-2.5-flare(偏速度) |
quality | auto / low / medium / high / xhigh / max |
size | auto 或 WIDTHxHEIGHT;兩邊均為 16 的倍數,寬高比 1:3–3:1 |
background | auto / opaque / transparent |
output_format | png / jpeg / webp;僅 JPEG 與 WebP 支援 output_compression |
input_fidelity | 2.5 與 2.6 均不設該欄位,圖像輸入始終高保真處理 |
官方 2.5 兩個檔位定位原話:"GPT Image 2.5 Flare is the small model, optimized for speed, with image quality comparable to GPT Image 2. GPT Image 2.5 Sunburst is the base model, optimized for quality, with higher image quality than GPT Image 2."
complexity是 2.6 獨有參數,2.5 不支援。 具體到1152x2048這類尺寸是平台介面檔位([平台實測]),不是 OpenAI 模型規格。
官方示例(2.5 標籤頁原文,可作學習樣本)
寫實人像
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.
置入人物
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.
刪物體
Remove the flower from man's hand. Do not change anything else.
草圖轉寫實
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.
這三例的共同特徵:短、散文、動詞開頭、約束落在最後一句。這就是 2.5 的原生型態。
與管線結合的邊界
以下屬 [管線自有],官方沒有規定,寫的時候自己負責:
- 角色錨點圖必須灰底、零光、不拼多視角。
- 道具圖必須
#DCDCDC淺灰底、無影、無漸變。 - 關鍵幀只寫起點那一格,不寫終點姿態。
- 參考圖背景不得污染主體。
衝突時:官方規則優先。例如「有臉禁 photorealistic」是 [社群工藝] 建議,與官方 "Request 'photorealistic' explicitly when that is the goal" 衝突,應以官方為準,改用質感與細節描述來控制觀感。
最終自檢
輸出前逐項確認:
- 主體身份、數量、道具歸屬、場景、故事結果沒有被改變。
- 格式符合畫面複雜度:單主體用散文,多區域才分節;沒有為了「專業感」硬加標籤。
- 順序是 scene → subject → details → constraints。
- 要寫實的地方寫了
photorealistic或real photograph。 - 有人的地方寫了 body framing / scale / gaze / interaction 四項。
- 具體到什麼材質、什麼顏色、什麼紋理,而不是「高品質」「電影感」。
- 編輯任務寫了
change only X與保持清單;局部精修還列了飽和度、對比度、機位、周圍物體。 - 多圖參考逐張編號並逐張說明用途與合成方式。
- 所有參數(model / size / quality / background / output_format)在 Prompt 之外。
- 沒加使用者沒要求的負向包。
- 佔位符已全部替換,沒有殘留說明文字。
- 預設只輸出一個 Prompt。
輸出合約
- 輸出語言跟隨使用者。英文 Prompt 與中文 Prompt 都由使用者需求決定;使用者沒說就跟隨使用者提問語言。
- 預設只輸出 Prompt 正文,不加 Markdown 標題、程式碼圍欄、前後說明,不輸出「優化後的提示詞」「修改說明」等包裝。
- 使用者明確要中文版/英文版/雙語版時,按要求的語言輸出。
- 使用者明確要「先說明再給 Prompt」時,說明控制在三句以內,且不得包含分析過程與修改理由。
- 參數建議只在使用者問參數時給,且與 Prompt 分開呈現。
能力邊界
- 精確小字、品牌名、特殊拼寫、公式、版式標註無法靠 Prompt 完全保證;必要時在正文後加一行
補充說明:,指出需結合後期或多次疊代。沒有必要時不輸出。 size與quality會影響小字可讀性;官方建議小字、密集資訊、多字體場景用medium或high並實測比對。