IP
ComfyUI GPT Image Mask Workflow preview image
Primary reference image

ComfyUI GPT Image Mask Workflow

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

This is a GPT Image 2 prompt case for Other Inspiration. Use the copy-ready prompt below to generate similar visuals, and review Awesome GPT Image 2 Prompts attribution plus commercial-use rights before reuse.

Need the full prompt set? Use the Other Inspiration topic hub for more related examples, or open the GPT Image 2 prompt library for the full example index, reusable structures, and source attribution.

Free 1K preview

Generate one preview image instantly, no sign-up required.

Free text preview doesn’t preserve reference-image consistency.

3302/4000
Continue on Dovoo

Prompt

Copy-ready prompt

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 {argument name="instruction prompt" default="follow the instructions in the mask"}. Settings visible: model {argument name="model" default="gpt-image-2"}, quality {argument name="quality" default="medium"}, size {argument name="image size" default="1536x1024"}, 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.

Prompt variables

Editable argument placeholders found in the prompt, with their default values.

4
Variable
instruction prompt
Default
follow the instructions in the mask
Variable
model
Default
gpt-image-2
Variable
quality
Default
medium
Variable
image size
Default
1536x1024

Best for

  • - Other Inspiration visual exploration
  • - Image generation and reference-image edits
  • - Reusable briefs that keep source attribution visible

Change these parts

  • - Subject, product, character, or scene
  • - Aspect ratio, camera, lighting, and background
  • - Brand, text, color, and output constraints

Recommended model and settings

  • - Model: gpt-image-2
  • - Input mode: Image to Image
  • - Aspect ratio: source
  • - Commercial status: review original source

How to use this prompt

  1. 1. Copy the prompt and preserve its structure for the first test.
  2. 2. Replace the subject, context, and publishing channel.
  3. 3. Change one camera, lighting, or style variable per iteration.
  4. 4. Inspect the output, source, text, and rights before reuse.

Limitations, source, and reuse cautions

  • - Generated output is an editable draft, not factual, legal, or rights evidence.
  • - Review the linked source, people, brands, logos, text, and third-party media before commercial use.
Imported from Awesome GPT Image 2 Prompts. Attribution is required. Commercial-use status is allowed; review source rights before paid usage.

More cases in this category

Prioritized by category, input mode compatibility, quality, and lower risk.

6

Reuse and source notes

Use this prompt safely after previewing the case.

  1. 1.Copy the prompt or open it directly in Dovoo with the generation button.
  2. 2.Adjust variables, aspect ratio, and reference images for your own use case.
  3. 3.Before publishing or paid usage, verify source rights, attribution requirements, and brand or likeness risks.

Can I use this prompt commercially?

Commercial-use status is allowed. Review the original source, license, brand constraints, and legal requirements before paid usage.

Where does this case come from?

This case is imported from Awesome GPT Image 2 Prompts; keep attribution visible and check the source URL before reuse.

ComfyUI GPT Image Mask Workflow for GPT Image 2 | Image Prompt Gallery