language:en license:creativeml-openrail-m stable-diffusion text-to-image image-to-image region:us
---
language:
- en
license: creativeml-openrail-m
thumbnail: "https://huggingface.co/datasets/Nerfgun3/bad_prompt/resolve/main/bad_prompt_showcase.jpg"
tags:
- stable-diffusion
- text-to-image
- image-to-image
inference: false
---

# Negative Embedding / Textual Inversion

<img alt="Showcase" src="https://huggingface.co/datasets/Nerfgun3/bad_prompt/resolve/main/bad_prompt_showcase.jpg"/>

## Idea

The idea behind this embedding was to somehow train the negative prompt as an embedding, thus unifying the basis of the negative prompt into one word or embedding. 

Side note: Embedding has proven to be very helpful for the generation of hands! :)

## Usage

To use this embedding you have to download the file aswell as drop it into the "\stable-diffusion-webui\embeddings" folder.

**Please put the embedding in the negative prompt to get the right results!**

For special negative tags such as "malformed sword", you still need to add them yourself. The negative embedding is trained on a basic skeleton for the negative prompt, which should provide a high-resolution image as a result.

### Version 1:

Issue: Changing the style to much.

To use it in the negative prompt: ```"bad_prompt"```

Personally, I would recommend to use my embeddings with a strength of 0.8 even the negative embeddings, like ```"(bad_prompt:0.8)"```

### Version 2:

With this version I tried to reduce the amount of vectors used, aswell as the issue with the changing artstyle. The newer version is still a work in progress, but its already way better than the first version. Its in files section!

I hope you enjoy the embedding. If you have any questions, you can ask me anything via Discord: "Nerfgun3#7508"

## License

This embedding is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
The CreativeML OpenRAIL License specifies: 

1. You can't use the embedding to deliberately produce nor share illegal or harmful outputs or content 
2. The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
3. You may re-distribute the weights and use the embedding commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully)
[Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)