Home Creators Posts Import Register Favorites Logout

Videos

  • 582651460.mp4

Downloads

Content

Hello everyone, I'm just dropping this new I2V workflow here, I try to find some time before NYE to record a full tutorial but for now it's just a quick text guide, sorry for that. For quick start you also find all infos inside the workflow notes in comfyUI.Intro:All you need is an image of your projection surface and prompts to guide the animation. I also created a prompt generator template, where you just have to describe your basic idea, and in return you get an optimized prompt that considers the restrictions we have with projection mapping and the wan2.2 video model.

Concept:The concept here is very simple, and you might know it from my older stable diffusion 1.5 mapping workflows. You take a photo of your projection surface, isolate the object of interest and insert it into my workflow. In here you add a prompt and the workflow does the work for you. Because of the prompt structure from my prompt generator template, the shape of the object should stay intact, which is important when doing projection mappings. After the generation is done, you can use any mapping software to output it onto the real world object (check out my 2D or 3D mapping tutorial on YouTube if you don't know how to align the projection)

Installation:To use this workflow, you need to install comfyUI. With the new desktop version, it got way easier than a while ago. Just download the installer from comfy.org and install it. Once its installed, download the .json file and drop it into comfyUI. You probably need to install some missing nodes, just select them all and comfyUI will do the rest. Next you have to download the correct models. You find the download links and destination folder in the red note inside the workflow. Depending on your GPU and VRAM size, you need to download the correct one. I use the smallest one here, because I’m running it on my laptop with only 8GB of VRAM. If you have more, get the larger ones as they will result in higher quality outputs.

After placing the models in the correct folders, press r in comfyUI to refresh node definitions. If you didn’t touch anything before in the workflow, it should work now. If not, go to the model loaders and choose the correct models.

Generate videos:

Once everything is set, you can use the toggles to decide how long your end video will be. Each section generates 81 frames, which we can turn into approximate 5sec of video. The maximum number of Clips is 4, if you add more the quality and consistency of the input shape will be poor. Clip2 uses the last frame of clip1 as start frame, clip3 the last frame of clip2 and so on. Load your input image in here, it should have the same resolution or at least same aspect ratio like your projector output resolution. then, either write your own prompt, or use my prompt template. When writing your own prompt, always include “static camera”, otherwise the perspective can change and the projection won’t align with the real object anymore.Use the scaleInputResolution to speed up generation time and less VRAM useage for the cost of quality. I usually set it to 0.5 to test my prompts or when I don’t have much time for rendering. If I want quality, I leave it at 1.Just hit run or press the shortcut ctrl+Enter and it starts generating. You can queue as many prompts as you want and just leave it rendering over night.

I got some more new approaches for PM content generation using comfyUI. This is the first workflow of a series of 4.

Files

Comments

Wills_VFX

Error: KSamplerAdvanced Given groups=1, weight of size [5120, 36, 1, 2, 2], expected input[1, 32, 21, 80, 60] to have 36 channels, but got 32 channels instead. any solution?