hako-mikan / sd-webui-regional-prompter

set prompt to divided region

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Complex prompts / BREAK in regions

siilky opened this issue · comments

Hi, can the code be updated to allow BREAKing inside regions and long prompts for regions in matrix mode? I'm not sure yet what breaks the prompt with long prompts in regions, but BREAK handling is obviously broken with using explicit ADDx keywords. Also keywording can be improved, like strict order of COMM/BASE is not obvious in use and could be relaxed.
I could help with coding, and have already looked at the code (regioning flow is quite questionable but I could handle that), but I'm not sure about the prompting details over regions and would need advice about that.

@siilky Nobody answered you, so I'll recommend trying mask mode or prompt mode. Both of these allow for finer control over region sizes and thus splitting your prompt into more parts than possible with matrix mode.

Is the same issue to #286 ?
If so, new option added.

there are several problems which mostly relate to changing boundaries within schedule/batch:

  • plugin parses only the first prompt in batch and if regions are changing over batch it is rendered incorrectly,
  • in the same way, when boundary change happens within single prompt schedule it is rendered incorrectly also.
    Along with some improvements that could be added:
  • strict order of addbase/addcomm might be relaxed 
  • adding sort of REGION keyword instead of BREAK to avoid interfering with it, also unbinding prompt from regions at some degree, to move forward to visual region setting.
    I have implemented some code already for that but stopped at the point where scheduling occurs inside the app, and it is not easily customizable/interceptable without hacks.