openvinotoolkit / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
250 stars 39 forks source link

[Feature Request]: Add support for the "Regional Prompter" extension #45

Open sjrummins opened 10 months ago

sjrummins commented 10 months ago

Is there an existing issue for this?

What would your feature do ?

It would be nice if the "Accelerate with OpenVINO" script supported the Regional Prompter extension.

I got confused at first because I didn't realise this wasn't supported, but after playing around it became fairly clear it wasn't. For what it's worth, I came up with the attached two images to demonstrate this. Both were generated with the same seed and the same prompt:

Man and woman standing next to each other ADDCOMM
Man with blue hair ADDCOL
Woman with green hair dog

You can see the full settings using the "PNG info" tab on the attached images. The idea is that we have a blue-haired man on the left and a green-haired woman on the right. (The word "dog" was left over by accident from a previous test; it doesn't seem to affect the test much so I haven't regenerated the images.)

This image was generated without OpenVINO acceleration: 00214-42-cpu whereas with OpenVINO acceleration we get: 00213-42-openvino

(Apologies for raising three feature requests in one go, but I wanted to write these up while I still remembered the details.)

Proposed workflow

  1. Using the "Regional Prompter" extension works with the "Accelerate with OpenVINO" script

Additional information

No response