CivArchive
    ipiv's SDXL Lightning text2img2vid SD1.5 AnimateDiff LCM - v1.0
    NSFW
    Preview 7155006

    This workflow uses SDXL Lightning generated images as reference for SD 1.5 AnimateDiff LCM video generations, using SparseCtrl + IPAdapter to guide the video generation.
    By combining AnimateLCM + SDXL Lightning we are able to generate txt2img -> img2vid animations lightning fast.

    I suggest to disable/bypass upscaling process until you find a preview you are happy with, same with reference image. (or disable SDXL reference group entirely and load your own image)
    You can also experiment with bypassing either SparseCTRL or IPAdapter. (One or both might result in better output, depending on reference image and animation)

    Models used in this workflow:

    1. AnimateLCM Lora & Motion module

    2. Dreamshaper SDXL Lightning (or any SDXL checkpoint combined with Lightning Lora)

    3. Photon (or any SD1.5 checkpoint)

    4. SparseCtrl rgb (available in comfy manager)

    5. IP-Adapter (available in comfy manager)

    6. Clip vision for IP-Adapter (available in comfy manager - CLIP-ViT-H-14-laion2B-s32B-b79K)

    Description

    FAQ

    Comments (54)

    ViktoriaBlankFeb 26, 2024
    CivitAI

    Thanks for sharing, what i need to install on my SD1.5 Automatic 1111 to run this , do i need to install Comfiyou ? any guide ?

    ipiv
    Author
    Feb 26, 2024

    Hey, no problem! Yes this workflow is only for ComfyUI, I suggest following this tutorial: https://civitai.com/articles/2379/guide-comfyui-animatediff-guideworkflows-including-prompt-scheduling-an-inner-reflections-guide

    The first steps in the guide by @Inner_Reflections_AI includes installation steps to get you started with ComfyUI.

    ViktoriaBlankFeb 27, 2024· 1 reaction

    @ipiv ty so much and congratz for your work that i consider extremely outstanding

    pigdogMar 2, 2024

    I loaded the workflow but the following node types weren't found:

    KSampler (Efficient)

    ImageSelector

    RIFE VFI

    Efficient Loader

    IPAdapterModelLoader

    IPAdapterApply

    Where do I get these node types?

    ipiv
    Author
    Mar 2, 2024

    @pigdog Hey, Install Comfyui Manager then on the new menu that appears click on Manager and finally "Install missing custom nodes"

    ISergFeb 27, 2024
    CivitAI

    Updated everything through the manager, but KSampler gives an error message:

    Error occurred when executing KSampler (Efficient):

    Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!

    ipiv
    Author
    Feb 27, 2024

    Hey, does the error occure in 1st ksampler when generting reference img with sdxl?

    ISergFeb 27, 2024

    @ipiv KSampler in SD1.5 AnimateDiff Sampling
    https://i.postimg.cc/fbDfKqwc/Comfy.jpg

    ipiv
    Author
    Feb 27, 2024

    this error is quite generic so its difficult to pinpoint the exact issue in your case.
    -Are you possibly running out of vram during generation?
    -Try reloading the unaltered workflow to make sure you aren't mixmatching sd1.5 and sdxl checkpoints and loras in the 2nd animatediff sampling process.
    -Does the simple animatediff workflow generate any errors?

    ISergFeb 28, 2024

    @ipiv The problem in the AnimateDiff group if to bypass it, then process comes to the end
    https://i.postimg.cc/sDrV0hNJ/Comfy1.jpg

    This error is common on low VRAM systems. Any graphics card with 6 to 8gb of VRAM is considered low VRAM. Depending on the workflow, 12gb can also be considered low.

    streamdiff_212Mar 5, 2024
    CivitAI

    My outputs seem to be really blurred, i tried to adjust some settings but no effect.

    Is there any fix for this i could try? Im using the exact same models as in the description of this workflow.

    ipiv
    Author
    Mar 5, 2024· 1 reaction

    Hey, quite hard to debug your issue with so little information. If your outputs are "blurry" it makes me think LCM isn't applied properly, can you make sure you are indeed loading AnimateLCM motion module and LCM Lora for the SD1.5 part of the workflow.

    streamdiff_212Mar 5, 2024· 2 reactions

    @ipiv yes dude i didnt load the lora :D tysm for the quick answer and solution

    InfiniteVarianceMar 13, 2024

    @streamdiff_212 where do you load the LORA in?

    ipiv
    Author
    Mar 13, 2024

    @InfiniteVariance Efficient Loader has Lora selector, if additional Loras are needed for SD1.5 process you can add "Load Lora" node between IPAdapter and Efficient Loader

    aries_cz280Mar 6, 2024· 3 reactions
    CivitAI

    How to solve this problem?

    Error occurred when executing Efficient Loader: 'SDXLClipModel' object has no attribute 'clip_layer'

    ipiv
    Author
    Mar 6, 2024

    Hey, make sure to update Comfy and custom nodes by clicking "Update All" in Comfy Manager popup window.
    There was a change recently with "clip_layer" so I assume one of your custom nodes must be out of date.

    BleedheartMar 10, 2024· 1 reaction
    CivitAI

    very great workflow...thanks for teaching us!!!

    rickredMar 12, 2024· 1 reaction
    CivitAI

    Is it possible to add extra controlnets to better match src/LoadImage? For example, canny outline + depth map. And would those go before or after the sparse controlnet.

    jcivitMar 14, 2024
    CivitAI

    Can the length of the animation be adjusted to be longer? (via unlimited context) I tried 32 instead of 16 but it rendered a blurry image.

    ipiv
    Author
    Mar 14, 2024

    Keep context length at 16 and instead in the 2nd Efficient Loader increase the batch_size from 24.

    SmillJokeMar 14, 2024· 1 reaction
    CivitAI

    Very pefect workflow.......great~!

    SD1.5 AnimateDiff LCM,wait for the

    SDXL AnimateDiff LCM

    okimokiMar 14, 2024· 1 reaction
    CivitAI

    OMG, this is amazing!!! Thank you! <3

    1984batmanMar 15, 2024· 1 reaction
    CivitAI

    Awesome man! Thank you!

    tychussMar 15, 2024
    CivitAI

    Great work.

    My question is. How do I configure this project to load an external image and create animations?

    It is important that, for example, the face remains unchanged (I care a lot about this)

    HalfGawedHalfDevilApr 27, 2024

    you can just add a load image node and connect it to the color correction node image input where the generated image would be. From working with the workflow it is not very likely to not change the face though so this is not likely going to be of use to you.

    chentaopisces890Mar 15, 2024· 3 reactions
    CivitAI

    Error occurred when executing ACN_SparseCtrlRGBPreprocessor: type object 'VAEEncode' has no attribute 'vae_encode_crop_pixels'

    _Dream_Making_May 12, 2024

    getting the same error with latest version of comfy ui

    CsetiMar 19, 2024
    CivitAI

    What is the purpose of the sparseRGB in this workflow? Would not be the same result without it? In what does it help?

    ipiv
    Author
    Mar 19, 2024

    You can find more info on SparseCtrl on the project page: https://guoyww.github.io/projects/SparseCtrl/
    Easiest way is to test it out and see the differenece, with and without ipadapter and bypassing SparseCtrl entirely.

    1984batmanMar 22, 2024· 2 reactions
    CivitAI

    Thanks to the author, I made an improved version of multi-frame video predictionAnimatediff SparseCtrl img2img2vid 4/8frames2VideoPrediction LLM SD15 - v1.0 | Stable Diffusion Workflows | Civitai

    flufflepimpMar 29, 2024
    CivitAI

    IPAdapterApply refuses to load no matter if I install it by hand or via manager. Any ideas?

    ipiv
    Author
    Mar 29, 2024

    Hey, IPAdapter nodes recently got a major update and nodes from previous version got removed, breaking all old workflows. It's a matter of replacing the old broken nodes with new ones, I will update the workflow soon.

    ipiv
    Author
    Mar 29, 2024

    @flufflepimp It is now updated, please re-download and let me know if you run into any issues, I'm always happy to help out!

    deadsec99Apr 13, 2024

    @ipiv Still getting this error

    davidstobb85365Apr 13, 2024· 1 reaction

    @deadsec99 Found this on reddit might work,

    This node updated. You are need build new ip adapter group with new nodes, or you can rollback on older version. For this: go to '.../ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus', then open terminal and put:

    git checkout 6a411dcb2c6c3b91a3aac97adfb080a77ade7d38

    deadsec99Apr 13, 2024

    @davidstobb85365 Thank you let me check out this solution

    greenice45764Apr 1, 2024
    CivitAI

    how to add a batch promt to this workflow?

    nomads80Apr 12, 2024· 1 reaction
    CivitAI

    Still got this errors :(

    Error occurred when executing IPAdapterUnifiedLoader:

    raise Exception("IPAdapter model not found.")

    someguy6942012Apr 12, 2024

    same problem

    Tutorial to fix this:
    https://www.youtube.com/watch?v=c8HWDQ67Dvg

    Just make everything he says, will work

    Sp4wnf3rk3lMay 20, 2024· 1 reaction
    CivitAI

    Im trying to create vids from images with the sparse workflow... but on half of the sampling in the first K-Sampler the whole picture changes completely or i get only noise from the second img on ... is there any way to avoid that?^^

    jamezJun 12, 2024
    CivitAI

    What is the QR code controlnet used for?

    pkweitaiJun 13, 2024
    CivitAI

    hey there, use this workflow json , and I got all noise from Ksampler in SD 1.5 animation module, even I disable all upscalers the result is same, is that something anyone seen ? i am using latest ComfyUI and IpAdapter updates . thx! Great work tho

    JayNLJun 30, 2024
    CivitAI

    Wait, why was I still using that old version, wow! Btw, if you created a movie and you forgot to turn on upscaling, I have a post processing workflow!🙏

    JayNLJun 30, 2024

    It can also interpolate if you're not totally happy with the result/speed, if it's ok to say this here.

    Noob_eeJun 19, 2025

    @JayNL is there still a post processing workflow available?

    lior007Jul 30, 2024
    CivitAI

    WORK WELL.THANK YOU

    aeonian711Aug 28, 2024
    CivitAI

    Which settings define how fast is my generated video? In examples, videos are smooth and slow, when I generate, it is so fast and unrealistic.

    CavernustAug 29, 2024
    CivitAI

    Your workflows are awesome they work great and i love them. some things are a little hard to understand but just do a little testing and it's magic. keep it up! thank you!!!

    VeroleNov 2, 2024
    CivitAI

    incredible, after testing animatedif, SVD, COG, in loal this the best workflow, it's awesome, for other people, It is very important to take the sdxl and sd15 models indicated to have a beautiful fluid animation. ❤️

    sd_animation_artNov 9, 2024
    CivitAI

    how to make the speed lower?

    JPEGEnjoyerDec 27, 2024
    CivitAI

    The output seems to be censored. Any prompts depicting sexual acts or two naked individuals together instead outputs a single person. Any way around this?

    Workflows
    SD 1.5 LCM
    by ipiv

    Details

    Downloads
    6,399
    Platform
    CivitAI
    Platform Status
    Available
    Created
    2/26/2024
    Updated
    4/30/2026
    Deleted
    -

    Files

    ipivsSDXLLightning_v10.zip

    Mirrors

    CivitAI (1 mirrors)

    ipivsSDXLLightning_v10.zip

    Mirrors

    CivitAI (1 mirrors)