CivArchive
    JBOOGX & THE MACHINE LEARNER'S ANIMATELCM SUBJECT & BACKGROUND ISOLATION via INVERTMASK VID2VID + HIGHRESFIX - v 2.0 - UPDATED IPADAPTER
    Preview 8565242


    This is an evolution of my AnimateLCM workflow. Cut down and put together for ease of use.

    This workflow should at MOST require 12-14GB of VRAM making it a lot more approachable for folks with smaller GPUs.

    This workflow utilizes and requires an Alpha Mask that matches your video input to work properly. It will take the mask, resize is (shoutout to @Kijai for helping me get passed the initial CUDA errors), and invert it.

    I recommend using MACHINEDELUSION'S PhotonLCM model with this workflow

    How you go about getting that AlphaMask is entirely up to you. I personally like rotoscoping manually in Adobe After Effects for precision.

    The first two IPAdapter images will be for your subject (the white part of your alpha mask).

    The second two IPAdapter images will be for your background (the mask is being automatically inverted to reverse this).

    Running the HighResFix at Bilinear will keep you from getting a CUDA on longer frame videos. At 1.5 you will get a clean 768x1344 output after the HighResFix is finished.

    Appreciate everyone and all the support I receive.

    Special shoutout to @cerspense @Purz @jeru @Fill @MidJourney.Man @PatchesFlows for allowing me to babble about my AnimateDiff wants and desires and helping me navigate how to get there when I hit a wall and hit it often.

    Find me on IG @jboogx.creative

    Description

    This version has been rearranged with the same functionality, to work with the newly refactored and updated IPAdapter nodes.

    FAQ

    Comments (21)

    Set_Me_FreeMar 26, 2024· 1 reaction
    CivitAI

    GOAT

    petrenko76v891Apr 1, 2024
    CivitAI

    So I also removed the lora, and the process went into writing this link to the lora.

    Error occurred when executing Efficient Loader: 'NoneType' object has no attribute 'lower' File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) Efficient Loader:I get an error at the Efficient Loader stage, tell me what could be wrong?

    scraggydogApr 2, 2024

    I suspect one of your IPAdapter models is wrong, I'm sure I had that issue. I Tried to backtrack to find the exact answer but since the IP adapters has changed I sadly deleted them. I had 2 issues one was IPadapter model (so just redownloaded from manager) (and check the motion model) the other fault I had was with The QRCode checkpoint being spelt different. Hope it can be of some help. Is any Node showing up red?

    (Am re-doing workflows for practice so if that fault pops up ill be sure to pop back)

    woanerges888591Apr 3, 2024
    CivitAI

    Will this workflow work on MAC? Has anyone launched it?

    jboogx_creative
    Author
    Apr 3, 2024· 1 reaction

    Nope, going to need a GPU with dedicated VRAM.

    35828375355Apr 24, 2024· 1 reaction

    This workflow can be run on a Mac system, but it requires large memory. Otherwise, the size or resolution of the video will be very small, even 512*512 cannot be reached. A configuration with memory greater than 32g or higher, 96g, is more suitable. , the running speed will also be faster.

    woanerges888591Apr 27, 2024

    @35828375355 thanks!

    murtihashJul 23, 2024· 1 reaction

    yup im running it on my m2 ultra 192gb

    millionsApr 6, 2024
    CivitAI

    on 24gb vram getting cuda out of memory with 700frames at 90% being finished. Havent had this issue before

    gohan4646Apr 13, 2024
    CivitAI

    I have have an ERROR please help!!

    Error occurred when executing KSampler (Efficient): 'float' object has no attribute 'repeat' File "D:\AI\ComfyUI\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\AI\ComfyUI\ComfyUI_windows_portable_nvidia_cu121_or_cpu\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 "D:\AI\ComfyUI\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))

    yofoton174609Apr 25, 2024
    CivitAI

    you are a ComfyUI master!!! well done!!

    3kyMay 2, 2024
    CivitAI

    I have an error with the textbox, what module you use to use the textbox node? :) Fixed but other error appear:

    Error occurred when executing Efficient Loader: 'NoneType' object has no attribute 'lower' File "/workspace/ComfyUI/execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "/workspace/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 "/workspace/ComfyUI/execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "/workspace/ComfyUI/custom_nodes/efficiency-nodes-comfyui/efficiency_nodes.py", line 151, in efficientloader model, clip = load_lora(lora_params, ckpt_name, my_unique_id, cache=lora_cache, ckpt_cache=ckpt_cache, cache_overwrite=True) File "/workspace/ComfyUI/custom_nodes/efficiency-nodes-comfyui/tsc_utils.py", line 372, in load_lora lora_model, lora_clip = recursive_load_lora(lora_params, ckpt, clip, id, ckpt_cache, cache_overwrite, folder_paths) File "/workspace/ComfyUI/custom_nodes/efficiency-nodes-comfyui/tsc_utils.py", line 366, in recursive_load_lora return recursive_load_lora(lora_params[1:], lora_model, lora_clip, id, ckpt_cache, cache_overwrite, folder_paths) File "/workspace/ComfyUI/custom_nodes/efficiency-nodes-comfyui/tsc_utils.py", line 363, in recursive_load_lora lora_model, lora_clip = comfy.sd.load_lora_for_models(ckpt, clip, comfy.utils.load_torch_file(lora_path), strength_model, strength_clip) File "/workspace/ComfyUI/comfy/utils.py", line 13, in load_torch_file if ckpt.lower().endswith(".safetensors"):

    jefharrisMay 11, 2024

    Same here.

    jefharrisMay 11, 2024

    I think the Derfuu comfyUI nodes broke?

    AbdallahAlswa80Jun 11, 2024

    re add the text from Derfuu menu , or use any text box !

    CatzMay 17, 2024· 4 reactions
    CivitAI

    For people having issues with Text box. They are just regular text box, you can delete and add new ones. Jboogx mentioned that he doesn't even use them anymore. He just writes in the prompt travel at 0 without the text box.

    mankaindMay 30, 2024
    CivitAI

    Error occurred when executing Efficient Loader: 'NoneType' object has no attribute 'lower'


    I really don't know what to do
    Done everything like in the flow.

    noonansAug 6, 2024
    CivitAI

    Just starting on this, 4 months old, any optimized/updated workflows from this workflow now?

    jboogx_creative
    Author
    Aug 16, 2024

    nope. this is the same workflow I currently use. I make little changes and add / subtract nodes based on what i'm currently doing in a particular video. but this is it.

    noonansAug 23, 2024

    @jboogx_creative Thanks, workflow is a beast. My character is looking more human than noodle like, any tips for dialing settings to help with that?

    operation12studio300Sep 18, 2024
    CivitAI

    I have updated this workflow to have automatic alpha mask creation. Tell me how to get it to you if you want it.. I also added a little logic for longer videos(multiply frame load cap by a number that increases every queue to get the skip frames number)

    Workflows
    SD 1.5

    Details

    Downloads
    1,947
    Platform
    CivitAI
    Platform Status
    Available
    Created
    3/25/2024
    Updated
    5/16/2026
    Deleted
    -

    Files

    jboogxTHEMACHINELEARNERS_v20UPDATEDIPADAPTER.zip