A photograph of a tiger:0.15 zebra:0.32 honeybee:0.75 on a field of grass, National Geographic full color nature photography; steps 50, guidance 10.5, seed 5946646.
It will only work on a version that supports numerical weighted tokens, such as this one (cmdr2) or this one (sd-webui). AUTOMATIC1111 does not support these, nor does gRisk. Anyone know any other good ones that support this feature, or a way to add it if not supported?
No, I saw an example of them somewhere…I think on one of the original Stable Diffusion pages…and experimentally discovered that they worked on my installation (github.com/cmdr2/stable-diffusion-ui), which is one of the better ones I have found. The syntax for weights is just to put a colon with a fraction immediately after the token in question, so: tiger:0.15 zebra:0.32 honeybee:0.75. Note that they don’t have to sum to 1.0, and it takes some tinkering to get them right; “tiger” had an outsized influence (maybe because it came first—didn’t try reordering), so I had to cut it down to 0.15 to balance.
So far I've just been using google colab notebooks.
I've seen all sorts of different examples when googling. I'll give the fractional weights a try--that makes sense. The StableDiffusionImg2ImgPipeline uses the same for strength weighting.
I keep imagining how mind blowing it would be if SD was somehow engineered to be part of the procedural generation engine within a game like No Man’s Sky.
10 comments
Great! Can you make a monkey with 4 asses?
It might be hard considering stable diffusion wasn’t trained on pictures of yo momma😎
/r/MurderedByWords
Looks like a striped capybara with butterfly wings.
I should have shared the prompt for this:
A photograph of a tiger:0.15 zebra:0.32 honeybee:0.75 on a field of grass, National Geographic full color nature photography; steps 50, guidance 10.5, seed 5946646.
It will only work on a version that supports numerical weighted tokens, such as this one (cmdr2) or this one (sd-webui). AUTOMATIC1111 does not support these, nor does gRisk. Anyone know any other good ones that support this feature, or a way to add it if not supported?
Haven't been able to find anything authoritative on weighted tokens -- have any good resources?
No, I saw an example of them somewhere…I think on one of the original Stable Diffusion pages…and experimentally discovered that they worked on my installation (github.com/cmdr2/stable-diffusion-ui), which is one of the better ones I have found. The syntax for weights is just to put a colon with a fraction immediately after the token in question, so: tiger:0.15 zebra:0.32 honeybee:0.75. Note that they don’t have to sum to 1.0, and it takes some tinkering to get them right; “tiger” had an outsized influence (maybe because it came first—didn’t try reordering), so I had to cut it down to 0.15 to balance.
Thank you!
So far I've just been using google colab notebooks.
I've seen all sorts of different examples when googling. I'll give the fractional weights a try--that makes sense. The StableDiffusionImg2ImgPipeline uses the same for
strengthweighting.I keep imagining how mind blowing it would be if SD was somehow engineered to be part of the procedural generation engine within a game like No Man’s Sky.