rabbit, standing, [:(bikini:1.3):10] ← What is this? It's Prompt Editing v1.1
*This article is a partially revised version of an article posted to pixiv FANBOX on April 4, 2023.
Prompt Editing...?
This is sudden, but for everyone with a webui environment,
try generating an illustration of a rabbit wearing a bikini.
"Sure, sure, a rabbit in a bikini. Let's see... animal, rabbit, bikini. Generate!"
...

This is what happens.
bikini and if you generate with just animal, rabbit I think only the rabbit will be summoned (the probability increases).

The reason this happens is because the word bikini also carries meanings like woman or sea and so on.
In fact, rabbit also strongly implies the meaning of woman because of bunny girls.
Because of this synergistic effect, the AI misunderstands it as
rabbit + bikini = woman in a bikini (+ rabbit elements)
, and a rabbit wearing a bikini won't appear!
A technique to control the confused AI and make it easier to generate what you intended,
that is Prompt Editing.
What is Prompt Editing?
It is a feature that allows you to switch prompts during the generation process.
You can do things like generate with prompt A for about half, and then generate with prompt B for the remaining half!
I think you're probably wondering what on earth I'm talking about, so I'll explain while putting a bikini on a rabbit.
First, as a premise that has nothing to do with Prompt Editing,
rabbit, bikini won't succeed at first.
bikini to put on, you need to create a situation where it's easy for the rabbit to wear a bikini.
So, first, I'll make the rabbit stand upright.
rabbit, standing
Negative prompt: EasyNegative
Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7.5, Seed: 3106724743
A rabbit that looks easy to put a bikini on has been summoned.
What happens if I simply add bikini to this?
rabbit, standing, bikini
Negative prompt: EasyNegative
Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7.5, Seed: 3106724743
???
The rabbit has disappeared. bikini is too strong, and the image itself has changed.
Here, we use Prompt Editing to
create the shape of the rabbit, and then have it wear a bikini.
rabbit, standing, [:(bikini:1.3):10]
Negative prompt: EasyNegative
Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7.5, Seed: 3106724743
See? Easy, right?
Prompt Editing allows for this kind of flexible specification.
So, what is [:(bikini:1.3):10] anyway?
Prompt Editing is written in the format [A:B:step count to switch]
[:(bikini:1.3):10] means
A: is empty,
B: is (bikini:1.3), and
step count to switch: is 10.
In other words, rabbit, standing, [:(bikini:1.3):10] means
Steps 1-9: rabbit, standing,
Steps 10-20: rabbit, standing, (bikini:1.3)
↓ Changes by step count
Up to 9 steps, there is no bikini, so a simple standing rabbit is generated. From step 10, it is generated including the
bikini element, and by step 20, a lovely
bikini has successfully been born.
That is all. Thank you very much.
Q&A
Other than putting a bikini on, how else do you use Prompt Editing?
One theory is that it can be used to make clothes that aren't supposed to be transparent look see-through. I'm not an expert, so I have no idea.
Wouldn't it be better to just use img2img after summoning the rabbit?
Exactly that.
I don't get it.
Honestly, you don't need to know.
