[Fooocus 2.1.822] Fooocus Inpaint or Outpaint (Midjourney Left/Right/Top/Bottom) #414
Replies: 40 comments 59 replies
-
hello, There's a trouble when I'm using the inpaint. I dragged a photo with a house, masked the wall and typed "battery storage on the wall". Then I clicked generate, it just stuck and the cmd just said image processing but without further more. |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
Fantasy! |
Beta Was this translation helpful? Give feedback.
-
Update 2.0.65: Fooocus now uses its own inpaint model for inpaint/outpaint. The model is 1.2GB and it will be downloaded in the first time you inpaint an image. |
Beta Was this translation helpful? Give feedback.
-
new version is broken on linux, complains cuda version is wrong. Going to try to install on windows. |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
Hello, I have not come into contact with Midjourney before, so the "arrow" mentioned in the above post confused me. Can you give a more detailed explanation? |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm having trouble with inpainting. Please note that my coding skills are almost zero. At the moment I'm trying to inpaint some areas masked in a previusly generated image, it seems that the code runs nominal, but at the very bottom it stops at a RuntimeError that I can't solve:
I hope some of you can help me! Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
Dear lllyasviel Inpainting, Outpainting and Upscaling is not working for me I am just getting error messge "connection errored out" and in the command box the number "1006" appears Why the folders like "embeddinggs', "inpaint", "style_,models" and others are empty I am getting following error message while loading Should I install any models in the above empty folders to make Outpainting and Upscaling work Please guide |
Beta Was this translation helpful? Give feedback.
-
This video explains why Fooocus' Outpainting area is blurry |
Beta Was this translation helpful? Give feedback.
-
when the picture width exceeds the maximum width of the preview box,cannot apply a mask that exceeds the part, |
Beta Was this translation helpful? Give feedback.
-
[Important] Fooocus Inpaint V2 Beta Test: #615 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
2023 Nov 19: |
Beta Was this translation helpful? Give feedback.
-
how can i use the api about Inpaint or Outpaint |
Beta Was this translation helpful? Give feedback.
-
Hello Fooocus community. Hope everyone is having a safe, happy festive season. I'm writing a comic book, continuity is very important. So I rendrered my protagonist on a white background, and rendered his office. I'm trying to place the character in the office and hopefully get the renderer to render the correct angle of the office according to the action. It either gives me something completely different or a jumbled pixelated mess. I've tried unsuccessfully all the different options of Image Prompt and Input or Output Paint. Obvsiously visual continuity is very important in any story telling so I'd really appreciate any and all help here. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Hi, I will work on 4 styles for subjects on green, blue, white and black backgrounds. I will offer them to Illyas if he is interested. |
Beta Was this translation helpful? Give feedback.
-
Will the object removal model be released? Current inpaint model is not good at removing object. |
Beta Was this translation helpful? Give feedback.
-
I am also struggling to create a background for an input image with a white background. |
Beta Was this translation helpful? Give feedback.
-
trying to generate clothes, by modifying content, but it is always generating green cloth... why green? is it the color of the mask for inpaint? |
Beta Was this translation helpful? Give feedback.
-
Hi, how can I insert an object into a picture, for example, I have a chair and an interior, and this chair needs to be inserted into my interior, is this possible? |
Beta Was this translation helpful? Give feedback.
-
fooocus version: Google Colab public GPU server |
Beta Was this translation helpful? Give feedback.
-
I have a problem when I draw a mask and set the message to "detailed girl face" instead of fixing the face, it makes me a whole new face of a detailed girl, any idea? |
Beta Was this translation helpful? Give feedback.
-
Hello. |
Beta Was this translation helpful? Give feedback.
-
Hello. I want to share an idea to add a feature to the Focus that will favorably distinguish it from the "competitors". I would call this function "replacement". In one window, there is an image in which replacements will be made. This image marks the fragment that needs to be changed by design. An image is placed in another window, and the fragment that will be replaced is marked on it. Suppose we are not satisfied with the hand (face, items of clothing, objects), but there is another image in which the hand (face, items of clothing, objects) is exactly what we would like to receive. We highlight the "bad hand" in one image, highlight the "good hand" on the donor. Instead of taking a long time to select the necessary product, we simply demonstrate the required change. I'm sure the Focus is capable of more. |
Beta Was this translation helpful? Give feedback.
-
How to fix hands and fingers? I generated a female model that is laying on the sun bed, everything is great, but the fingers on her hand and toes are incorrect ( |
Beta Was this translation helpful? Give feedback.
-
Anyone knows how to avoid the object editing during changing background? |
Beta Was this translation helpful? Give feedback.
-
Hello there could you explain me how to change shapes and colors of the hairs of a woman the best way possible? Thank you |
Beta Was this translation helpful? Give feedback.
-
were you saying we can drag and drop or that you would like to see the feature? because for me dragging and dropping from a result back to a source window does not work. OS: fedora linux |
Beta Was this translation helpful? Give feedback.
-
(Last Update, 2023 Nov 19)
Fooocus 2.1.822 added inpaint and outpaint similar to Midjourney’s “left/right/top/bottom” arrows:
In Fooocus it looks like this:
This “Fooocus Inpaint” is not only a user-friendly UI but also an algorithm production. Fooocus uses its own algorithm DPMPP Fooocus inpaint, and also uses Fooocus's own control model to minimized the influence to the style of base models. The method is partially inspired by Diffusion-based semantic image editing with mask guidance.
In the entire open source community of SDXL, the Fooocus is the only software that allows you to use control-model-based inpaint with arbitary base models.
Note that this method, in general, expects processing generated images with unchanged or minorly changed prompts. We encourage users to drag image like this:
Inpaint Example
Outpaint Example
Use the pan to outpaint:
Advanced: Detail Fix (face, hand, eyes, ...)
From time to time, you may get images like this:
Everything is perfect, but the eyes / faces are just annoying:
Now you can fix details like this:
Note that this interface also allows you to add some prompts just for this inpaint pass. If you are too lazy, you can also use the shortcuts here:
and you get result like these
Another example:
before:
after:
Advanced: Add New Objects / Change Background
You can always add new objects just using default setting. But if the modification is too large, a better idea is to use
For example:
Change Background:
This "modification" mode will completely ignore original content and is good at handling images with solid color backgrounds like
Very Advanced: Multiple-pass inpaint
You can first use general inpaint to get the image, drag the image to inpaint input again, and then change the mode to "Improve Detail" and then inpaint again. In this way you will get extremely high quality result. (Improve Detail can be used to improve details of anything, not only faces or hands).
Beta Was this translation helpful? Give feedback.
All reactions