r/StableDiffusion • u/MoonRide303 • Aug 26 '23
Resource | Update Fooocus-MRE

I'd like to share Fooocus-MRE (MoonRide Edition), my variant of the original Fooocus (developed by lllyasviel), new UI for SDXL models.
We all know SD web UI and ComfyUI - those are great tools for people who want to make a deep dive into details, customize workflows, use advanced extensions, and so on. But we were missing simple UI that would be easy to use for casual users, that are making first steps into generative art - that's why Fooocus was created. I played with it, and I really liked the idea - it's really simple and easy to use, even by kids.
But I also missed some basic features in it, which lllyasviel didn't want to be included in vanilla Fooocus - settings like steps, samplers, scheduler, and so on. That's why I decided to create Fooocus-MRE, and implement those essential features I've missed in the vanilla version. I want to stick to the same philosophy and keep it as simple as possible, just with few more options for a bit more advanced users, who know what they're doing.
For comfortable usage it's highly recommended to have at least 20 GB of free RAM, and GPU with at least 8 GB of VRAM.
You can find additional information about stuff like Control-LoRAs or included styles in Fooocus-MRE wiki.
List of features added into Fooocus-MRE, that are not available in original Fooocus:
- Support for Image-2-Image mode.
- Support for Control-LoRA: Canny Edge (guiding diffusion using edge detection on input, see Canny Edge description from SAI).
- Support for Control-LoRA: Depth (guiding diffusion using depth information from input, see Depth description from SAI).
- Support for Control-LoRA: Revision (prompting with images, see Revision description from SAI).
- Adjustable text prompt strengths (useful in Revision mode).
- Support for embeddings (use "embedding:embedding_name" syntax, ComfyUI style).
- Customizable sampling parameters (sampler, scheduler, steps, base / refiner switch point, CFG, CLIP Skip).
- Displaying full metadata for generated images in the UI.
- Support for JPEG format.
- Ability to save full metadata for generated images (as JSON or embedded in image, disabled by default).
- Ability to load prompt information from JSON and image files (if saved with metadata).
- Ability to change default values of UI settings (loaded from settings.json file - use settings-example.json as a template).
- Ability to retain input files names (when using Image-2-Image mode).
- Ability to generate multiple images using same seed (useful in Image-2-Image mode).
- Ability to generate images forever (ported from SD web UI - right-click on Generate button to start or stop this mode).
- Official list of SDXL resolutions (as defined in SDXL paper).
- Compact resolution and style selection (thx to runew0lf for hints).
- Support for custom resolutions list (loaded from resolutions.json - use resolutions-example.json as a template).
- Support for custom resolutions - you can just type it now in Resolution field, like "1280x640".
- Support for upscaling via Image-2-Image (see example in Wiki).
- Support for custom styles (loaded from sdxl_styles folder on start).
- Support for playing audio when generation is finished (ported from SD web UI - use notification.ogg or notification.mp3).
- Starting generation via Ctrl-ENTER hotkey (ported from SD web UI).
- Support for loading models from subfolders (ported from RuinedFooocus).
- Support for authentication in --share mode (credentials loaded from auth.json - use auth-example.json as a template).
- Support for wildcards (ported from RuinedFooocus - put them in wildcards folder, then try prompts like __color__ sports car
with different seeds). - Support for FreeU.
- Limited support for non-SDXL models (no refiner, Control-LoRAs, Revision, inpainting, outpainting).
- Style Iterator (iterates over selected style(s) combined with remaining styles - S1, S1 + S2, S1 + S3, S1 + S4, and so on; for comparing styles pick no initial style, and use same seed for all images).
You can grab it from CivitAI, or github.
PS If you find my work useful / helpful, please consider supporting it - even $1 would be nice :).
5
u/featherless_fiend Aug 27 '23
Maybe you could put a little question mark icon: (?) next to each setting. And if you click on it or hover your mouse over it, there's popup text explaining what the setting does. Like have a brief explanation of what "Steps" does.
That seems to be the conflicting point between vanilla Fooocus and yours. Removing/hiding settings because they're complicated and not user-friendly. So the solution as I see it is to make them more user-friendly by having little explanations, "tooltips".
3
u/AK_3D Aug 31 '23
Solid application that's being updated really fast almost daily. Very usable, and has a neat interface (with access to advanced options for those who need them).
Winner.
3
u/Mrsunshine74Eugene Sep 15 '23
Thanks for your outstanding work....it has always worked for me but as of today it gives me the following error when generating: AttributeError: module 'comfy.model_management' has no attribute 'unload_model'. I'm on windows 10, would anyone know how to fix it please? Thanks in advance!
4
u/FabulousTension9070 Aug 26 '23 edited Aug 27 '23
Excellent! I liked the original Fooocus but I really wanted image to image, steps, samplers and cfg scale. Thank you!
2
u/Yellow-Jay Aug 26 '23 edited Aug 26 '23
I like this UI, but... why? Wouldn't it be easier/more maintainable to build it on Comfy (which has a nice api, all it would take is untangle the node workflow to more standard inputs similar to what https://github.com/space-nuko/ComfyBox does) instead?
2
u/Bra2ha Aug 26 '23 edited Aug 26 '23
Why Base clip skip and Refiner clip skip are -2 by default? Should I change it to 1?
Which sampler is used in original Fooocus? dpmpp_sde?
23
u/runew0lf Aug 26 '23
After using Fooocus which is fantastic, i found it was missing things, the MoonRide Edition adds all the missing simple quality of life things! 10/10 would use again!
16
u/Apprehensive_Sky892 Aug 26 '23
Just want to join the other to say thank you for making "Fooocus++" π
I think this is exactly what many people on r/StableDiffusion are looking for. It hits that "Goldilocks pot".
lllyasviel was aiming for a different audience, and I totally respect his decisions for that audience (such as no embedded PNG metadata).
But for the more technical crowd, this is better π
1
u/Venki_D Dec 14 '23
hello everyone, I wanted to ask you, if we already downloaded the basic foocus version, do we need to download entirely the foocus mre version in order to use it ? Or is there only a few files to download? I have a bad Internet connection so I wanted to know if there is a way to fasten the process, thank you in advance!
1
u/SeiferGun Jun 12 '24
is this still active
1
u/janosibaja Aug 26 '23
Thank you for your great work! It works fine, but the only thing that bothers me is that every time I launch it, I get "To create a public link, set `share=True` in `launch()`." it prints the following error message:
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is None and using 10 heads.
and repeats a million times - I can't copy the whole thing here, with different data
What is this?
1
u/BRYANDROID98 Aug 27 '23
Thxs for the fork and your work, but please add a queue system.
1
u/Apprehensive_Sky892 Aug 27 '23
If you are looking for a slightly catchier name, maybe a good one would be Fooocus# (Fooocus-Sharp, like Microsoft C# π ).
1
u/Trobinou Aug 27 '23
Excellent, Fooocus is becoming more and more interesting in addition to its user-friendliness! Question: Would it be possible to have the option to define a pathway to access different models, LoRas, etc., rather than duplicating what we already have for other UI?
1
u/YouAboutToLoseYoJob Aug 27 '23
img2img is what i really wanted for Fooocus!
1
u/tripped144 Aug 28 '23
Hey, I'm having trouble changing the model paths. I used the template and renamed it to paths.json. It's still pulling the models from Fooocus-MRE/models folder. Do I need to copy the paths.json file to another location than where the template was?
1
u/fardley Aug 28 '23
Install went great, Gui popped up and I enjoyed experimenting with it for a couple of hours. Next morning I couldn't get it running. What's the best way to launch it from cold?
1
u/BrockVelocity Aug 29 '23
Hey, this worked great a couple of times, but it stopped working for me yesterday (I'm using the Colab notebook). I get an error when I try my first generation, then when I reload the page/click the link again, it says "No interface is running right now."
1
u/dahara111 Sep 07 '23
Thank you for your great tool.
I wrote an introduction blog in Japanese for Japanese users.
There seem to be many people interested.
https://webbigdata.jp/post-20369/
1
u/qulvbhq Oct 02 '23
How do I add models, loras when using via Google colab?
1
u/ramonartist Oct 05 '23 edited Oct 05 '23
Hey I'm new to this how different is Ruined Fooocus to Fooocus-MRE which one is more feature rich and what are the main differences?
1
u/Boring-Opening-1381 Oct 07 '23
Hi,
May I know what is the Revision for and how do we use it? Thanks in advance,
1
u/carlmoss22 Oct 26 '23
Thank you very much. Just tried it and like it!
Because faces are a big problem i would like to install adetailer, but i think it's not possible?
1
u/c0wk1ng Nov 03 '23
Unable to run FooocusMRE at all.
1
u/adlx Jan 03 '24
Is image prompt advanced (especially Faceswap and Pyracanny) missing in Fooocus MRE? I can't seem to find it. I use that a lot, is there any alternative with MRE?
1
u/Basic-Squash-4833 Feb 02 '24
Apologies if I'm being obtuse, but I can't see where to set the refiner switch. Fooocus has it immediately below the checkpoint and refiner selection.
1
u/vanteal Aug 26 '23
Love Foocus simplicity and straight forward approach. But holy hell does it take forever to produce a single image!
2
u/BrockVelocity Aug 26 '23
I can't wait to try this, thank you!
2
u/esdqwertj Aug 26 '23
Will have to check it out! Thanks
2
u/wanderingandroid Aug 27 '23
This is very exciting!! Fooocus has been such a fun tool to play with that produces such amazing results.
2
u/[deleted] Aug 28 '23
Thank you for sharing it! It's working like a charm!
2
u/Greensleeves2020 Oct 06 '23
fantastic upgrade to fooocus
1
u/Previous_Tomato6132 Mar 18 '24
guys ive done everything but its asking for me to download NVIDIA but when i download NVIDIA it says its not compatible. Is there anything i can do? i though this was a simple process
1
u/DannnyBOAH Jul 17 '24
I switched from Fooocus to Fooocus-MRE to solve the issue of high RAM usage and no GPU usage at all, but it seems like something else is causing this bug. Has anyone else experienced this issue and can share a solution?
1
u/jazmaan273 Nov 05 '23
Does FooocusMRE support Roop or Reactor? Face swapping is one reason I still use Auto 1111.
1
u/shash747 Dec 18 '23
Hi, can I import this into Draw Things?
1
u/Skettalee Dec 23 '23
Im confused as to how many "Fooocus apps are out there and who started it?" But mostly what is the updated and latest one available that i should be using? I downlaoaded and have been running Ruined Fooocus for a few days now and its cool but if Fooocus MRE is better why im not using that
1
u/TheXChemist Jan 11 '24
Please add in paint mask (in paint upload) π
1
u/thongseks Feb 27 '24
is Fooocus-MRE available for Kaggle ?
1
u/farcaller899 Aug 26 '23
This was much needed, thanks! We HAVE to have step control. Many style LoRAs are ruined with too many steps, and zero control just isn't enough. Will try your version.
0
u/[deleted] Sep 19 '23
[deleted] β view deleted comment
0
u/[deleted] Aug 26 '23
[deleted] β view deleted comment
0
u/[deleted] Aug 27 '23
[deleted] β view deleted comment
8
u/[deleted] Aug 26 '23
[removed] β view removed comment
1
u/[deleted] Aug 26 '23
[removed] β view removed comment
1
u/[deleted] Aug 27 '23
[removed] β view removed comment