AGENT SKILL

GPT Image 2 提示词编写

gpt-image-2-prompting

提示 OpenAI 的 GPT Image 2 —— 它所响应的五槽位 Scene/Subject/Details/Use case/Constraints 模板、用于编辑的 change-versus-preserve(改动与保留)结构、带标签的多图合成,以及如何让图像中的文字逐字渲染。当模型 id 包含 gpt-image-2(openai/gpt-image-2、openai/gpt-image-2/edit、openai/gpt-image-2/text-to-image、kie 的 gpt-image-2-text-to-image 和 gpt-image-2-image-to-image)并用于 generate_image、edit_image 或 TextToImage 节点时使用。不适用于 GPT Image 1、1-mini、1.5 或 2.5。

适用职业视觉设计师
使用场景AI 图像生成
License 许可
AGPL-3.0
最近更新
2026-11-15
Stars
★ 635
Forks
91

01 前言 Front Matter

name
gpt-image-2-prompting
description
Prompt OpenAI's GPT Image 2 — the five-slot Scene/Subject/Details/Use case/Constraints template it responds to, the change-versus-preserve shape for edits, labelled multi-image compositing, and how to get text on an image to render verbatim. Use whenever the model id contains gpt-image-2 (openai/gpt-image-2, openai/gpt-image-2/edit, openai/gpt-image-2/text-to-image, kie's gpt-image-2-text-to-image and gpt-image-2-image-to-image) on generate_image, edit_image or a TextToImage node. Not for GPT Image 1, 1-mini, 1.5 or 2.5.

03 SKILL.md 正文

GPT Image 2 → five slots, in order

The model responds to structure: scene, subject, specific details, intended artifact, constraints, in that order, with line breaks between sections once the prompt runs past a short paragraph. Everything else sits on top of that spine.

Reach it with find_model for text_to_image or image_to_image, then generate_image / edit_image. generate_image forwards only the prompt, a negative prompt, the size and a quality string, and edit_image only the images, the prompt, a negative prompt, a target size and a strength. Output format and background exist only on the route's own node: find it with search_nodes, read its fields with get_node_info, and run it with run_node.

The template

Scene:
[where this happens, time of day, background, environment]

Subject:
[who or what is the main focus]

Important details:
[materials, clothing, texture, lighting, camera angle, lens feel, composition, mood]

Use case:
[editorial photo / product mockup / poster / UI screen / infographic / concept frame]

Constraints:
[no watermark / no logos / no extra text / preserve face / preserve layout]

Five slots, five problems people usually blur together: where the image exists, what it is about, what must be visible, what kind of finished artifact you want, and what must not drift. The fifth is where mediocre prompts fail silently — describe the idea without bounding it and the model gets inventive in directions you will regret.

Filled in:

Scene:
A quiet classical museum gallery in soft afternoon light.

Subject:
A woman in her 30s standing casually in front of a large oil painting.

Important details:
Natural smile, realistic skin texture, beige knit sweater, dark jeans, white
sneakers, eye-level full-body framing, marble floor reflections, warm neutral
colour balance, shallow depth of field, believable indoor ambient light.

Use case:
Editorial lifestyle photograph.

Constraints:
No watermark, no logos, no extra people in the foreground, no heavy retouching.

Rules

  1. Visual facts over vague praise. Drop stunning, incredible, epic, masterpiece, insane detail. Use overcast daylight, brushed aluminium, chipped paint, clean kerning, 50mm feel, soft bounce light, worn canvas.
  2. Style tags need visual targets. "Minimalist brutalist editorial luxury premium" is noise. "Cream background, heavy black condensed sans serif, asymmetrical type block, one hero object, generous negative space, studio tabletop lighting" is a layout.
  3. Say the real thing. Transit kiosk. Boarding pass. Preserve the face. Mood language buries the brief.
  4. Separate change from preserve in edits. "Change only X", "keep everything else the same", and repeat the preserve list on every pass.
  5. Treat text as typography. Wrap literal copy in quotes or ALL CAPS, mark it EXACT TEXT, and specify font class, size, colour and placement. Add "no extra words" and "no duplicate text".
  6. One revision per turn. Small iterative edits beat one giant rewrite.

Three modes

Generate from scratch — the five-slot template above. One clean pass lands believable mundane realism once the prompt locks the lighting, the camera behaviour and the environment details.

Edit one image — two columns, plus a physical-realism line:

Change:
Replace the parked car with a vintage bicycle.

Preserve:
The house, fence, driveway concrete, landscaping, lighting direction, and time
of day, exactly.

Constraints:
Match the bicycle's scale and shadow pattern to the existing scene. No extra
objects, no redesign, no watermark.

The preserve list carries the edit. Inventory what must stay — awning, brick facade, mullions, reflections, sidewalk, every person on it — and the edit stays in scope.

Combine multiple images — label every input by role and reference the labels in the instruction. fal's edit route and kie's image-to-image route take up to 16 reference images; the other routes state no cap.

Image 1: base scene to preserve.
Image 2: jacket reference.
Image 3: boots reference.

Dress the person from Image 1 using the jacket from Image 2 and the boots from
Image 3. Preserve the face, body shape, pose, background, lighting, and framing
from Image 1. Fit the garments naturally with realistic folds, drape, occlusion
and contact shadows. No extra accessories.

Unlabelled inputs make the model guess which image is content and which is reference, and it guesses wrong.

What it is good at

  • Photoreal editorial. Describe the photograph, not the fantasy: lens, framing, time of day, light source, surface wear, an ordinary background detail, one believable imperfection.
  • Product. Material accuracy, lighting consistency, label fidelity. A flat inventory of physical objects plus one piece of print that must stay legible is the entire recipe.
  • UI and screenshots. Name the screen type, the hierarchy, the exact copy, the state, and the layout logic. "Clean survival HUD along the bottom, believable UI spacing" does the layout work; remove those clauses and the HUD collapses into noise.
  • Text in image. Give the copy verbatim, then typography, then layout, then "render the text verbatim / no extra words / no duplicate text". For a still that will sit on a timeline or seed a video clip, leave the copy off and add it as a text clip afterwards (caption-titles) so it stays editable.
  • Style transfer. "Same style" is not enough. Name the parts: chunky pixel forms, limited arcade palette, bright glow accents, clean silhouette edges.
  • Drawing to photo. Say whether the drawing is a suggestion or a contract: "preserve the exact layout, horizon line, proportions, river path, mountain placement, tree placement, and overall perspective".
  • Character consistency. First prompt establishes the anchor. Second prompt repeats the anchor details verbatim and adds "do not redesign the character".

Transparency needs a route with a background field set to transparent: kie's (only at 1K resolution, per its field note) or Replicate's openai/gpt-image-2, with PNG or WebP output. The fal and AtlasCloud routes have no background field.

Check the render rather than assuming it: critique_image, or score_image_adherence when the prompt has copy or a layout to hold.

Adapted from fal's GPT Image 2 prompting guide: https://fal.ai/learn/tools/prompting-gpt-image-2

04 同仓库更多 Skills

nodetool-ai
nodetool-ai/nodetool

humanizer

Rewrite AI-sounding text so it reads like the writer without changing what it says. Use when editing or reviewing prose for AI tells: not-X-but-Y contrasts, one-line closers, staged openers, forced triads, dashes everywhere, inflated claims, sales language, stock AI words, bold labels, or filler.

★ 635
nodetool-ai
nodetool-ai/nodetool

NodeTool可视化AI工作流构建

nodetool

使用 NodeTool MCP 服务器构建、验证、运行和调试可视化 AI 工作流,并处理资产、集合和任务。当用户提及 NodeTool,或要求在其 NodeTool 服务器上创建工作流图、节点或运行媒体生成时使用。

AI 工程师智能体开发
★ 635
nodetool-ai
nodetool-ai/nodetool

Wan 2.6 视频提示词编写

wan-2-6-prompting

为阿里的 Wan 2.6 视频模型编写提示词——文生视频采用全局风格描述行加上按时间用括号标记的分镜,图生视频只描述随时间变化的内容。涵盖各服务商的镜头模式切换、提示词预算、负面提示词、运动强度措辞、音频输入和提示词扩展。当模型 ID 指定 Wan 2.6 视频路由(alibaba/wan-2.6/text-to-video、alibaba/wan-2.6/image-to-video、wan-video/wan-2.6-t2v、wan-video/wan-2.6-i2v、wan-video/wan2.6-i2v-flash)用于 generate_video、animate_image 或 TextToVideo 节点时使用。不适用于 Wan 2.5 或 2.7,也不适用于 Wan 2.6 图像路由。

多媒体工程师视频生成与制作
★ 635
nodetool-ai
nodetool-ai/nodetool

可复用视频工作流搭建

video-workflow

构建可复用的 NodeTool 视频工作流,用于批量处理或重复输入。若只需制作单个成品,请使用 storyboard(分镜)技能。

多媒体工程师视频生成与制作
★ 635
nodetool-ai
nodetool-ai/nodetool

参考视频镜头结构复刻

video-clone

分析参考视频,并在 NodeTool 中使用新产品或新演员重现其镜头结构。

多媒体工程师视频生成与制作
★ 635
nodetool-ai
nodetool-ai/nodetool

多场景视频音频连续性处理

video-audio-continuity

让由生成视频剪辑而成的多场景作品中的声音保持连续——为什么每个场景各生成一段片段会在每处边界硬切音频、何时改为把所有场景写入同一次生成、能在服务商版权过滤下保留下来的声音设计词汇,以及如何检查返回内容的时长、宽高比和混音效果。当作品包含多个场景且视频模型会自行生成音频(Seedance 2、Veo 3、MiniMax H3、Kling 2.6 及更高版本),或剪辑的声音在镜头切换处中断时使用。

多媒体工程师视频生成与制作
★ 635