ComfyUI Product Photography Inpainting workflow

  Рет қаралды 4,431

PixelEasel

PixelEasel

Күн бұрын

Comfy-UI Inpainting workflow for product photograohs
how to take a pack-shot of a real product
and build around it an environment that reacts to it, whether it is with shadow, lighting, reflection or anything else
We will use an IP Adapter V2 if we want to upload an image as a reference
and with ControlNet to maintain the same composition and proportions
well use segment anything to disconnect the product from the original background, and we will composite everything together with the help of Lama remove object node and image composite masked node
#comfyui #stablediffusion #ipadapter #mask #controlnet #segment
follow me @ / pixeleasel
workflow
drive.google.com/file/d/1xXQD...
Segment anything
github.com/storyicon/comfyui_...
lama object removal
github.com/sipherxyz/comfyui-...
juggernaut model
civitai.com/models/133005/jug...
IP-Adapter GitHub
github.com/cubiq/ComfyUI_IPAd...
Prompt Styler SDXL
github.com/twri/sdxl_prompt_s...

Пікірлер: 33
@WiLDeveD
@WiLDeveD 5 күн бұрын
Thanks bro. very useful content. Please talk more about product involved work flows.
@PixelEasel
@PixelEasel 4 күн бұрын
thanks! i will!
@aimademerich
@aimademerich Ай бұрын
THANK YOU!!! After A year of this amazing tool, finally someone goes beyond and provides some real practical use cases products!!! GOAT
@PixelEasel
@PixelEasel Ай бұрын
thanks !! glad you find it useful!
@knightride9635
@knightride9635 Ай бұрын
Thank you for sharing the workflow, very interesting
@PixelEasel
@PixelEasel Ай бұрын
thank for sharing your thoughts 😇
@yvrary
@yvrary Ай бұрын
bro this is such a gem account, pls pls pls do more of this but indepth tutorial
@PixelEasel
@PixelEasel Ай бұрын
thanks!!!
@renwar_G
@renwar_G Ай бұрын
LEGEND 💎
@PixelEasel
@PixelEasel Ай бұрын
thanks !!!😊
@BoomBillion
@BoomBillion 7 күн бұрын
How do you create the different backgrounds using the reference image? What changes do I need to make to the workflow?
@PixelEasel
@PixelEasel 6 күн бұрын
just activate the ipadapter group and you can use a reference image
@MerlinStark-ig5lt
@MerlinStark-ig5lt 11 күн бұрын
Hey, great video! I am relatively new to comfyui. When i load the workflow there comes an error showing me missing nodes in red. Do I have to download them all manually or is there an easier way for that? :)
@PixelEasel
@PixelEasel 11 күн бұрын
thanks! you can use the manager to install missing nodes
@guillaumewalle
@guillaumewalle Ай бұрын
wow.. i've to test that incredible workflow edit: excuse me, what model should i put in the clip vision for the IP adapter ? i've error when trying using it. otherwise it's crazy !
@PixelEasel
@PixelEasel Ай бұрын
thanks! nice to hear!!! you need the model for the 1.5 sd. Also, it's sdxl
@ai-diary99
@ai-diary99 Ай бұрын
thank you for sharing but on my computer the LaMa Remove Object node not work , do you know how to fix it ? it report err as :Error occurred when executing LaMaInpaint: File "L:\comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "L:\comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "L:\comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "L:\comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture\modules\inpaint\lama\__init__.py", line 85, in lama_inpaint model = load_model() ^^^^^^^^^^^^ File "L:\comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture\modules\inpaint\lama\__init__.py", line 53, in load_model lama = load_checkpoint(cfg, files[0], strict=False, map_location="cpu") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "L:\comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture\modules\inpaint\lama\saicinpainting\training\trainers\__init__.py", line 29, in load_checkpoint model.load_state_dict(state["state_dict"], strict=strict) ~~~~~^^^^^^^^^^^^^^ File "L:\comfyui\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\jit\_script.py", line 874, in __getitem__ return self.forward_magic_method("__getitem__", idx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "L:\comfyui\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\jit\_script.py", line 867, in forward_magic_method raise NotImplementedError()
@pvilyou6420
@pvilyou6420 Ай бұрын
I have same error, any fix it bro?
@PixelEasel
@PixelEasel Ай бұрын
try to update comfy. and check if you download the lama model
@ai-diary99
@ai-diary99 Ай бұрын
after update comfy ui and this extension,problem still there, i don't know how to download lama model and put where.
@user-wl1nd3vz8t
@user-wl1nd3vz8t Ай бұрын
@@ai-diary99 ++++
@user-ub8zn9sk5w
@user-ub8zn9sk5w Ай бұрын
Same error. Does anyone know how to download Lama model? Because of my low knowledge, I didn't figure out how to install it from the link in the description.
@yunongj2487
@yunongj2487 Ай бұрын
Thank you for sharing. This is very impressive🤯! I am new to Comfyui and SD. So far I have got most function goups works, but saw a error in composite group while LaMa remove object run "Error occurred when executing LaMaInpaint: The size of tensor a (600) must match the size of tensor b (2400) at non-singleton dimension 3". Checked customs node and models, everything looks fine. Any sugguestion or quick tensor match feature could be used? Many thanks!
@PixelEasel
@PixelEasel Ай бұрын
try to use different resize node
@yunongj2487
@yunongj2487 Ай бұрын
@@PixelEasel Many thanks! It works perfect!
@101worlds
@101worlds Ай бұрын
Excuse me, How to create a black mask without white areas inside ?(to make the black more solid). First, I have already removed the background of the main object (such as a cake) and uploaded the image, but the generated mask is not clean (there are white dots inside the black) how to make white dots disappear? thank you!
@PixelEasel
@PixelEasel Ай бұрын
you can try playing with the threshold, or using stronger model (in segment anything)
@chrisgames1831
@chrisgames1831 Ай бұрын
Hey bro amazing work. I tried it but it doesnt create the background, it gives me just a grey background. Also (this is probably something wrong with my software, but if you know how to solve it) after loading the workflow and generating 1 image, if I try to generate a second one it says that its running on another tab but it isn't.
@PixelEasel
@PixelEasel Ай бұрын
thanks! sorry, but I don't know how can I help
@chrisgames1831
@chrisgames1831 Ай бұрын
@@PixelEasel Alright, thanks anyway 👍
@lisandroancewicz7821
@lisandroancewicz7821 Ай бұрын
it shows this error and I installed all of the models I find with that name: raise Exception("Missing CLIPVision model.")
@PixelEasel
@PixelEasel Ай бұрын
make sure that put it in the right folder. I needed to move the old ipadapter models to a new folder for the new version to work I think I explained it in this video kzbin.info/www/bejne/j2bRqamjZct3brcsi=ohrmR-x9Uhpbh-Ck
Creating 62 Product Photos in Just 3 DAYS
14:31
Skyler Burt
Рет қаралды 17 М.
ELE QUEBROU A TAÇA DE FUTEBOL
00:45
Matheus Kriwat
Рет қаралды 9 МЛН
I PEELED OFF THE CARDBOARD WATERMELON!#asmr
00:56
HAYATAKU はやたく
Рет қаралды 38 МЛН
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 112 МЛН
Разбудила маму🙀@KOTVITSKY TG:👉🏼great_hustle
00:11
МишАня
Рет қаралды 3,9 МЛН
Wear Anything Anywhere using IPAdapter V2 (ComfyUI Tutorial)
5:38
41 Midjourney Tips for Beginners (Short Version)
8:29
Future Tech Pilot
Рет қаралды 13 М.
Clothing Factory and Clothing Ad Workflows for ComfyUI!
21:34
BIG Midjourney Update - CONSISTENT CHARACTERS
11:29
Future Tech Pilot
Рет қаралды 82 М.
ELE QUEBROU A TAÇA DE FUTEBOL
00:45
Matheus Kriwat
Рет қаралды 9 МЛН