SamuKata
sebastiankamph
sebastiankamph

patreon


Local Image2Video in ComfyUI - CogVideoX-5b

This is a very good image2video model that works within ComfyUI. It's limited to 720x480 but the quality in that resolution is very good and it understands prompts.

Video guide here https://youtu.be/--sbejiJ858

This should work on GPU 6gb minimum, but will be slow. My 4090 renders in about 5 minutes without optimizations. If you want speed, go for the 48gb vram machine from my sponsor partners at https://thinkdiffusion.com

Download workflow from bottom of this post, drag & drop into Comfy
Go into your Manager and Install Missing Custom Nodes.
 

After you've selected the missing nodes and installed, press restart and then refresh browser

Download a text encoder if you don't already have one installed. Go into the Model Manager

Search for fp8_e4 and install Google's fp8_e4m3fn (if you already have this previously, select it in the Load Clip node


The models will be autodownloaded, just make sure you select the latest version. As of writing this guide, it's CogVideoX-5b, we're using the i2v (image2video) version
OPTIONAL: When 2b I2V gets released, you can select that for lower vram usage (and less quality). But you need I2V

 
Load an image (for best results, use 720x480px size or aspect ratio 3:2)
Type your prompt

Press Queue to start and the required files and models will be downloaded automatically.

Voila, after the files have downloaded, your image2video generation should be ready!


  

Local Image2Video in ComfyUI - CogVideoX-5b Local Image2Video in ComfyUI - CogVideoX-5b Local Image2Video in ComfyUI - CogVideoX-5b

Comments

Same problem man, anyone got a solution?

Lucio Casellato

i have the same issue using 16gb vram

Jeremy Sanderson

I get this error. And the CogVideoSampler I have does not have the I_file_Length or I_File_Overlap Here is the error. CogVideoSampler: - Value not in list: scheduler: 'DPM' not in ['DPM++', 'Euler', 'Euler A', 'PNDM', 'DDIM', 'CogVideoXDDIM', 'CogVideoXDPMScheduler', 'SASolverScheduler', 'UniPCMultistepScheduler', 'HeunDiscreteScheduler', 'DEISMultistepScheduler', 'LCMScheduler']

Taylor Moore

I got this message error: "torch.outofmemory error 57 Cog video sampler" Chat GPT says it is the VRAM but I have 16gbs of VRAM, so it should be enough no?

Sam Gómez Visual

It works! I did a screen grab of your DarthVader and used it for my first test. I didn't get the dripping blood but I'll run it a few more times to see. WOW, this is cool, Thanks :o)

Weird_With_A_Beard


More Creators