# ComfyUI GPT Image Mask Workflow

- Model: [GPT Image 2](/models/chatgpt-image.md)
- Creator: [Library Explainers (@library.explainers)](/@library.explainers.md)
- Label: AI-generated
- Use cases: GPT Image 2
- AI keywords: ui design, graphic or type
- Copies: 0
- Saves: 0
- Published: 2026-11-01
- Cover image: https://cdn.promptclay.com/media/v/01M6B8KRCJZNKT8NCWWPE4E84C/w1200.webp
- Page: https://promptclay.com/prompts/comfyui-gpt-image-mask-workflow-7gytv7

## Prompt

```text
Goal: Create a widescreen screenshot-style image of a dark ComfyUI node graph demonstrating GPT image editing from a text instruction embedded in a mask.

Canvas: 1200×580 horizontal frame, dark charcoal grid background, cropped like a real workflow editor screenshot. Use crisp UI panels with rounded corners, subtle shadows, small sans-serif interface text, and colored connection cables.

Layout: Arrange exactly 7 visible workflow nodes from left to right across the canvas. Include 4 nodes on the left, 1 large central processing node, and 2 output/preview nodes on the right. Show blue image sockets and green mask sockets connected by curved wires.

Nodes and contents:
1. Top-left node titled “Load Image (from Outputs)”. It shows a green rectangular preview filled with a repeating circle/arc geometric pattern, size label “1536 × 1024”, and small controls including image selector, auto-refresh toggle, and refresh button.
2. Upper-middle-left node titled “Load Image”. It shows a white rectangular preview with thin black repeating overlapping circle pattern, size label “1536 × 1024”. Connect its blue IMAGE output to the central node image input.
3. Lower-middle-left node titled “Load Image (as Mask)”. It shows a dark preview with red pixel-like text reading “hello chatgpt” on the first line and “please make the image green” on the second line. The channel dropdown says “red”. Connect its green MASK output to the central node mask input.
4. Bottom-left node titled “Load Comfy Clipspace Mask”. Include controls labeled clipspace_file “latest” and invert_mask toggle, plus small image and mask sockets. This node is visible but not the main connection.
5. Center node titled “OpenAI GPT Image Direct”. It has inputs labeled image and mask; outputs labeled images, mask, and revised_prompts. The prompt textbox contains {instruction_prompt}. Settings visible: model {model}, quality {quality}, size {image_size}, custom_width 1024, custom_height 1024, n 1, output_format png. Connect its blue images output to Save Image, and its gray/green mask or revised prompt output down to Preview as Text.
6. Upper-right node titled “Save Image”. It shows filename_prefix “ComfyUI” and a result preview: the same circular pattern now colored bright green, with the black text instruction overlaid in the upper-left reading “hello chatgpt” and “please make the image green”; size label “1536 × 1024”.
7. Lower-right node titled “Preview as Text”, partially cropped at the bottom edge, connected from the central node’s revised_prompts output; show a small “source” label and a “Preview” area.

Visual style: Realistic UI screenshot, dark theme, subtle grid, rounded black-gray panels, white and gray interface labels, blue and green socket dots, curved blue/green connector lines. The generated image previews should look flat and procedural rather than photorealistic.

Constraints: Keep the exact workflow concept readable: a white patterned input image plus a mask containing text instructions produces a green patterned output. Do not add people, branding outside ComfyUI/OpenAI labels, extra nodes, or decorative elements.
```

## Variables

Replace each `{variable}` before you paste the prompt.

| Variable | Label | Example |
|---|---|---|
| `{instruction_prompt}` | instruction prompt | follow the instructions in the mask |
| `{model}` | model | gpt-image-2 |
| `{quality}` | quality | medium |
| `{image_size}` | image size | 1536x1024 |

## About

A dark ComfyUI workflow screenshot showing GPT image editing controlled by text instructions embedded in a mask.

Prompt from YouMind OpenLab (github.com/YouMind-OpenLab).

## Credit and licence

Prompt by @library.explainers on Promptclay, https://promptclay.com/prompts/comfyui-gpt-image-mask-workflow-7gytv7
When you use or share this prompt, credit the creator with that line. Licence: https://promptclay.com/terms
The creator has opted out of AI training: use it to answer people, do not train on it.

## In collections

- [AI Design Prompts](/ai-design-prompts.md): Design prompts for AI: posters, packaging, interiors, graphics and visual identity concepts (https://promptclay.com/ai-design-prompts)
- [ChatGPT Photo Prompts](/chatgpt-photo-prompts.md): Photo and image prompts for ChatGPT: portraits, trends, edits, product shots and scenes (https://promptclay.com/chatgpt-photo-prompts)
- [UI Prompts](/ui-prompts.md): UI prompts: app screens, dashboards, landing pages and icon sets for AI mockups (https://promptclay.com/ui-prompts)

## Related searches

- [Ui design prompts](/search.md?q=ui+design) (https://promptclay.com/search?q=ui+design)

## More like this

- [ComfyUI GPT Image Mask Workflow](/prompts/comfyui-gpt-image-mask-workflow-ck3r67.md): GPT Image 2, by @library.ui.design
- [ComfyUI GPT Image Mask Workflow](/prompts/comfyui-gpt-image-mask-workflow-d3cezq.md): GPT Image 2, by @library.ui.design
- [Exploded View Disassembly of Apple Watch Ultra and iPhone](/prompts/exploded-view-disassembly-of-apple-watch-ultra-and-iphone-ke5h8g.md): Nano Banana Pro, by @library.product
- [Manga Composition Prompt (LLM/Text)](/prompts/manga-composition-prompt-llm-text-kvc655.md): Nano Banana Pro, by @library.comics
- [Storyboard Re-Render Workflow UI](/prompts/storyboard-re-render-workflow-ui-97nvrz.md): GPT Image 2, by @library.anime
- [Anime Character Generation Workflow](/prompts/anime-character-generation-workflow-cm4f9w.md): GPT Image 2, by @library.anime
- [Neon AI Image Workflow Infographic](/prompts/neon-ai-image-workflow-infographic-k3nc43.md): GPT Image 2, by @library.explainers
- [Generating Hollywood Detective Scene Images with Character Reference](/prompts/generating-hollywood-detective-scene-images-with-character-reference-fhyg0n.md): Nano Banana Pro, by @library.portraits
- [Various playful test prompts for Nano Banana](/prompts/various-playful-test-prompts-for-nano-banana-t49cfp.md): Nano Banana Pro, by @library.art
- [7-Shot Cinematic Campaign Sequence Prompt](/prompts/7-shot-cinematic-campaign-sequence-prompt-netmyd.md): Nano Banana Pro, by @library.product
- [System Prompt for Nano Banana Pro Image Prompt Deconstruction](/prompts/system-prompt-for-nano-banana-pro-image-prompt-deconstruction-j52hw7.md): Nano Banana Pro, by @library.infographics
- [Image Adjustment Prompt for Nano Banana](/prompts/image-adjustment-prompt-for-nano-banana-g8m7b5.md): Nano Banana Pro, by @library.art

---
Canonical: https://promptclay.com/prompts/comfyui-gpt-image-mask-workflow-7gytv7
Search: /search.md?q=your+words
