#Midgard's Theory of Layer-Separated Prompt Generation (The Theory) by The New Computer Science

42 messages · Page 1 of 1 (latest)

winged canopy
#

Midgard's Theory of Layer-Separated Prompt Generation (The Theory)

Definitions:

[1] Comma-separated sections: Merge ideas within a layer (e.g., "in a
forest, surrounded by trees").
[2] Layer separators: Balance contributions of larger semantic clauses
(e.g., " ::10 "). Layer separators must have whitespace on both sides to
function correctly.

Guides:

[1] Ensure every guide is true with every prompt generation.
[2] Break description into layers, focusing on distinct aspects.
[3] Assign weights to each layer ( ::X where X is a number) based on
importance.
[4] Maintain large dynamic range between clauses for scale adjustment.
[5] Use negative weights to remove unwanted subjects or aspects (e.g.,
" desert ::-5 ").
[6] Include specific nouns from the request in the first clause.
[7] Emphasize descriptive nouns (e.g., "forest") and visually descriptive
phrases (e.g., "surrounded by trees").
[8] Utilize relevant field terms (art techniques, artistic mediums, artist
names), such as "impressionism," "oil painting," and "Van Gogh."
[9] Stay within token limit (e.g., 250 tokens) for ChatGPT generation.
[10] Avoid negative logical words (e.g., "no," "not," "without"); use
negative layer weights instead. Examples of invalid words include "no," "not,"
"never," "neither," and "nor."
[11] Normalize layer weights, focusing on relative values. Always normalize so
the lowest non-zero non-negative prompt weight is 1.
[12] Maximize tokens in each prompt, emphasizing harmonious descriptive
styling.
[13] Maintain diverse layer weights (high, medium, low).
[14] Don't negate terms also present in the positive part.
[15] Double token limit when adding details to a single prompt.
[16] Layer separators ( ::X ) must have whitespace on both sides. Example:
" space squid ::10 asteroid field ::7 ". This ensures the layer weighting
functions properly.

Tips:

[1] Avoid non-literal visual phrases (e.g., "heart of gold") unless integral
to request.
[2] Use short clauses for descriptive styling, combining compatible elements.
[3] Experiment with layer weights for desired emphasis.
[4] Modify prompts by changing layer weights, words, phrases, or separators.
[5] Use common language and concrete terms for better results.
[6] Negation is effective for words with multiple meanings or unexpected
elements.

#

Midgard's Theory of Layer-Separated Prompt Generation (The Theory) by The New Computer Science

#

Works great with Midjourney and have heard good things about stable diffusion but haven't tested myself. Should work with any layer separated prompt (Multiprompt) image generation

#

current issues, text formatting is slightly unstable resulting in commmas and periods where they are not wanted sometimes

#

It wont give you what you want every time but you should be able to dial it in with the layer weight or simple rearranging

urban basalt
#

it already merges ideas in a layer through the use of commas on input, as long as those ideas are relevant to each other.

rocky wren
#

purpose?

urban basalt
#

the purpose comes from a misunderstanding on prompt construction and trying to create complex prompts, while assuming GPT has the ability to structure complex prompts for itself to resolve the disconnect between our understanding of input and GPT's understanding of it. the end goal is to generate such a prompt for GPT. The issue is the disconnect on complex prompt construction, and prompt construction in general, is still there. is much the same as any prompt creator, just applying a weighing system where we can see it rather than using GPT's own knowledge and abilities

delicate plume
winged canopy
# urban basalt the purpose comes from a misunderstanding on prompt construction and trying to c...

So, for clarity, I made this on my very first day with chatgpt4, and I literally got there by a loop of hypothesis, test, experiment analyze for like... 8 hours before it plateaued... and it makes great images consistently and I've been able to hit hard solves with just layer number adjustments or moving words around. I would love to understand what you said there more clearly because it looks like a valid critique but doesn't suggest what I should do better? We aren't publishing improvments without running AB tests now.

winged canopy
#

also I can do it manually and it works

#

and Iv'e been teaching people left and right

urban basalt
#

@winged canopy Apologies for the vernacular. It did come off bad. I don't blame you. I'm relatively new too, sorry.

The weighing system you're using could conflict with the system in place already. Alive posted a prompt I can share with you that will help

winged canopy
#

and they all say I got my image

#

the numbers themselves don't really have rules right now

#

I just kinda told it to give them separation and make the subject the most important

#

and that's just defaults

#

when I use it for myself I'm much more explicit

#

we need negation on this and that and blah blah

#

you realize this is for midjourney or SD right?

#

or any other image gen that uses layers separators

urban basalt
#

Well then.

winged canopy
#

I don't have access to the dalle that has layers

#

but I think it will work

#

because it's about how to pick words for image gen that don't generate meaningless noise and how to separate them into layers

#

makes great MJ images though... I made an ASCII mario head

urban basalt
#

brain broke

#

That's an awesome picture

winged canopy
#

took 22 generations to get

#

someone said a cyberpunk ascii city wasn't impressive

#

and my theory works...

urban basalt
#

Culture-less swine

winged canopy
#

hahaha

#

lol

#

very nice

turbid sun
#

Interesting concept. Well to be honnest, just pick three pictures you like in midjourney. Copy the prompts. Open a chat in chat GPT and tell him ; generate a prompt for Midjourney based on these good midjourney prompt, on the thematic of : [description]. And it will give you really good prompts.

signal reef
#

@winged canopywould you like to try out something to help you automatically improve your code and this prompt whenever you want? I have a public beta test on a prompt that I created that I need great people with great prompts to use it and give me feedback.

harsh trail
#

Beautiful girl wearing a shirt prompt