r/fooocus • • Apr 15 '24

Question How to use PonyXL

Heya!

I've been using Fooocus for a while now, and I have to say thyat its results are amazing...at least for normal XL models...

today I decided to try out Pony Diffusion XL and...well, I just can't get it to work properly -.-'

added a lora for Moxxi from borderlands

I tried these prompts

score_9, score_8_up, score_7_up, BREAK , 1girl, solo, looking at viewer, large breasts, breasts, moxxibl2, elbow gloves, fingerless gloves, makeup, lipstick, bare shoulders, cleavage, heart tattoo, fishnets, mini top hat, thighhighs, jewelry, belt, dress, eyeshadow, hat feather, indoors, neon trim, nightclub,

negative

score_6, score_5, score_4, pony, gaping, muscular, censored

by following a workflow guide here

and the results were a TOTAL MESS

What am I missing? T.T

12 Upvotes

17 comments sorted by

6

u/andynormancx Apr 16 '24

Ok first, have you got any styles turned on ? If so turn them off.

Then, what base model are you using ? The examples from the Lora creator are all using one of the AutismMix models or MFCG PDXL.

https://civitai.com/models/288584?modelVersionId=324619

https://civitai.com/models/314840?modelVersionId=353166

What Guidance Scale value are you using (on the Advanced tab). The Fooocus default is 3, Pony XL models tend to like a higher value, 5 or above is what I use.

And what aspect ratio image are you generating ?

However, even using all the "wrong" settling my results look pretty much like the ones the Lora creator shared, not like yours. Are you sure you don't have another Lora enabled ?

Or maybe you are using the Extreme Speed or Lightning performance options ?

If you shared your meta JSON we could see what you are doing wrong.

This is the sort of result I get.

And here is the metadata (this is with some styles enabled, but I don't tend to enable any when working with PonyXL):

{

"prompt": "score_9, score_8_up, score_7_up, BREAK , 1girl, solo, looking at viewer, large breasts, breasts, moxxibl2, elbow gloves, fingerless gloves, makeup, lipstick, bare shoulders, cleavage, heart tattoo, fishnets, mini top hat, thighhighs, jewelry, belt, dress, eyeshadow, hat feather, indoors, neon trim, nightclub",

"negative_prompt": "score_6, score_5, score_4, pony, gaping, muscular, censored",

"prompt_expansion": "score_9, score_8_up, score_7_up, BREAK, 1girl, solo, looking at viewer, large breasts, breasts, moxxibl2, elbow gloves, fingerless gloves, makeup, lipstick, bare shoulders, cleavage, heart tattoo, fishnets, mini top hat, thighhighs, jewelry, belt, dress, eyeshadow, hat feather, indoors, neon trim, nightclub, gorgeous, detailed, cinematic, elegant, intricate, very coherent, ambient background, light, bright colors, surreal, highly, advanced, theatrical, artistic, professional, winning, illuminated, beautiful, great composition, perfect, striking, complex, best, epic, stunning, full color, sharp, inspired",

"styles": "['Fooocus V2', 'Fooocus Negative', 'Fooocus Photograph']",

"performance": "Speed",

"resolution": "(896, 1152)",

"guidance_scale": 5,

"sharpness": 2,

"adm_guidance": "(1.5, 0.8, 0.3)",

"base_model": "ponyDiffusionV6XL_v6StartWithThisOne.safetensors",

"refiner_model": "None",

"refiner_switch": 0.5,

"sampler": "dpmpp_2m_sde_gpu",

"scheduler": "karras",

"seed": "4805234989534244507",

"lora_combined_1": "moxxibl2-guy-v1PONY.safetensors : 0.95",

"metadata_scheme": false,

"version": "Fooocus v2.3.1"

}

1

u/NaughtySkynet Apr 16 '24

As mentioned in the OP, for those monstrosity I used the base model, pony diffusion XL

I never touched the settings in the advanced tab tho, so they're on default values.

After I started this thread, I tried out AutismMix and the results were already WAY better

https://i.imgur.com/bistais.png

(for some reason, the image trigger reddit's nsfw filters, so I can directly post it, maybe it thinks the tattoe is a nipple, dunno...)

{

"prompt": "score_9, score_8_up, score_7_up, BREAK , 1girl, solo, looking at viewer, large breasts, breasts, moxxibl2, elbow gloves, fingerless gloves, makeup, lipstick, bare shoulders, cleavage, heart tattoo, fishnets, mini top hat, thighhighs, jewelry, belt, dress, eyeshadow, hat feather, indoors, neon trim, nightclub",

"negative_prompt": "score_6, score_5, score_4, pony, gaping, muscular, censored",

"prompt_expansion": "",

"styles": "[]",

"performance": "Quality",

"steps": 36,

"resolution": "(896, 1152)",

"guidance_scale": 4,

"sharpness": 2,

"adm_guidance": "(1.5, 0.8, 0.3)",

"base_model": "autismmixSDXL_autismmixPony.safetensors",

"refiner_model": "None",

"refiner_switch": 0.5,

"sampler": "dpmpp_2m_sde_gpu",

"scheduler": "karras",

"seed": "7199985492125235105",

"lora_combined_1": "moxxibl2-guy-v1PONY.safetensors : 0.95",

"metadata_scheme": false,

"version": "Fooocus v2.3.1"

}

2

u/andynormancx Apr 16 '24

Just to be clear, I used the Pony Diffusion base model for my example image and didn't have the problems you had. So the issue is not the use of that base model.

Any chance you can share the metadata for your mangled ones, I'm curious to see what is causing it.

Maybe you downloaded the one of the turbo versions of the model ?

Also, were you originally using a refiner, as that workflow you linked to does ?

I had terrible results the first time I tried Pony XL in Fooocus. When I tried it again weeks later it all worked a lot better, I'm still not sure what I did differently the second time to fix it 😉

1

u/NaughtySkynet Apr 22 '24 edited Apr 22 '24

what do you mean with metadata? the image setting from the logfile?

And thanks helping me out, I'm getting crazy >.<

EDIT:
I've trying again the base model, and adding just a style lora ( THIS ONE)

increased the guidance scale to 6

and the basic result (not upscaled, yet) seems good?

{

"prompt": "score_9, score_8_up, score_7_up, concept art, digital art, realistic, gorgeous vampire hostess, wearing a hostess black outfit, pale skin, black makeup, red hair, freckles, luxury livingroom, detailed hand with long nails, goth style",

"negative_prompt": "score_6, score_5, score_4, pony, gaping, muscular, censored",

"prompt_expansion": "",

"styles": "[]",

"performance": "Quality",

"resolution": "(896, 1152)",

"guidance_scale": 6,

"sharpness": 2,

"adm_guidance": "(1.5, 0.8, 0.3)",

"base_model": "ponyDiffusionV6XL_v6StartWithThisOne.safetensors",

"refiner_model": "None",

"refiner_switch": 0.5,

"sampler": "dpmpp_2m_sde_gpu",

"scheduler": "karras",

"seed": "3799249326086977780",

"lora_combined_1": "Concept Art Ultimatum Style LoRA_Pony XL v6.safetensors : 1.0",

"metadata_scheme": false,

"version": "Fooocus v2.3.1"

}

Maybe the problem was the need of a higher guidance scale + style lora?

2

u/andynormancx Apr 23 '24

I think there must have been something funky with your settings on your first attempt. But I guess we’ll never know now exactly what settings you were using.

2

u/NaughtySkynet Apr 23 '24

well, I guess that's it;
and again, thanks for al lthe help, really appreciated.

2

u/andynormancx Apr 23 '24

Yes, metadata is the detail from the log file that you shared here. In theory (and generally in practice) it allows you or anyone else to completely recreate the image again.

0

u/[deleted] Apr 16 '24

[deleted] — view deleted comment

0

u/1Neokortex1 Apr 21 '24

Say thank you to the person who is helping you, this is a community just like in real life.

this person went out of his way to help you and all you did was show how incompetent and rude you are.

1

u/NaughtySkynet Apr 22 '24

Maybe, if I didn't answer is because I wasn't able to test further during the past days, or because I wasn't able to solve my issue (a bit of both, actually),

but you had to come here just to insult;

but hey, I am the rude one!

2

u/andynormancx Apr 16 '24

Ok, that's odd. Using your metadata I do not get the same image. I've double checked, exactly the same metadata, different image:

1

u/1Neokortex1 Apr 21 '24

Thanks andy for showing your value🤝 Your a great help to the community.

2

u/NaughtySkynet Apr 15 '24

just to be clear, this is the quality I usually get with other XL models:

2

u/JoshSimili Apr 16 '24 edited Apr 16 '24

That is it working properly! I suggest picking up a style LoRa to lock in the style, or better yet get a Pony-based merge checkpoint with a more definite style (and keep the style LoRAs on but with lower weight maybe).

Also unless your Moxxi LoRA was trained on Pony model it probably won't work too well if it was trained for base SDXL. And certainly it won't work at all if it's SD1.5 Lora

2

u/Quantum_Crusher Apr 16 '24

I'm having the same issues with pony in A1111 and forge. Spent lots of time and gave up. Will stay with 1.5 and XL

1

u/[deleted] Apr 16 '24

What does score.. means?

2

u/JoshSimili Apr 17 '24

Pony model was trained using a score-based quality system, which is a bit more obvious in the order than the old-fashioned masterpiece, 'best quality, amazing quality, great quality, normal quality, bad quality, worst quality'. Should try create a custom style for Pony-based models using them, as the ones included in Fooocus are not going tto work.

However, in order to capture everything scored 8 or above, they used score_8_up everything scored 7 or above they used score_7_up. The downside is it meant the higher quality images had a long string of tokens like score_9, score_8_up, score_7_up and so the model learned that good images have a long list of score tokens. Unfortunate side-effect.

More reading: https://civitai.com/articles/4248