An open API service indexing awesome lists of open source software.

https://github.com/haoming02/sd-forge-chunk-weights

An Extension for Forge Webui that controls weighting of prompt chunks
https://github.com/haoming02/sd-forge-chunk-weights

stable-diffusion-webui-forge stable-diffusion-webui-plugin

Last synced: 11 months ago
JSON representation

An Extension for Forge Webui that controls weighting of prompt chunks

Awesome Lists containing this project

README

          

# SD Forge Chunk Weights
This is an Extension for [Forge Classic](https://github.com/Haoming02/sd-webui-forge-classic), which allows you to control the weighting for each chunk of prompts *(**i.e.** every 75 tokens)*.

> [!Tip]
> In the WebUI, you can use the keyword **`BREAK`** to manually separate prompts into different chunks to group similar concepts together

## How to Use
In the `Weighting` text field, enter a list of **comma-separated floats**, corresponding to the weights of each chunk in order *(the default weight is `1.0`)*

## Examples





a photo of a dog, a house

Extension: Disabled




a photo of a dog, BREAK, a house

Extension: Disabled






a photo of a dog, BREAK, a house

Weights: 1.5, 1.0




a photo of a dog, BREAK, a house

Weights: 1.0, 1.5


- Idea by. **[@jeanhadrien](https://github.com/jeanhadrien)** in [#89](https://github.com/Haoming02/sd-webui-forge-classic/issues/89), based on this [Extension](https://github.com/klimaleksus/stable-diffusion-webui-embedding-merge/)