Skip to content

Cutoff - Cutting Off Prompt Effect - Identify Targets In Prompt

License

Notifications You must be signed in to change notification settings

pmcculler/sd-webui-cutoff-in-prompt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cutoff - Cutting Off Prompt Effect

What is this?

This is an extension for stable-diffusion-webui which limits the scope of influence of words in the prompt.

It is also a fork of webui-cutoff

This is a fork of sd-webui-cutoff with a couple of usability improvements.

  • About a hundred single color words will be automatically included as target words if and where they occur in your prompt.
    • Just trying to control basic color bleed? Install the extension, enable it, and you're done. No special target necessary.
    • Note that the original webui-cutoff isn't perfect and this isn't better at what webui-cutoff does. It is better than nothing but don't expect perfection from either extension, please.
    • Webui-cutoff seems to shine best when used to control clothes colors on people with an anime checkpoint. It still works with realistic checkpoints, but perhaps not as reliably.
  • You don't have to use the separate target prompt box, and can define your targets inline in the code. So instead of saying "a red apple branch," in your prompt and "red" in your prompt, you can say "a &&red&& apple branch" and skip the target box. Note that targeting a word once targets it everywhere in the prompt, just like using the target prompt box; "a &&red&& apple branch, a boy with a red hat" targets both the apple branch clause and the boy-hat clause.
  • That should do it. All the other options and such are unchanged.

About

Cutoff - Cutting Off Prompt Effect - Identify Targets In Prompt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%