PF
Co
Generate概念设计

ComfyUI GPT 图像遮罩工作流

一张深色调的 ComfyUI 工作流截图,展示了通过嵌入在遮罩中的文本指令来控制 GPT 进行图像编辑的过程。

Generation panel

Overview

“ComfyUI GPT 图像遮罩工作流” is an image prompt on PromptForge in the 概念设计 category, with topics including 创意.

Type
Generate
Mode
Edit a reference image
Category
概念设计
Model
gpt-image-2
Tags
#创意
Examples
0 examples

Prompt text

目标:创建一个宽屏截图风格的图像,展示一个深色调的 ComfyUI 节点图,演示如何通过嵌入在遮罩中的文本指令进行 GPT 图像编辑。

画布:1200×580 水平画幅,深炭灰色网格背景,裁剪效果如同真实的工作流编辑器截图。使用清晰的 UI 面板,带有圆角、细微阴影、小型无衬线界面字体以及彩色连接线。

布局:在画布上从左至右精确排列 7 个可见的工作流节点。左侧包含 4 个节点,中间 1 个大型处理节点,右侧 2 个输出/预览节点。展示由曲线连接的蓝色图像插槽和绿色遮罩插槽。

节点及内容:
1. 左上角节点,标题为“Load Image (from Outputs)”。显示一个绿色矩形预览,内含重复的圆形/弧线几何图案,尺寸标签为“1536 × 1024”,包含图像选择器、自动刷新切换开关和刷新按钮等小型控件。
2. 中左上方节点,标题为“Load Image”。显示一个白色矩形预览,内含细黑色重复重叠的圆形图案,尺寸标签为“1536 × 1024”。将其蓝色 IMAGE 输出连接到中心节点的图像输入。
3. 中左下方节点,标题为“Load Image (as Mask)”。显示一个深色预览,上面有红色像素风格文本,第一行写着“hello chatgpt”,第二行写着“please make the image green”。通道下拉菜单显示为“red”。将其绿色 MASK 输出连接到中心节点的遮罩输入。
4. 左下角节点,标题为“Load Comfy Clipspace Mask”。包含标记为 clipspace_file “latest” 的控件和 invert_mask 切换开关,以及小型图像和遮罩插槽。该节点可见,但非主要连接点。
5. 中心节点,标题为“OpenAI GPT Image Direct”。具有标记为 image 和 mask 的输入;标记为 images、mask 和 revised_prompts 的输出。提示词文本框包含 follow the instructions in the mask。可见设置:model gpt-image-2,quality medium,size 1536x1024,custom_width 1024,custom_height 1024,n 1,output_format png。将其蓝色 images 输出连接到 Save Image,将其灰色/绿色遮罩或修订后的提示词输出连接到 Preview as Text。
6. 右上角节点,标题为“Save Image”。显示 filename_prefix “ComfyUI” 和结果预览:同样的圆形图案现在变为亮绿色,左上角叠加着黑色文本指令“hello chatgpt”和“please make the image green”;尺寸标签为“1536 × 1024”。
7. 右下角节点,标题为“Preview as Text”,底部边缘部分被裁剪,连接自中心节点的 revised_prompts 输出;显示一个小的“source”标签和一个“Preview”区域。

视觉风格:写实的 UI 截图,深色主题,细微网格,圆角黑灰色面板,白色和灰色界面标签,蓝色和绿色插槽点,曲线状的蓝/绿色连接线。生成的图像预览应看起来扁平且具有程序化特征,而非照片级写实。

约束:保持工作流概念清晰可读:一张带有图案的白色输入图像加上包含文本指令的遮罩,生成一张绿色的图案输出图像。不要添加人物、ComfyUI/OpenAI 标签以外的品牌标识、额外的节点或装饰性元素。

Model

OpenAIgpt-image-2

Source ↗

Generate

Generation panel

0 cr

Sign in to create images using credits

Sign in / Sign up

ComfyUI GPT 图像遮罩工作流 What can you create?

No examples yet. Selected images will appear here.

FAQ about “ComfyUI GPT 图像遮罩工作流”

What can I create with ComfyUI GPT 图像遮罩工作流?
一张深色调的 ComfyUI 工作流截图,展示了通过嵌入在遮罩中的文本指令来控制 GPT 进行图像编辑的过程。
What do I need to use ComfyUI GPT 图像遮罩工作流?
Upload a reference image for the prompt to edit.
How many credits does this prompt use?
The cost depends on the generation channel and resolution. Check the generation panel for the current credit cost.