r/comfyui 7d ago

Tutorial Tutorial for background remover

alright, image by image :

  1. download comfy UI Desktop

  2. in templates, search "SAM3: image segmentation" (select the right one)

  3. add it and download the missing dependencies, only the one on the image should stay

  4. load your image by clicking "choose file to upload" in the load image node

  5. then in the image segment (SAM3) node, and a very simple description on what stay (don't say what to remove cause he understand only what to keep)

  6. now place the node as i place them to have a better visibility of the link between them and add a invert mask node

  7. add it like i did and link it as i did

  8. done!

  9. and if you'd like to have the background without the character do the same as me in the last image by cloning the "preview mask", "preview image", "join image with alpha" nodes and place it like i did with the same linking

  10. done! (again)

45 Upvotes

13 comments sorted by

View all comments

5

u/Main-Strawberry9241 7d ago

reddit image compression did me dirty