GithubHelp home page GithubHelp logo

anyangdea / sd-webui-negpip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hako-mikan/sd-webui-negpip

0.0 0.0 0.0 2.86 MB

Extension for Stable Diffusion web-ui enables negative prompt in prompt

License: GNU Affero General Public License v3.0

Python 100.00%

sd-webui-negpip's Introduction

NegPiP - Negative Prompt in Prompt

English | 日本語 | 中文

Extension for Stable Diffusion web-ui enables negative prompt in prompt

Summary

This extension enhances the stable diffusion web-ui prompts and cross-attention, allowing for the use of prompts with negative effects within regular prompts and prompts with positive effects within negative prompts. Typically, unwanted elements are placed in negative prompts, but negative prompts may not always have a significant impact in calculations. With this extension, it becomes possible to use negative prompts with effects comparable to regular prompts. This enables stronger effects even for words that might have collapsed when their values were increased too much in negative prompts before, by incorporating negative effects into the prompts.

Instructions

By checking the "Active" box, it will become effective. In the prompt input screen, entering a negative value like (word:-1) will give it a negative effect. It also works with negative prompts, in which case it will have a positive effect.

This was created with the prompt "gothic dress". Despite including (black:1.8) in the negative prompt, it's still black. It seems impossible to completely eliminate the blackness of word gothic.

image1

Following image created using (black:-1.8) in the prompt with NegPiP. It's no longer black.

image2

By the way, this is what happens when you don't use either NegPiP or negative prompts. image2

Magical Dandy

Magical Dandy is a magical dandy. Summoning a magical dandy is very difficult. That's because it requires coexistence of a magical girl and a dandy. But the dandy is weak. The girl is strong. Very strong. So the dandy ends up losing. Even if you put (girl:1.8) in the negative prompt, it won't come up.

Therefore, it may be necessary to input (girl:-1.6) in the prompt to remove the girl.

sd-webui-negpip's People

Contributors

hako-mikan avatar tekitou898009890 avatar yaosiqian avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.