I haven't been following things closely for a couple months, so take all this with a grain of salt:
Prompt order
There's no exact science. Start simple and and tweak it bit by bit. Or borrow a prompt from a creator or series of images you like and tweak that.
You must be registered to see the links
recommended grouping similar prompt terms together in a particular order, for example one user's "formula" was:
But that's pretty old advice by now, and even months ago I saw some great stuff made with a relatively haphazard ordering of terms.
| operator
Well, there's
You must be registered to see the links
native function of the operator, but I never used it and don't really see any value in it.
OTOH, with a script or extension (such as
You must be registered to see the links
) the operator can modify the prompt on the fly. For example, with Dynamic Prompts and a prompt like
running, {cat|dog}, smiling
, you'd get some images made with prompt
running, cat, smiling
and some made with
running, dog, smiling
. See the extension Readme for more details.
Weighting
I didn't do much with weighting so I won't try to explain it. See
You must be registered to see the links
. I do seem to recall there was some uncertainty about how weights worked in negative prompts, but don't quote me on that.
Spaces
My best advice is to keep things simple at first, then experiment. So create some images using "blue hair" in the prompt, then use the
same seeds to re-create the images with "blue hair" changed to "blue-hair" or "blue_hair" and see what happens. I believe it will also depend on the model, based on how the images used to produce it were tagged.