lllyasviel / Fooocus

Focus on prompting and generating
GNU General Public License v3.0
38.58k stars 5.17k forks source link

Add chunking functionality same as A1111 #1596

Open E2GO opened 6 months ago

E2GO commented 6 months ago

Request on adding same functionality as A1111 have for chunking prompt with BREAK word.

Description from A1111: BREAK keyword. Adding a BREAK keyword (must be uppercase) fills the current chunks with padding characters. Adding more text after BREAK text will start a new chunk.

Prompts could look like this with this feature: 1girl, city, indoors, street BREAK expressions BREAK gray hair, long hair, blue eyes, purple and golden suite, hair ornaments, geta, BREAK (dark light:1.2), (hyper extreme detailed), (masterpeace:0.5), (hyper extreme), (photorealistic), game cg, illustration, novel illustration, beautiful lighting, light from the front (good hand, nice hands, perfect hands:1), standing, hand on hip

Nears-115 commented 6 months ago

I'm not very good at English; I can't use anything other than my native language, so I'm sorry for posting through a translation app. I hope that there will be no misunderstandings in communication due to mistranslations, etc.

I've been using Fooocus through Google Colab Pro for about 4.5 months now.I feel like my days have become more colorful, so thank you very much.

Although there are some similarities, I feel like the purpose is a little different from the topic, but I would like to request a feature to piggyback on.

Regarding the prompt function of A1111, I would be happy if you could add the concept fusion syntax "AND" and the ability to change the prompt midway through "prompt editing". Or, if a similar function already exists, please tell me how to use it.As for "prompt editing", I tried it the other day. It didn't seem to be working, so maybe it doesn't exist? It just happened to not work, but if it already exists, I'm sorry. The reason for these requests is that they both expand the range of imagination and generation. In reality, there are many cases where new concepts are created by mixing existing concepts with existing concepts. I believe that some illustrations may be easier to generate by applying some of the prompts at different times. If the functions do not yet exist, applying them may slow down the operation considerably. Unless you foresee many problems occurring, I would appreciate it if you could give it some thought. Thank you.