Using InstantID in ComfyUI, just one reference image creates countless unique variations of yourself

preview_player
Показать описание
When it comes to the application of ComfyUI, an inevitable topic is "Digital People" or "Virtual Albums," which involves creating images of a person in various scenes based on a reference image. Regardless of what they wear or do, they may appear as an old man or a child, but the goal is to instantly recognize them!

In order to achieve this functionality, I experimented with various tools emerging in the AI drawing field, but I was never completely satisfied. However, the recently released InstantID caught my eye and seemed to be the closest to the desired effect. So, in this video, let me introduce it and put it into practice in ComfyUI!

What is InstantID:
Officially deployed workflow:
ComfyUI custom node:
Рекомендации по теме
Комментарии
Автор

Thanks. I ran it, but I keep getting this message "Error occurred when executing LoadImage". What should I do?

lilillllii
Автор

Everything is fine until the image preview, I cannot preview or save image because of this error: Error occurred when executing PreviewImage:

'str' object has no attribute 'shape'

File "G:\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)

File "G:\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 "G:\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 "G:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1429, in save_images
full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(filename_prefix, self.output_dir, images[0].shape[1], images[0].shape[0])

ChillyLoungeMusic
join shbcf.ru