Skip to content

Tutorial: regional prompting in Photoshop by SD‐PPP

僵尸浩 edited this page Aug 25, 2024 · 14 revisions
image image image

How to do this

First of all, Regional prompting is depend on these three new nodes by sd-ppp.

so you can transfer the text layer as prompt, and transfer the linked layer of the text to represents the area.

  1. Write 1 basic prompt and 3 regional prompts with the Photoshop text tool.
  1. draw the mask regions
  1. link the mask layer with prompting text layers.
  1. create nodes in ComfyUI.
    • Get text from Photoshop text layer.

    • Get linked layer and its alpha as mask.

    • you can pack all of them to a group node to look simpler

Now we have the masked areas and prompts. Then we have two choice: Comfy's builtin masked condition and Dense Diffusion. I won't deep in to explain them. Just see what it looks like in the end:

  1. Comfy's builtin masked condition (with Flux):
  1. Dense Diffusion (with SDXL):
Clone this wiki locally