ThereforeGames/unprompted

txt2mask with batch only applying to first image with "inpaint not masked"

Dadacticiel opened this issue · 0 comments

Due diligence

  • I checked for similar issues and couldn't find any.
  • My WebUI and Unprompted are both up-to-date.
  • I disabled my other extensions but the problem persists.

Describe the bug

Hello,
I am using automatic1111 webui to generate multiple images.

I have the following txt2mask in my prompt :
[txt2mask method="clipseg" mode="add" sketch_alpha=0.0 show debug precision=100.0 padding=0.0 smoothing=0.0 negative_mask="hair" neg_precision=100.0 neg_padding=0.0 neg_smoothing=0.0 stamp_method="stretch" stamp_x=0.0 stamp_y=0.0]face[/txt2mask],red hair

It works fine with "inpaint masked" options.
But if i use "inpaint not masked" (inpainting_mask_invert options through api), then it only apply to the first image if i have a batch count > 1.
Exemple of result : (https://i.ibb.co/7yccd3n/grid-0034.jpg

Any idea on how to fix this ?

Prompt

[txt2mask method="clipseg" mode="add" sketch_alpha=0.0 show debug precision=100.0 padding=0.0 smoothing=0.0 negative_mask="hair" neg_precision=100.0 neg_padding=0.0 neg_smoothing=0.0 stamp_method="stretch" stamp_x=0.0 stamp_y=0.0]face[/txt2mask],red hair

Log output

No response

Unprompted version

v10.6.0

WebUI version

v1.6.1

Other comments

No response