Change Background ++ (Redraw background, clothes, hair, face…and Generate foregrounds)

5.0

4 reviews
576
121.4K
39.7K
236
Description

多功能换背景工作流(更新V329版本):

1、根据提示词或参考图为照片主体(人、动物、产品等)生成背景;

2、局部重绘功能,例如换衣服、换发型、替换物品等等;

3、提供了脸部修复、手部修复及换脸功能;

4、可通过MaskEditor绘制蒙版生成前景;

5、可选择蒙版以及深度图的生成方式,以及调节全局的ControlNet、IPAdapter以及Mask的影响力;


请切换成英文语言再加载工作流,否则很多节点的中文标题会丢失。


版本更新:

(1031) 主要增加了蒙版编辑群组,有三种方式可以选择,分别是自动抠取背景、通过语义分割获取蒙版以及上传自定义蒙版。通过语义分割节点可以获取局部区域蒙版,实现换服装、发型、物品等等操作。另外增加了使用Flux GGUF模型对重绘区域进一步优化的流程,以及微调了一下操作界面。



(1016) 更新了节点版本。原来的手部修复群组更换成使用Flux GGUF模型来进行修复。

(1004) 重新调整了界面布局,对深度图、高清放大功能进行了优化。

(0803) 使用了IPAdapter Plus新加入的ClipVision Enhancer节点,可以获取更好的背景细节。另外增加了一些效率节点以及调整了一些参数设置。去掉了IC-Light部分,可以另外使用Change Light工作流进行打光。

(0610) 还原细节功能改成复原主体,复原主体后可继续对脸部和手部进行修复。抠图节点替换成BiRefNet,效果很棒!

(0609) 修复偶尔出现边框的问题,提升背景生成效果。

(0607) 增加还原主体细节节点(需要时启用)

(0606) 主要优化了前景生成效果

(0604) 稍微调整了下界面布局,替换了一些节点以及增加了几个控制器

(0602) 优化IC-Light打光,提供了原图色彩迁移功能开关,可以还原原本的色彩


Multi-function background change workflow update V328 version:


  • Generate backgrounds for the subjects of photos, such as people, animals, and products, based on the prompt words or reference images;


  • Local redrawing function, such as changing clothes, hairstyle, replacing items, etc;


  • Provides functions such as face repair, hand repair, and face replacement;


  • The foreground can be generated by drawing a mask with MaskEditor;


  • You can choose the generation method of the mask and depth map, and adjust the influence of the global ControlNet, IPAdapter, and Mask;


Version update:


(1031) The main addition is the mask editing group, which has three options: automatic background extraction, semantic segmentation for mask acquisition, and uploading custom masks. Through the semantic segmentation node, it is possible to obtain local area masks to achieve operations such as changing clothing, hairstyles, and items. In addition, the process of further optimizing the redrawing area using the Flux GGUF model has been added, and the user interface has been fine-tuned.


(1016) updated the node version. The original hand repair group was replaced with the Flux GGUF model for repair.


(1004) The interface layout has been restructured, and the depth map and high-definition zoom-in features have been optimized.


(0803) The ClipVision Enhancer node, newly added to the IPAdapter Plus, is used to obtain better background details. In addition, some efficiency nodes have been added and some parameter settings have been adjusted. The IC-Light part has been removed, and you can use the Change Light workflow for lighting separately.


(0610) The function of restoring details has been changed to restoring the main body, which can continue to repair the face and hands after restoration. The image-based node is replaced with BiRefNet, and the effect is great!


(0609) Fixed the occasional problem of borders, and improved the background generation effect.


(0607) Enable when adding the restore subject detail node is required


(0606) Mainly optimized the foreground generation effect


(0604) Slightly adjusted the interface layout, replaced some nodes and added several controllers


(0602) Optimize IC-Light lighting, provide a switch for original color transfer function, which can restore the original color


由于工作流不断地更新迭代,操作界面与目前的教程视频里展示的差异较大,因此教程视频仅作为参考。

Due to the continuous update and iteration of the workflow, the operation interface is quite different from the current tutorial video, so the tutorial video is only used as a reference.


How-to video (V3 version)


https://youtu.be/42b5DBCzPX0?si=zy1Jz7ExuF9hgITf

https://www.bilibili.com/video/BV1MU411o7et/?vd_source=c52b6f7c72230aea1ae80463f968691a



How-to video (V2 version)


https://www.bilibili.com/video/BV1Cx4y167fc/?vd_source=c52b6f7c72230aea1ae80463f968691a

https://www.youtube.com/watch?v=yubqVCOf3bo



Node Diagram
Discussion
P
Poco Quan8 months ago

I encountered the following error with the node IPAdapter ClipVision Enhancer

Error occurred when executing IPAdapterClipVisionEnhancer:

shape '[6, 6, 35, 35]' is invalid for input of size 46080

  File "/home/studio-lab-user/ComfyUI/execution.py", line 152, in 
recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
  File "/home/studio-lab-user/ComfyUI/execution.py", line 82, in 
get_output_data
    return_values = map_node_over_list(obj, input_data_all, 
obj.FUNCTION, allow_interrupt=True)
  File "/home/studio-lab-user/ComfyUI/execution.py", line 75, in 
map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
  File 
"/home/studio-lab-user/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus/IPAdapterPlus.py",
 line 822, in apply_ipadapter
    work_model, face_image = ipadapter_execute(work_model, 
ipadapter_model, clip_vision, **ipa_args)
  File 
"/home/studio-lab-user/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus/IPAdapterPlus.py",
 line 359, in ipadapter_execute
    img_cond_embeds = encode_image_masked(clipvision, image, 
batch_size=encode_batch_size, tiles=enhance_tiles, ratio=enhance_ratio, 
clipvision_size=clipvision_size)
  File 
"/home/studio-lab-user/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus/utils.py",
 line 263, in encode_image_masked
    embeds_split["image_embeds"] = 
merge_embeddings(embeds_split["image_embeds"], tiles)
  File 
"/home/studio-lab-user/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus/utils.py",
 line 224, in merge_embeddings
    reshaped = embeds.reshape(grid_size, grid_size, tile_size, 
tile_size)

Has anyone ever encountered this error before and can you please give me a solution?

(Edited)
C
Cường Lê Văn8 months ago

I downloaded the latest workflow but it is in Chinese (a bit difficult to use), can you upload the English version similar to the tutorial video?

C
Cường Lê Văn8 months ago

I can't find the "Switch on human verification" node

S
Selim Atadinç8 months ago

Looks like nice workflow and it is working! Thanks

But i couldn't get effectively results because i am beginner of comfy and there is a lot of chineese language in the workflow. Do you give private education for your workflow? I am working on my jewelry products and problem is product's shape and details are changin in output picture.. Here you can see  https://hizliresim.com/19g6c0s




(Edited)
L
LIOR ROITER8 months ago

Excellent..Works great.

I translated everything into English

Worked smooth with no problems

S
Selim Atadinç8 months ago

how did you translate?

D
David Mullen8 months ago

Probably the same way I did... by literally copying and pasting everything in to Google Translate one-by-one, then pasting the results back in.

It was EXTREMELY TEDIOUS lol

👍2
S
Selim Atadinç7 months ago

Yes we did by same way🤣 Importing background reference is very good function. Just product's details are changing in result image. Did you find the way for fix this?

🤣1
j
jante suvanne2 months ago

Can you put that english workflow here?

R
Robert Rioux8 months ago

I get his error

Error occurred when executing DWPreprocessor: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.

Thank you for sharing! I have a question: When drawing and masking the foreground by keyword, the foreground image produces inconsistent results with the reference background. Do you have any way to handle that problem? It's like creating an additional IPadapter reference method for the foreground mask

Thx Xiser for this workflow is awesome!

But i cant find ic-light panel in this workflow

where is it ?

S
Selim Atadinç8 months ago

Iclight is not inside this workflow you have to use iclight module seperately.. Are you working on product photography? If so Have you managed to preserve product details?

nope, not all detail save correct

N
Nam Hùng Lý7 months ago

please help me :(

Error occurred when executing SimpleMath+: invalid syntax (, line 0)

File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 316, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 191, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 168, in _map_node_over_list
process_inputs(input_dict, i)
File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 157, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_essentials\misc.py", line 75, in execute
result = eval_(ast.parse(value, mode='eval').body)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "ast.py", line 50, in parse

T
Thọ Võ Hữu7 months ago

(IMPORT FAILED) Comfyui-ergouzi-Nodes

https://stackoverflow.com/questions/37710205/python-embeddable-zip-install-tkinter

m
mm275137 months ago

I have same issue. tkinter installed, verified installation, but for some reason when starting comfyui I get error ModuleNotFoundError: No module named 'tkinter'

T
Tùng Còi7 months ago

xin chào tôi có thể sử dụng checkpoint và controlnet của sd1.5 được không hay bắt buộc là sdxl, cảm ơn bạn


H
Hải Nguyễn7 months ago

I am having this error, please help

Error occurred when executing Bounded Image Crop with Mask: index is out of bounds for dimension with size 0 File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 12223, in bounded_image_crop_with_mask rmin, rmax = torch.where(rows)[0][[0, -1]] ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^

束傲军7 months ago

BiRefNet-DIS_ep580.pth where download this

D
Dinky Hoang7 months ago

ccurred when executing IPAdapterUnifiedLoader:

IPAdapter model not found.

File "/Volumes/DinkyHoang/ComfyUI-master/execution.py", line 316, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Volumes/DinkyHoang/ComfyUI-master/execution.py", line 191, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Volumes/DinkyHoang/ComfyUI-master/execution.py", line 168, in _map_node_over_list
process_inputs(input_dict, i)
File "/Volumes/DinkyHoang/ComfyUI-master/execution.py", line 157, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Volumes/DinkyHoang/ComfyUI-master/custom_nodes/ComfyUI_IPAdapter_plus-main/IPAdapterPlus.py", line 573, in load_models
raise Exception("IPAdapter model not found.")

H
Huy Le7 months ago

Inbox bac oi

P
Pha Phạm4 months ago

bạn fĩ được lỗi này chưa ?

m
mc Z7 months ago

Error occurred when executing IPAdapterClipVisionEnhancer:


shape '[6, 6, 35, 35]' is invalid for input of size 46080


File "D:\SDAI\ComfyUI-aki-v1.3\execution.py", line 317, in execute

output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

File "D:\SDAI\ComfyUI-aki-v1.3\execution.py", line 192, in get_output_data

return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

File "D:\SDAI\ComfyUI-aki-v1.3\execution.py", line 169, in _map_node_over_list

process_inputs(input_dict, i)

File "D:\SDAI\ComfyUI-aki-v1.3\execution.py", line 158, in process_inputs

results.append(getattr(obj, func)(**inputs))

File "D:\SDAI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 790, in apply_ipadapter

work_model, face_image = ipadapter_execute(work_model, ipadapter_model, clip_vision, **ipa_args)

File "D:\SDAI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 336, in ipadapter_execute

img_cond_embeds = encode_image_masked(clipvision, image, batch_size=encode_batch_size, tiles=enhance_tiles, ratio=enhance_ratio, clipvision_size=clipvision_size)

File "D:\SDAI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_IPAdapter_plus\utils.py", line 259, in encode_image_masked

embeds_split["image_embeds"] = merge_embeddings(embeds_split["image_embeds"], tiles)

File "D:\SDAI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_IPAdapter_plus\utils.py", line 220, in merge_embeddings

reshaped = embeds.reshape(grid_size, grid_size, tile_size, tile_size)我不懂编程,怎么解决这个问题

l
leanh_342997 months ago

Can I ask why the character's face changes (not retaining its original features) when enabling the high-resolution upscaling mode? When I disable it, the issue goes away, thank you!

When loading the graph, the following node types were not found: easy bookmark

H
Huy Le7 months ago

Thiếu node đó bác. Inbox mình fix cho

👍1
H
Hoang Nhat7 months ago

inbox em với, tele:  https://t.me/s4ntiago11

L
Loi Hoai Giang7 months ago

Im dying with this error. can you help me pls, thank so much

 File "D:\test\ComfyUI_windows_portable\ComfyUI\execution.py", line 182, in <listcomp>

   output.append([x for o in results for x in o[i]])

                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

TypeError: 'ExecutionBlocker' object is not iterable


Prompt executed in 0.45 seconds

stopped at face-detailed node, "

FaceDetailer

'ExecutionBlocker' object is not iterable

H
Huy Le7 months ago

Tạo rồi chọn Mask thử công đi bác.

H
Hoang Nhat7 months ago

inbox em với, tele:  https://t.me/s4ntiago11

V
Vẹo Thắng7 months ago

Bác cho e zalo chỉ e cách fix được không bác ơi :( e gặp lỗi y như này luôn

08049458513


T
Tứn Đẹt7 months ago

Cannot execute because a node is missing the class_type property.: Node ID '#1895'

T
Tứn Đẹt7 months ago

how to fix this ??

H
Huy Le7 months ago

Gui zalo fix cho

M
Minh Vo7 months ago

0934561108 fix dùm mình với

M
Minh Vo7 months ago

Help me pls

When loading the graph, the following node types were not found: LayerColor: Brightness Contrast

X
Xiser6 months ago

The node is in the plugin at the following address, you can ask the author

https://github.com/chflame163/ComfyUI_LayerStyle

P
Pedro Quintanilla6 months ago

where do I download from and to which folder should I put BiRefNet-general-epoch_244.pth

s
sansanshishi6 months ago

需要解决工作流难题?找我,V:ailaohuyoukiss

How to fix this please:

Cannot execute because a node is missing the class_type property.: Node ID '#2004'

P
Pedro Quintanilla6 months ago

from where I download BiRefNet-general-epoch_244.pth

X
Xiser(OP)6 months ago

Here you can find:

The node is in the plugin at the following address, you can ask the author

P
Pedro Quintanilla6 months ago

I have installed the Birefnet node, layermask: load Birefnet model but it does not detect the model BiRefNet-general-epoch_244.pth and no other what can happen? I'm crazy with this and I'm almost seeing this problem almost all day I do not know how to solve.

X
Xiser6 months ago

BiRefNet-general-epoch_244.pth This file needs to be placed in the BiRefNet/pth directory,otherwise the node will not display the model

S
Shubz World6 months ago

https://github.com/ZhengPeng7/BiRefNet/releases


doenload and place in      YOURLOCATION\ComfyUI\models\BiRefNet\pth

❤️1
P
Pedro Quintanilla6 months ago

I have installed the Birefnet node, layermask: load Birefnet model but it does not detect the model BiRefNet-general-epoch_244.pth and no other what can happen? I'm crazy with this and I'm almost seeing this problem almost all day I do not know how to solve.

A
Apem Mentul6 months ago

i got same error, did you get any solution about this?

X
Xiser6 months ago

BiRefNet-general-epoch_244.pth This file needs to be placed in the BiRefNet/pth directory

V
Vovan Vampir6 months ago

Could you please tell me which models need to be installed to work correctly?

X
Xiser6 months ago

Oh~ There are too many models. In fact, you can solve the problem by looking at the nodes used and reading the GitHub documentation corresponding to the nodes.

A
Apem Mentul6 months ago

error BiRefNet-general-epoch_244.pth does not detect, please advice

X
Xiser6 months ago

This file should be placed in the BiRefNet/pth directory

春秋4 months ago

没有pth这个目录呢,,新建了一个文件夹进去也不行

d
daze yareyare5 months ago

Value for argument "data" is not a valid Firestore document. Cannot use "undefined" as a Firestore value (found in field "server_id"). If you want to ignore undefined values, enable `ignoreUndefinedProperties`.

Dismiss

X
Xiser5 months ago

Sorry, I don't know what that means

k
ke li5 months ago

一致性检查失败:文件大小应为 1879014680,但实际大小为 5078721(model.safetensors)。我们很抱歉给您带来不便。请使用“force_download=True”重试。如果问题仍然存在,请通过在 https://github.com/huggingface/huggingface_hub 上打开问题来告知我们。这个模型放在哪里的的,大

X
Xiser5 months ago

你的模型没下完整吧,具体我也不清楚你要下哪一款模型

m
mc Z5 months ago

node ImageEffectsAdjustment does not exist                      i got this issue how to deal with it

X
Xing Zhaoyang5 months ago

BiRefNet-general-epoch_244.pth放在那个文件夹内?

Output will be ignored

!!! Exception during processing !!! 'BiRefNet-general-epoch_244.pth'

Traceback (most recent call last):

 File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute

   output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data

   return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list

   process_inputs(input_dict, i)

 File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs

   results.append(getattr(obj, func)(**inputs))

                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\birefnet_ultra_v2.py", line 49, in load_birefnet_model

X
Xiser5 months ago

看评论区回复哈

X
Xing Zhaoyang5 months ago

IPAdapterUnifiedLoaderFaceID

IPAdapter model not found.


SELECTED: input1

!!! Exception during processing !!! IPAdapter model not found.

Traceback (most recent call last):

 File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute

   output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data

   return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list

   process_inputs(input_dict, i)

 File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs

   results.append(getattr(obj, func)(**inputs))

                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 573, in load_models

   raise Exception("IPAdapter model not found.")

Exception: IPAdapter model not found.


Prompt executed in 1.51 seconds

X
Xiser4 months ago

Missing models, see: https://github.com/cubiq/ComfyUI_IPAdapter_plus

P
Pha Phạm4 months ago

I installed the model but still get the above error, help me pls

z
zz z5 months ago

Error: Set node input undefined. Most likely you're missing custom nodes

help me plz

X
Xiser4 months ago

Maybe missing some nodes, which causes SetNode to not receive signals, and it is not clear what nodes you are missing

S
Sab Kz5 months ago

wechat?

X
Xiser4 months ago

No wechat, just Weixin & QQ

视频中的 V3 工作流程在任何地方都可用吗?因为我在这里寻找照明管理,并惊讶地发现它被删除了 :(

Thank you for your labour, it will be very super if you make a video where you edit a single photo from start to finish about this current state.

A
Apem Mentul4 months ago

DWPreprocessor

'NoneType' object has no attribute 'get_providers'

i got this error please help

y
yao xiao4 months ago

UnetLoaderGGUF

expected str, bytes or os.PathLike object, not NoneType                  你好,出现了这个报错。 File "C:\Users\Administrator\Desktop\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list

   process_inputs(input_dict, i)

 File "C:\Users\Administrator\Desktop\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs

   results.append(getattr(obj, func)(**inputs))

                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 File "C:\Users\Administrator\Desktop\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GGUF\nodes.py", line 258, in load_unet

   sd = gguf_sd_loader(unet_path)

        ^^^^^^^^^^^^^^^^^^^^^^^^^

 File "C:\Users\Administrator\Desktop\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GGUF\nodes.py", line 39, in gguf_sd_loader

   reader = gguf.GGUFReader(path)

            ^^^^^^^^^^^^^^^^^^^^^

 File "C:\Users\Administrator\Desktop\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\gguf\gguf_reader.py", line 90, in __init__

   self.data = np.memmap(path, mode = mode)

               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 File "C:\Users\Administrator\Desktop\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\numpy\core\memmap.py", line 229, in __new__

   f_ctx = open(os_fspath(filename), ('r' if mode == 'c' else mode)+'b')

                ^^^^^^^^^^^^^^^^^^^

TypeError: expected str, bytes or os.PathLike object, not NoneType       我已经将flux1-dev-Q4_1文件放置到了C:\Users\Administrator\Desktop\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\MODEL\FLUX目录下。

y
yao xiao4 months ago

UnetLoaderGGUF                                                              expected str, bytes or os.PathLike object, not NoneType

y
yao xiao4 months ago

Cannot execute because a node is missing the class_type property.: Node ID '#1412'

z
zhenguo zhang4 months ago

I have also encountered this problem. Have you solved it?

李晴天3 months ago

ControlNetLoader

Model in folder 'controlnet' with filename 'SD1.5/control_v11p_sd15_openpose_fp16.safetensors' not found.

檔名改成上面的報錯

controlnet再加一個SD1.5資料夾,再把剛剛改檔名放進去

還是一樣報錯,卡在這邊

求助大神了!!求助大神了!!!

😢1
E
Enzo Ferrari3 months ago

解决了吗朋友,一样的问题

M
Mike S3 months ago

I upload my photo and the background but my face gets changed to another man and the background isnt even anything close to the one I uploaded..... Whats going on ?!

X
Xiser2 months ago

Did you modify the settings to cause the character to be redrawn instead of the background?

P
Peng yang2 months ago

嗨!您是否对将现有的ComfyUI工作流转变为功能齐全的SaaS工具的平台感兴趣,该工具具有网站设置,注册和订阅管理功能,允许您将您的创作货币化?



如果您有任何回复,我们将非常感激。如果您愿意留出30分钟的谈话时间,我们将非常乐意支付50-100美元

X
Xiser2 months ago

你好,如果是国内的平台可以加我QQ:3861103314

F
Francisco Jaba month ago

the best remove background. incredible results.

Installing it is not easy, but it is very worth it.
Great job


K
Khang Phana month ago

它太完美了,非常感激你为社区付出的努力和分享。
我是越南人,非常敬佩你!

Anyone no how to generate a background around the background rather than using an existing one?

Anyone know how i can use Flux to generate the backgrounds instead of one of the sd1.5 models?

Universeala month ago

TypeError: Cannot read properties of null (reading 'length')


Have no idea what i didn't do.

C
Chris Mossom25 days ago

I made a workflow translator app, for all of us that don't speak Chinese!

https://github.com/Clinteastman/comfy-ui-workflow-translator

A
Aneeb Ahmed11 days ago

This guy is the most powerful champion of comfyui. If you succeeded to learn from Xiser you will be on top. It's hard but I guess with lots of efforts and hard work you can achieve that.

Author

8
63.4K
1.0K
197.3K

Resources (3)

    pexels-tiểu-bảo-trương-9315237.jpg (857.1 kB)
    pexels-vasilis-karkalas-12017867.jpg (2.8 MB)
    1113214.jpg (163 kB)

Reviews

A

Aneeb Ahmed

11 days ago

This guy is the most powerful champion of comfyui. If you succeed in learning from Xiser you will be on top. It's hard, but I guess you can achieve it with lots of effort and hard work.

T

TTC Computer

8 months ago

thank you, it's amazing

amazing

W

WASCO

10 months ago

Versions (30)

  • - latest (2 months ago)

  • - v20241119-051847

  • - v20241116-060936

  • - v20241031-152314

  • - v20241016-154703

  • - v20241016-032059

  • - v20241004-064103

  • - v20241003-082029

  • - v20240928-031937

  • - v20240826-072329

  • - v20240803-062601

  • - v20240802-161323

  • - v20240622-044258

  • - v20240617-094320

  • - v20240614-061839

  • - v20240610-142850

  • - v20240609-063012

  • - v20240607-125124

  • - v20240604-031135

  • - v20240603-061324

  • - v20240531-040630

  • - v20240530-124040

  • - v20240506-075753

  • - v20240502-044557

  • - v20240430-032134

  • - v20240428-101014

  • - v20240428-100948

  • - v20240425-170009

  • - v20240424-144742

  • - v20240423-150355

Primitive Nodes (382)

ACN_ScaledSoftControlNetWeights (1)

Any Switch (rgthree) (7)

DF_Float (19)

DF_Int_to_Float (3)

DF_Integer (7)

DF_Text (1)

DF_Text_Box (3)

DepthAnythingV2Preprocessor (1)

DownloadAndLoadFlorence2Model (1)

Fast Groups Bypasser (rgthree) (3)

Florence2Run (3)

GetNode (145)

IPAdapterClipVisionEnhancer (2)

Image Comparer (rgthree) (1)

Label (rgthree) (65)

LayerMask: BiRefNetUltraV2 (1)

LayerMask: LoadBiRefNetModel (1)

Lora Loader Stack (rgthree) (2)

Note (5)

Primitive boolean [Crystools] (5)

Primitive float [Crystools] (1)

Primitive integer [Crystools] (4)

Primitive string [Crystools] (1)

Reroute (7)

Seed (rgthree) (4)

SetNode (82)

Switch any [Crystools] (6)

UnetLoaderGGUF (1)

Custom Nodes (302)

  • - ImageEffectsAdjustment (1)

  • - CM_FloatBinaryOperation (1)

  • - CM_FloatUnaryOperation (1)

  • - CR Conditioning Input Switch (2)

  • - CR String To Combo (2)

  • - CR Image Input Switch (4 way) (2)

  • - CR Color Panel (4)

ComfyUI

  • - CLIPTextEncode (10)

  • - VAEDecode (5)

  • - LoadImage (6)

  • - PreviewImage (31)

  • - ControlNetLoader (6)

  • - EmptyImage (3)

  • - EmptyLatentImage (1)

  • - KSampler (5)

  • - InvertMask (7)

  • - UpscaleModelLoader (2)

  • - LatentUpscaleBy (2)

  • - VAELoader (2)

  • - CLIPSetLastLayer (1)

  • - MaskComposite (5)

  • - PerturbedAttentionGuidance (3)

  • - MaskToImage (8)

  • - ImageBlend (1)

  • - ImageToMask (4)

  • - ConditioningSetMask (2)

  • - GrowMask (4)

  • - SplitImageWithAlpha (1)

  • - ImageScale (2)

  • - SetLatentNoiseMask (2)

  • - VAEEncode (2)

  • - DifferentialDiffusion (2)

  • - ImageCompositeMasked (1)

  • - DualCLIPLoader (1)

  • - CheckpointLoaderSimple (1)

  • - easy imageColorMatch (1)

  • - easy cleanGpuUsed (2)

  • - MaskPreview+ (8)

  • - ImageCompositeFromMaskBatch+ (7)

  • - SimpleMath+ (23)

  • - MaskBlur+ (5)

  • - ImageResize+ (14)

  • - ImageCASharpening+ (3)

  • - GetImageSize+ (5)

  • - ImageCrop+ (1)

  • - BboxDetectorCombined_v2 (1)

  • - UltralyticsDetectorProvider (2)

  • - SAMLoader (1)

  • - ImpactSimpleDetectorSEGS (2)

  • - SegsToCombinedMask (2)

  • - PreviewBridge (1)

  • - ImpactSwitch (1)

  • - ImpactStringSelector (2)

  • - ImpactImageBatchToImageList (1)

  • - FaceDetailer (1)

  • - LayerColor: Brightness & Contrast (3)

  • - LayerColor: ColorAdapter (1)

  • - LayerUtility: TextBox (2)

  • - LayerMask: SegmentAnythingUltra V2 (1)

  • - LayerUtility: ImageBlend V2 (1)

  • - DWPreprocessor (1)

  • - DepthAnythingPreprocessor (1)

  • - InpaintPreprocessor (3)

  • - AnimeLineArtPreprocessor (1)

  • - LineArtPreprocessor (1)

  • - IPAdapterUnifiedLoaderFaceID (1)

  • - IPAdapterFaceID (1)

  • - IPAdapterUnifiedLoader (2)

  • - ACN_AdvancedControlNetApply (11)

  • - ScaledSoftControlNetWeights (2)

  • - EG_RY_HT (18)

  • - OutlineMask (2)

  • - SDXL Prompt Styler (JPS) (1)

  • - RemapMaskRange (5)

  • - GrowMaskWithBlur (3)

  • - ResizeMask (2)

  • - SplineEditor (1)

  • - CreateGradientFromCoords (1)

  • - ColorMatch (1)

  • - ConditioningMultiCombine (1)

  • - GetImageSize (1)

  • - UltimateSDUpscale (1)

  • - Bounded Image Crop with Mask (1)

  • - Text Concatenate (4)

  • - Image Blend by Mask (2)

  • - Image Blend (3)

  • - Mask Crop Region (2)

  • - Text Find and Replace (1)

  • - Logic Boolean Primitive (1)

Checkpoints (1)

SD1.5/Realistic Vision_V6.0 B1.safetensors

LoRAs (0)