Comfyui remove background reddit I find it to be pretty effective. Rembg Background Removal Node for ComfyUI- you can choose which onnx model to use! Many thanks to the author of rembg-comfyui-node for his very nice work, this is a very useful tool! But I found something that could refresh this project to better results with better maneuverability! Product Photo relighting workflow - Start from a existing picture or generate a product, segment the subject via SAM, generate a new background, relight the picture, keep finer details r/StableDiffusion • Oh wait, yes I know ComfyUI saves the whole workflow and values as JSON in the image. img2img with Low Denoise: this is the simplest solution, but unfortunately doesn't work b/c significant subject and background detail is lost in the encode Welcome to the unofficial ComfyUI subreddit. and i run into an issue with one nod comfyui-mixlab-nodes the node pack is installed but cannot load clipseg it says: When loading shome graph that used CLIPseg, it shows the following node types were not found: comfyui-mixlab-nodes [WIP] 🔗 Where ever you launch ComfyUI from, python main. Uh, your seed is set to random on the first sampler. If you remove the . This way you automate the background removing on video. Getting it to consistently identify arms and legs up to the specific point you need, regardless of source images, is asking a lot more than what it can consistently do. 2. The easiest way would be to replace the background and replace it with a different image with the style I want yet I wanted to do that in one go in comfyUi because the fusion would be interesting if it's in one go. Experimenting with replacing a background on an object. In photoshop I would just select color range, eyedrop the color, select fuzzy range and it would remove it completely. py. Inpaint, but I'd suggest using the txt2mask script to get a clean mask. Learn how to install and use the "easy imageRemBg" node in ComfyUI. A lot of people are just discovering this technology, and want to show off what they created. There are quite a few ways to create a mask automatically, like cocosegsem, Sam dectection, Dino, etc I don't think stable diffusion models can output images with an alpha channel (the transparent 'layer'). OR you can remove images with backgrounds that are very similar to each other. the reason you're getting mostly the same result is imo, becuase animated images have a hard time adding detail esp in the background naturally, that may also explain the washed out look, but mainly if you're looking to add more detail, try latent upscaling, NNLatentUpscale uses a neural network and its insanely fast, then you just have to Jan 10, 2025 · If you prefer using a ComfyUI service, Think Diffusion offers our readers an extra 20% credit. 24] Contributed by carpedm20; blur will blur the background. and i run into an issue with one nod comfyui-mixlab-nodes the node pack is installed but cannot load clipseg it says: When loading shome graph that used CLIPseg, it shows the following node types were not found: comfyui-mixlab-nodes [WIP] 🔗 Welcome to the unofficial ComfyUI subreddit. Here is the Github for it: https://github. Please keep posted images SFW. And now you can add https://github. My goal is to create the portrait and remove the background without having to adjust the threshold for each image. And above all, BE NICE. Basically just one click if you know your way around Photoshop. If you want achieve perfect background removal make sure the video has a clear difference from the targeted work to background. I also had issues with this workflow with unusually-sized images. 05. For my task, I'm copy-and-pasting a subject image (transparent png) into a background, but then I want to do something to make it look like the subject was naturally in the background. Please use with single quotes. But to do this you need an background that is stable (dancing room, wall, gym, etc. 24] Contributed by carpedm20 '[255, 0, 0]' will change the background with color code [255, 0, 0]. I'll list several approaches I've tried to do it, in case they're helpful for anyone in the future. You can either try to train with fewer steps, and likely get a poor character training. This works pretty well but sometimes the clothing of the person and the background are too similar and the rembg node also removes a chunk of the person. Mar 19, 2025 · Inspyrenet: A deep learning-based background removal model suitable for complex scenes. 4, RMBG-2. Segment Anything is limited by how it can identify the different parts of an image. This title of (without masking) is dumb, your clearly using BRIA RMBG to remove the background of the character image and it does that by creating a mask. INTRO. But, I'm also looking for some help figuring out how to mask the area just around the subject, as I think that'll have the best results. png file, selecting only the area within the mask while making the other parts transparent. Using SAM or Rembg, you can cut out objects, but what is underneath them? Yes, an abyss is spreading😏 When you actually draw a Welcome to the unofficial ComfyUI subreddit. Its kind of workable if the bg is a plain color and homogenous but it fails when asked to work image with more complex backgrounds. Jan 10, 2025 · In this tutorial, I will show you how to remove the background of an image in ComfyUI. These models are designed to remove the background from images, generating transparent-background images and their corresponding masks. I mean, having to remove backgrounds in generated images is a bad solution in general, but rembg especially tends to perform poorly. Try the remove background toggle and adjust tone and tint to your image for better results. I'm trying to do something very simple: changing the background of an image. /r/StableDiffusion is back open after the protest of Reddit killing open API access, which will bankrupt app developers, hamper moderation, and exclude blind users from the site. Things get difficult if your inpainting deviates far from the base image with either completely new objects or different color or illumination. I'm using ComfyUI portable and had to install it into the embedded Python install. component onto your stage and it should load the workflow, which you can inspect/modify as you please and re-export when satisfied. I'm using a custom node of "Image Rembg" to remove the background which in the image preview shows the background is transparent. Also, if this is new and exciting to you, feel free to post Welcome to the unofficial ComfyUI subreddit. The rembg-comfyui-node-better extension is a powerful tool designed to help AI artists remove backgrounds from images seamlessly within the ComfyUI environment. Please share your tips, tricks, and workflows for using this… My only current issue is as follows. The obvious solution is to simply make a mask based on the brightness of the image and the darkest area will be the background, but this looks bad. The goal of this tutorial is to give an overview of a method I'm working on to simplify the process of creating manga, or comics. com/yolain/ComfyUI-Easy-Use. But hear me out, that's not enough at all. I've tested a lot of different AI rembg methods (BRIA - U2Net - IsNet - SAM - OPEN RMBG, ) but in all of my tests InSPyReNet was always ON A WHOLE DIFFERENT LEVEL! You can experiment with different seeds on the inpainting samplers until you get the exact right inpaint. Anyway, thanks for sharing, I'll go play with them now. Belittling their efforts will get you banned. Take the ComfyUI course to learn how to use ComfyUI step by step. Going off memory! I always get this slight green colour in the background. Please share your tips, tricks, and workflows for using this software to create your AI art. . Import Model -> select your obj file. You will need to launch comfyUI with this option each time, so modify your bat file or launch script. 2) The edges are very bad. I've tested a lot of different AI rembg methods (BRIA - U2Net - IsNet - SAM - OPEN RMBG, ) but in all of my tests InSPyReNet was always ON A WHOLE DIFFERENT LEVEL! We would like to show you a description here but the site won’t allow us. 0, Inspyrenet, and BEN2) for optimal results. Damn almost there I pull out a Remove Background node and Image Bound node from WAS, but the WAS Remove BG one can't output the mask that's where I stop. Created by: nomadoor: This workflow allows you to load an image and remove something from it. Combine it using what's described here and/or here, which involves using input images, masks, and IPAdapter. This is a comfy UI implementation of my original tutorial for using mosaic tiles to expand an image and create wallpapers. ComfyUI node suite for composition, stream webcams or media files in and out, animation, flow control, making masks, shapes and textures like Houdini and Substance Designer, read MIDI devices. Although that's also only necessary because of the suboptimal solution of having to remove backgrounds. It’d be a bit different of a process. The composite node is included with Comfy, there are others out there. Where ever you launch ComfyUI from, python main. I've also used comfyui to do a style transfer to videos and images with our brand style. Grab the ComfyUI workflow JSON here. BEN2: Another efficient background removal model, ideal for images with rich details. If I would create the jungle alone, there would not be a suitable place for placing the girl. Going to python_embedded and using python -m pip install compel got the nodes working. I thought one solution would be to remove the background of the video using something like rembg. Intro 3 method to remove background in ComfyUI,include workflows. You can also easily upload & share your own ComfyUI workflows, so that others can build on top of them! :) Why I built this: I just started learning ComfyUI, and really like how it saves the workflow info within each image it generates. We will use ComfyUI, an alternative to AUTOMATIC1111. Read the ComfyUI beginner’s guide if you are new to ComfyUI. will now need to become python main. Rembg Background Removal Node for ComfyUI- you can choose which onnx model to use! Many thanks to the author of rembg-comfyui-node for his very nice work, this is a very useful tool! But I found something that could refresh this project to better results with better maneuverability! Successfully removed the background from an image and turned a suitcase into a mask but the background I want is being applied to the suitcase as a texture. Using automatic-inpainting, I remove the girl. white will change the background with white color. We are sound for picture - the subreddit for post sound in Games, TV / Television , Film, Broadcast, and other types of production. The reason for creating also the figure: I only want backgrounds that have a place where my figure can be. i am trying to use this workflow Easy Theme Photo 简易主题摄影 | ComfyUI Workflow | OpenArt. 18K subscribers in the comfyui community. Drop those aliases in ComfyUI > models > controlnet and remove the any text and spaces after the pth and yaml files (Remove 'alias' with the preceding space) and voila! Hope this saves someone time. As you can see his little grin has disappeared and his face is not the same. Repeat the two previous steps for all characters. Jun 14, 2024 · green will change the background with green screen. Highlight all your Controlnet models in your A111 extensions directory and make aliases of them. If there are female faces in the background that you want to ignore, then you could prompt "foreground female face" or use a Remove Background node before segmenting. So txt2mask prompt something like "white background", then your main prompt describes the entire image including the desired background. I have a folder of photos that I want to remove the green screen on, and replace with a background I have made. Remove light, camera and block. The only other choice would be to generate backgrounds with no characters in them, and replace backgrounds in a photo manipulation program like photoshop. Automated SD install, or bring-your-own-ComfyUI Work at any resolution, will generate at native SD resolution and upscale/downscale to fit Queue and history, preview results and apply them as layers I played around with the ReFocus and got interesting results when alternating between a) run Refocus in extras, send it to img2img b) use controlnet canny and/or depth, set positive and negative prompt "detailed textures, 8k, absurdres, ultrasharp" Neg: "blurry, depth of field, out of focus" and rerender with high enough denoising that the blurring goes away. Generate one character at a time and remove the background with Rembg Background Removal Node for ComfyUI. i think, its hard to tell what you think is wrong. Feb 5, 2025 · ComfyUI Node: Remove Background ♾️Mixlab Class Name RembgNode_Mix Category ♾️Mixlab/Mask. About A Anime Background Remover node for comfyui Welcome to the unofficial ComfyUI subreddit. Master AUTOMATIC1111/ComfyUI/Forge quickly step-by-step. Generate a fitting background. This workflow needs a bunch of custom nodes and models that are a pain to track down: I'm using reActor but it keeps putting faces on characters in the background. That's it. Create a "Remove Image Background (ABG)" node, and connect the image to input, and it would remove the image's background. So, I've masked the background and generated the image but I've 2 problems: also what's outside the mask changed (so the guy in the foreground). ComfyUI only saves data available during queuing of the prompt, while useful, these data are not absolute and in many cases won't be able to generate the same image again. -> [2023. To make it easier, I just add to the prompt 'on a white background' and then bring it into a photo editing app to remove the color range or use a remove background option. json extension from the file, you can drag the . I could do this with a Photoshop action, but I have Elements, not full PS, so I can't CREATE a custom action :( Does anyone have a workflow for removing a green screen and swapping out the background to the same background? We would like to show you a description here but the site won’t allow us. ComfyUI node for background removal, implementing InSPyReNet. and no workflow metadata will be saved in any image. Search manager for: ComfyUI-Easy-Use. I've tested a lot of different AI rembg methods (BRIA - U2Net - IsNet - SAM - OPEN RMBG, ) but in all of my tests InSPyReNet was always ON A WHOLE DIFFERENT LEVEL! Mar 19, 2025 · Remove image backgrounds with ease! Discover a workflow using multiple models (RMBG-1. Mar 14, 2025 · To get BEN2 and BiRefNet-HR, you’ll just need to pass an image through the Remove Background node once, and it’ll download automatically to the comfyui > models > rmbg directory: The workflow Is there any way to remove the background and make it transparent using a mask? I want to remove the background with a mask and then save it to my computer as a . Our goal is to help Redditors get answers to questions about Fidelity products and services, money movement, transfers, trading and more. The Detail Transfer node in ComfyUI is designed to transfer important subject details from one image to another, and it’s the key to preserving textures, edges, and other intricate features I'm trying to place a subject that I have an image of into a background that I have an image of. concentrating only on the perfect background. py --disable-metadata. If it's just a white background, it's still a great tool because it makes it MUCH easier to remove the background. Tried RemBG, but it does a very poor job of extracting images from their backgrounds. Go to Edit mode and select all -> by pressing "A" Everything will turn yellow as it will select all the polygons -> Press "U" and choose Unwrap -> Go back to object mode We would like to show you a description here but the site won’t allow us. LINK TO THE WORKFLOW IMAGE. If you add upscaling after with a low denoise it will remove the barely noticeable halo effect on these (this was 5 minutes of work just to get the information across, obviously more care in the mask, sampler selection, etc etc, would yield You can either try to train with fewer steps, and likely get a poor character training. Welcome to the unofficial ComfyUI subreddit. Mar 27, 2025 · Image Rembg (Remove Background): The Image Rembg (Remove Background) node is designed to help you effortlessly remove the background from images, making it an essential tool for AI artists who want to isolate subjects or create transparent backgrounds. We would like to show you a description here but the site won’t allow us. Account settings, and you will see the option to turn off safe mode. See the Quick Start Guide if you are new to AI images and videos. So I thought I could generate the images with a green screen background. Let say a girl in a blue dress in a jungle. ) to achieve good results without little to no background noise. I know I can take my mask and video into AE but it would be nice if I could do it all in comfyui and have it be one part of a larger worflow. But basically if you are doing manual inpainting make sure that the sampler producing your inpainting image is set to fixed that way it does inpainting on the same image you use for masking. While I'd personally like to generate rough sketches that I can use for a frame of reference when later drawing, we will work on creating full images that you could use to create entire working pages. Might need to do MaskToSegs or something to feed it into FaceDetailer. Author shadowcz007 (Account age: 3599days) Extension I've used Comfyui to rotoscope the actor and modify the background to look like a different style living room, so it doesn't look like we're shooting the same location for every video. 2nd image is an example of my desired results using photoshop manually. I'm then Image Load Image Rembg - removal of the background VAE Encode - encoding for insertion into the KSampler I'd love to be able to then use the generated black and white mask, apply it to my video clip to make everything but the subject transparent, and then combine it with another background image. Component Explanation Remove 3/4 stick figures in the pose image. As an official Fidelity customer care channel, our community is the best way to get help on Reddit with your questions about investing with Fidelity – directly from Fidelity Associates. Apr 15, 2025 · The Image Remove Bg is part of the Easy-use suite of nodes(there are many useful nodes in this suite). I want to completely remove that green colour and make it transparent. Yeah, rembg kind of sucks. I tried looking for a way to select the face I want swapped but couldn't find any relevant settings. It could be a tree, it could be a person, it could be just about anything. I want to create an image of a character in 3D/photorealistic while having the background in painting style. Period. YOU CAN REMOVE THE NSFW FILTER BY FOLLOWING THESE STEPS: Enter you profile - the one on the right through your icon and them selecting membership. When you write the prompt, include things like white_background or simple_background and adjust with weighting as needed can help encourage good contrasting silhouettes that removebg will have an easy time working with. You can use it on Windows, Mac, or Google Colab. You may need to toggle a setting in manager to be able to load components; I can't remember the name of the setting but it's in the documentation I . Although the goal is to create wallpapers, it can really be used to expand anything, in any direction, by any amount. The app will then fill the empty area with appropriate content to merge with the background. When I save my final PNG image out of ComfyUI, it automatically includes my ComfyUI data/prompts, etc, so that any image made from it, when dragged back into Comfy, sets ComfyUI back up with all the prompts, and data just like the moment I originally created the original image. Take out the guesswork. There are places in the video where the object begins to “dissolve” and fade into black. But really it would be amazing if it was actually possible to directly generate PNG images to use in anything from web design to game design This ComfyUI workflow lets you remove backgrounds or replace backgrounds which is a must for anyone wanting to enhance their products by either removing a background or replacing the background with something new. ComfyFlow: From comfyui workflow to webapp, in seconds. Download & drop any image from the website into ComfyUI, and ComfyUI will load that image's entire workflow. Sep 12, 2024 · Rembg Background Removal Node for ComfyUI (Better) Introduction. I'm trying to get the suitcase to appear in the Christmas room. com/huchenlei/ComfyUI-layerdiffusion to your arsenal! My current fav at the moment, image segmentation from the Allor plugin pack. * Dialog / Dialogue Editing * ADR * Sound Effects / SFX * Foley * Ambience / Backgrounds * Music for picture / Soundtracks / Score * Sound Design * Re-Recording / Mix * Layback * and more Audio-Post Audio Post Editors Sync Sound Pro Tools ProTools De-Noise DeNoise Jan 8, 2025 · Restoring the fine details of the subject after background removal is an essential step to ensure the subject seamlessly blends into the new environment. It generally works pretty good. Good point on the layering-integration with img2img. bnfykhwzeeoadxkeebrpfafdiunvcprqzsvijbvmiwbzexctit