This is a workflow for Wan 2.2 SVI Pro with LoRa. It has a "loop" which allows you to set the number of passes without having to restructure the workflow. Only the section with the LoRa files needs to be expanded if you need more than one LoRa file per section or a higher total number of LoRa files.
Model Links:
Used Models:
https://civarchive.com/models/2190659/dasiwa-wan-22-i2v-14b-tastysin-v8-or-lightspeed-or-gguf
Alternatively:
https://huggingface.co/jayn7/WAN2.2-I2V_A14B-DISTILL-LIGHTX2V-4STEP-GGUF/tree/main
Setup:
1. Do your main settings
2. Write your prompts
3. Select your loRas (if needed)
Go for it!
Info:
This workflow is configured for 16 GB of VRAM. If you have less, increase the "block_to_swap" value or use a higher quantization model.
Description
Essentially the same workflow like v2.0, but with more customization options.
Color Correction
Color Match
Upscale with Model
Image Sharpening
Improved presets for faster video creation
FAQ
Comments (17)
You know Kijai made a mult-select lora node for wanvideowrapper a while ago.... you could just link 2-3 of those together and have 8 or 12 loras on demand without that ungodly spaghetti monster and a separate bypasser toggle.
Well, i always disable the lines in ComfyUI. But does the LoRa loader from Kija knows how to separate each LoRa in each Pass? You can enable and disable but you also need to tell the workflow which pass is running at the moment. I have to check this out.
Please tell me how to get a node "WanVideoSVIproEmbeds"?I updated all the nodes in ComfyUI, but this node from WanVideoWrapper isn't updating. Plz Help
Update the WanVideoWrapper.
Close ComfyUI. Go to your ComfyUI folder. Then go to the custom_nodes folder. Move the "ComfyUI-WanVideoWrapper" folder. You can actually delete it, but move it for safety. Then open your terminal and go to the custom_nodes folder. On Linux, simply click on the custom_nodes folder and select "Open in Terminal." Windows should be similar. Then enter this command: "git clone https://github.com/kijai/ComfyUI-WanVideoWrapper.git". If that doesn't work, go to this page: "https://github.com/kijai/ComfyUI-WanVideoWrapper" and download the ZIP file, then extract it to your "custom_nodes" folder. Now start ComfyUI. If it still doesn't work, update ComfyUI. And always make a backup of your virtual environment (venv) whenever possible.
Hello, I can't make a video longer than 5 seconds. It gives me an error....
Error in WanVideoSVIProEmbeds - mask size mismatch
PROBLEM: The node expects a mask of [1, 24, 4, 120, 80] (950400 elements), but receives data of a different size.
How can I make it 7 or 8 seconds?
Did you try my preset example?
Is your resolution divisible by 16?
Have you read all the information in the red boxes?
Have you updated all the required nodes and ComfyUI?
I don't get it, whenever I try any workflow I encounter so many errors and after fixing some I get stuck at one. It's so frustrating
This one specifically:
torch._inductor.exc.TritonMissing: Cannot find a working triton installation. Either the package is not installed or it is too old. More information on installing Triton can be found at: https://github.com/triton-lang/triton
@Shinigami0407 You need to install trition. In Linux you won't have this problems. So you are in Windows. Google "install sageattention and triton comfyui". Chat GPT will also be helpful.
@Thalion7 I did try that, but I wasn't able to fix the issue. I will see if I can resolve it somehow. Thank you for your quick answer.
Hi, may I ask for your help? I've tried to follow your comments, installed models recommended in the work flow, but I have a reoccurring error that I can't solve. Do you know where should I look for the root cause?
Error message:
RuntimeError: shape '[1, 31, 4, 90, 60]' is invalid for input of size 685800Ive already tried to change the picture resolution, input picture HxW, upscale video settings... Always made sure that each dimension is divisible by 16.
Im out of ideas now :(
OK, I guess that's something with my settings.
Now I'm trying your sample and it's progressing, more or less...
With sample I'm stuck on CUDAerrorMemoryAllocation
I do have 12Gb vram instead of 16 but I've increased blocks_to_swap as suggested as well as lowered input image resolution... Hmmm. I'll have to work on that more.
Did you update all nodes and ComfyUI? If not, make a backup first and update.
@Thalion7 yeye, all nodes are up to date according to ComfyUI manager. I've found my first rookie mistake. Downloaded wrong model. Q8 omfg... Now I'm downloading Q4 and will test with that one.
Sorry for trouble :(
@dewiant No problem. :-)
@dewiant But maybe you will have more fun with my LTX 2.3 workflow. WAN still makes the slightly better animations. But LTX is faster, higher res and voice input. So it makes more fun to use it :-)
@Thalion7 I guess I'll check that out next week, if I'll have more time :) thanks for the tip!
I still have the CUDA memory error here tho. My card is 4070 super with 12gb vram. Currently used files by me are:
DasiwaWAN22I2V14B v8 q4 (high and low)
SVI_v2_PRO_Wan2. 2-I2V-A14B Lora fp16 (high and low)
Wan2_1_VAE_bf16
umt5-xxl-enc-bf16
Settings are:
Input: 480x720
Frames: 81
Frame rate: 12
Blocks_to_swap: 30
What am I setting wrong that is keeps showing:
Cuda error: out of memory