Fooocus 2.1.0 Image Prompts (Midjourney Image Prompts) #557
Replies: 101 comments 140 replies
|
Awesome! |
|
cool! |
|
OMG! |
|
Using more images leads to worse result quality |
|
wow .... fooocus is getting better and better |
|
This looks like an incredible update! Could someone help me use it please? When I try to put an image in the image prompt and render I just get an error message: EDIT: It works fine if I select "PyraCanny" or "CPDS" but if I try to use "Image Prompt" is gives me that ValueError. |
|
hard to say ...for me works ok |
|
2.1.19: PyraCanny improved a bit |
|
@lllyasviel the new release is awesome. Is there anyways to do style blending like this? Or like what is done here: https://www.tensorflow.org/tutorials/generative/style_transfer I have tried the latest image prompt but couldn't get similar results. |
|
fixed some errors in CPDS in 2.1.24 |
|
The new features are so cool. The "Image Prompt" one seams a bit like "Revision". I'm enjoying the pose control we get from "PyraCanny" too! Very nice! Thank you for the sweet new features! |
|
Hint: you do not need to turn off "Fooocus V2" in most cases. "Fooocus V2" is handled in a different way than text prompts. You do not need to worry about unwanted texts are added to your prompts. |
|
What is the best model or method to make faces similar but not identical, like siblings (brother/sister)? Also, how can I maintain the same style and posture? |
|
please can you explain me the different use of "stop at" and "weight"? whic is the result on the final immage created? it's not clear, tnx |
|
sorry for the dumb question, but is there a way to run Fooocus 2.5 from colab? I noticed the warning "You are using gradio version 3.41.2, however version 4.44.1 is available, please upgrade." and I think that maybe I am using an old notebook. |
|
How I can configure (via Docker) fooocus to use the CPU? |
|
Broken image links in this guide. Guide still useful, but though you might want to know. |
|
Hello. I would like to thank each and every one of them for their work. He does great work. I have a request from you, please provide the possibility of outputting as vector or SVG. (If you have, can you tell me how to do it? I searched but I could not find it). Thank you very much again |
|
Hello, Great work, team! I would like to integrate this using an API—is this possible and permitted? I reviewed the Gradio API documentation included in the UI, but it seems a bit confusing. Could you please assist me? I also want to contribute in terms of development if possible. Thank you in advance! |
|
sir it shows this when i tried to collab RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx. am using macmini |
|
Is there a way to swap out faces within characters generated out based on various movie scenes and characters, but using a photo of a real person in place of the one within the character generated, what would be the best way to describe such a prompt within Foocus? |
|
So I am trying to get faceswap these images. I am trying to get the woman with the orange glasses her face onto the sleeping one. now its not working for me, I am getting the most random outcomes. I have tried alot of different settings and ways but I hope there is someone who knows how to do it and can explain it |
|
What should be the stop at and weight values if I want my 1st image to make the same pose as what is shown in 2nd image. Keeping the rest same. Only the pose of the model needs to be changed. |
|
hey how we can create uncenssored images in foocus colab |




































Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Fooocus 2.1.0 has completed the implementation of image prompts. Because after this version, almost all features of Midjourney are included, the version directly jump to 2.1.0.
Image Prompt is one of the most important feature of Midjourney. Below is the banner from Midjourney:
In Fooocus, it looks like this:
Technically, this feature is based on a mixture of IP-Adapter, and a pre-computed negative embedding from Fooocus team, an attention hacking algorithm from Fooocus team, and an adaptive balancing/weighting algorithm from Fooocus team.
The motivation of these efforts is to achieve a best match to the Midjourney Image Prompt. In other software like A1111/ComfyUI/InvokeAI, the IP-Adapter still has some open problems like ignoring text prompts, or over-burned results when multiple images are used. These problems are solved in Fooocus and users can enjoy Midjourney-like experience of Image Prompt.
The detailed differences are in the below table:
Using this method will download 2.5GB files at the first time!
Example: Single Image Prompt without Text Prompts
(Non-cherrypicked random batch, default parameters, real results should be better if tuned)
(seed 1234, here is the image)
(this example uses default style and Fooocus V2 style)
Example: Single Image Prompt with Text Prompts
Note that mixing text and IP-Adapter is extremely difficult in ComfyUI/A1111. Fooocus does not have this problem.
(Non-cherrypicked random batch, default parameters, real results should be better if tuned)
(this example uses default style and Fooocus V2 style)
Example: Multiple Images without Text Prompts
Note that mixing multiple IP-Adapters is likely to cause lower result quality in ComfyUI/A1111. Using Fooocus can resolve this to some extents.
(Non-cherrypicked random batch, default parameters, real results should be better if tuned)
(this example uses default style and Fooocus V2 style)
Example: Multiple Images with Text Prompts and Even Multiple Styles
This is almost impossible in A1111/ComfyUI since mixing text and IP-Adapter is extremely difficult in ComfyUI/A1111, and mixing multiple IP-Adapters is likely to cause lower result quality in ComfyUI/A1111.
(Non-cherrypicked random batch, default parameters, real results should be better if tuned)
This image is too complicated to understand so I annotated here:
So mixing too many things make it hard to recognize but everything is there and it does not fail or causing quality decerase, unlike ComfyUI/A1111/InvokeAI.
Fooocus Image Prompt (Advanced)
If you check “advanced”, you will be able to use two structure controls:
PyraCanny: A pyramid-based Canny edge control. The reason is that SDXL uses 1024px images and standard Canny tends to miss some image details from time to time, at such a high resolution. This method uses multiple resolutions to detect canny edges and then combine them softly, so that more structures are captured (than canny). The pyramid part is from “Edge Drawing: A combined real-time edge and segment detector”. You will download 350MB control models when using it.
CPDS: A structure extraction algorithm from “Contrast Preserving Decolorization (CPD)”. The “CPDS” means CPD Structure. The control model is modified by Fooocus team – it starts from SAI’s depth control-lora. The reason for using this method is for the fast speed and download-free preprocessor. Note that we only use the structure part of images, and it is not really “decolorization”. You will download 350MB control models when using it.
(Non-cherrypicked random batch, default parameters, real results should be better if tuned)
(this example uses default style and Fooocus V2 style)
(this example uses default style and Fooocus V2 style)
(this example uses default style and Fooocus V2 style)
For developers:
In Developer Debug Mode, you can mix the upscale/vary/inpaint with all above features if you know what you are doing and REALLY need it (the denoising strength can also be set in Developer mode). You can also get the preprocessor result by checking the “debug preprocessor”.
But keep in mind:
If you accidentally get satisfying results in Fooocus by tuning a lot of advanced parameters, you should try to copy your positive prompt, reopen Fooocus, do not change anything, and paste the prompt. You will find that results are even better, and all those tunings are unnecessary. (The only exception is probably changing base model in “Advanced”.)
All reactions