SakeTami
Innovate Futures @ Benji
Innovate Futures @ Benji

patreon


ComfyUI Mochi Edit Enhance Local AI Video Generated Result With Unsampling

Video : https://youtu.be/TK4b7uhHgkk

Full version of workflow for Patreon Supporters : https://www.patreon.com/posts/115743903

Transform your AI video generation game with this groundbreaking tutorial on ComfyUI Mochi Edit! Today, I'm diving deep into an amazing workflow that lets you fix and enhance AI-generated videos using unsampling and resampling techniques. I'll show you how to turn those morphed, distorted faces into clean, professional-looking results - all on your local machine!

In this comprehensive guide, I'm sharing my workflow that how we handle AI video edits within ComfyUI. Learn how to implement the Mochi wrapper and Mochi Edit custom nodes, understand the perfect sampling steps, and master the art of video refinement. Whether you're dealing with text-to-video or image-to-video conversions, I'll show you how to achieve cinema-quality results with simple, easy-to-follow steps.

Watch as I demonstrate real examples, from fixing facial deformations to enhancing overall video quality. I'll reveal my secret settings for optimal results, including the perfect denoise values and VAE tiling techniques. Plus, I'm sharing exclusive tips on how to handle longer sequences and achieve better resolution outputs. Don't miss this game-changing tutorial that will elevate your AI video creation skills!

Required Nodes:

https://github.com/kijai/ComfyUI-MochiWrapper

https://github.com/logtd/ComfyUI-MochiEdit

Attached workflow to demonstrate the basic concept of Unsampling and Resampling using Mochi1.

Have Fun!

Comments

Then you are so stubborn, who didn't use custom node and only relay on the default nodes in Comfyui.

Benjamin Law

problem is this youtubers use too much costum nodes, instead of depending on native nodes

Game Troller

File "C:\ComfyUI\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 "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MochiWrapper\nodes.py", line 579, in process latents = model.run(args) ^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MochiWrapper\mochi_preview\t2v_synth_mochi.py", line 196, in run len(cfg_schedule) == sample_steps ^^^^^^^^^^^^^^^^^ TypeError: object of type 'float' has no len(

Steffen Kirkegaard

How can I get help on this when I dont understand what is wrong? The error message "object of type 'float' has no len()" typically occurs when a function that expects an iterable (like a list or a string) receives a float instead. This can happen if there's a mismatch in the data types being passed to the function. Here are a few steps you can take to troubleshoot and resolve this issue: Check the Input Data: Ensure that the data being passed to the MochiSampler is of the correct type. If a float is being passed where an iterable is expected, you need to convert it to the appropriate type. Review the Code: Look at the part of the code where the MochiSampler is being called. Verify that all inputs are correctly formatted and of the expected types. Debugging: Add print statements or use a debugger to inspect the values being passed to the MochiSampler. This can help you identify where the float is coming from and why it's being passed instead of an iterable. Documentation: Refer to the documentation of the MochiSampler to understand the expected input types and ensure that your code aligns with these requirements. If you provide more details about the specific code or context where this error is occurring, I can offer more targeted assistance. Let me know if you need further help!

Steffen Kirkegaard

again, update ComfyUI, Mochi Edit run install requirements.txt. as mentioned in the tutorial video many time , normal installation procedure.

Benjamin Law

Steffen Kirkegaard

Have you install requirements.txt stuffs?

Benjamin Law

Steffen Kirkegaard

These nodes are xoming from the Comfyui MochiWrapper. It have updated version last week I remembered. You can pull files uaing ' git pull ' manually. The Comfyui Manager do not have Mochi Wrapper and Mochi Edit listed in Manager list yet, because this is early stage development nodes.

Benjamin Law

Steffen Kirkegaard


More Creators