imaginAIry icon indicating copy to clipboard operation
imaginAIry copied to clipboard

inputting prompt weights via text prompt

Open PaulMest opened this issue 1 year ago • 4 comments

The Stable Diffusion community has a lot of examples that use weights in prompts. For example: 'Cat with !black nose! !!blue eyes!!' should have a higher weighting on black nose and an even higher weighting on blue eyes.

I just realized that prompt weights are not implemented in imaginAIry. But there appears to be something similar implemented for clip masking. Could we reuse the same parsing approach from clip masks for prompt weights? Or could you outline the steps that you think are needed to allow for prompt weighting from a text string?

Looks like there's also some sample code in this Reddit thread

PaulMest avatar Dec 13 '22 18:12 PaulMest