Better facial expressions?
How should I go about generating different facial expression. I find that the lora I'm using doesn't really like to generate anything other than a smile. My second question would be if there was a prompt for it to cycle through expressions so I don't have to specify one in every image I generate.
About this post
- Posted
- Archived
- Score
- 0 · 50% up
- Kind
- Text
- ID
- 1pptasu
7 comments
You can use this format:
The person is {happy|sad|being consumed by ravenous badgers|angry}.
You can create a single prompt with multiple curly bracket commands separated by a | and comfy will feed a random one each time.
I do this for new models I test. Throw in multiple combinations of scenes, people, characteristics, textures, lighting and just que up a hundred gens.
Gives a great overview quickly.
Answering a few questions here:
https://preview.redd.it/jta63jo1q18g1.png?width=1164&format=png&auto=webp&s=44922c3b7cb6b22068a2add8260a57b7cba9bc32
u/Underbash some examples that I threw in to test out this question and the “Ravenous Badgers” question are attached. Basically, from a “Purely in the prompt box” I think the repeated syntax is the only way to go. However, if you have custom nodes with wildcards (EasyUse and Chibi-Nodes have them) you can have a text file with the variables you want to call - not familiar with those, but should work.
{Photograph|Pencil Sketch|Anime|Pixar Rendering} of two women having a picnic at {dawn|noon|sunset|midnight}.The first woman has {blonde|red|black|brown} {short|long|curly|no} hair and is dressed as a {nun|doctor|dominatrix|clown|professional wrestler|safari guide|wizard} she is {happy|sad|being consumed by ravenous badgers|angry}.The second woman has {blonde|red|black|brown} {short|long|curly|no} hair and is dressed as a {nun|doctor|dominatrix|clown|professional wrestler|safari guide|wizard} she is {happy|sad|being consumed by ravenous badgers|angry}.u/red_dragon re: Ravenous Badgers: It doesn’t deal with that well. Perhaps “consumed” in the context of the picnic isn’t interpreted as “being horrifically devoured” and is more of a “sharing is caring”.
Dropped the above into an in-progress testing of improving Z-image variation, surprised these came out as well as they did. I do not recommend this workflow for anything, but to save some back and forth:
Image with Wofkflow: https://files.catbox.moe/y7q0zr.png
JSON: https://files.catbox.moe/t4hwtr.json
Gofile link with all of the examples which will almost certainly stop working: https://gofile.io/d/vuTzQ9
Nice, thanks!
Nice I didn't know this. Thanks 👍
How do models actually respond to this?
I've been making great use of that functionality, but I've wondered lately, is there a way to have it randomize for EACH character in an image? Like if I have two characters, that syntax as it is would just have them both have the same random hair color or whatever that it picked. I tried just duplicating that part of the prompt, once for each character, and it seemed to work, but that's so unwieldy if you have large lists of randomized stuff.
Nearly all models publish keywords (chinese->english) for the various poses, incl. facial expressions.
You can ask chatgpt or gemini for a list for the particular model you're using.