Skip to content

Tutorial: regional prompting in Photoshop by SD‐PPP

僵尸浩 edited this page Oct 9, 2024 · 14 revisions

This wiki is old, you can refer to the latest workflow: >openart.ai

But you can still read as a reference


This wiki is old, you can refer to the latest workflow: >openart.ai

But you can still read as a reference


This wiki is old, you can refer to the latest workflow: >openart.ai

But you can still read as a reference


image image image

[download workflow and .psd]

How to do this

description

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.

step1. Write prompt and draw the area

  1. Write 1 basic prompt and 3 regional prompts with the Photoshop text tool.
  1. draw the mask regions

step2. Build the workflow

  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):

step3. Get result in Photoshop

Use this node to send result image back to Photoshop

QQ_1724679814552

Keep prompting in Photoshop until you get the result.

85dbb2cf7bc1397af2c3f822e6a3ce7c