Animation with weight scheduling and IPAdapter

Sdílet
Vložit
  • čas přidán 6. 06. 2024
  • About time we talked about animations again! I just released new nodes IPAdapter and the Essential that make scheduling IPAdapter, Prompt and controlnet very easy and efficient.
    Workflows: f.latent.vision/download/sche...
    Github sponsorship: github.com/sponsors/cubiq
    Support with paypal: www.paypal.me/matt3o
    Twitter: / cubiq
    My Discord server: / discord
    Banodoco Discord server: / discord
    For the LCM model you use either the beta one: huggingface.co/wangfuyun/Anim...
    or the final version: huggingface.co/wangfuyun/Anim...
    00:00 Intro
    01:10 Prep the keyframes
    04:04 Scheduled weights
    13:55 Scheduled prompt ipadapter and controlnet
  • Věda a technologie

Komentáře • 162

  • @julienblanchon6082
    @julienblanchon6082 Před měsícem +66

    I've never clicked so fast on a CZcams thumbnail !

  • @nelsonporto
    @nelsonporto Před měsícem +30

    This is history in the making.

    • @latentvision
      @latentvision  Před měsícem +2

      damn, I'm so old already?!

    • @RetzyWilliams
      @RetzyWilliams Před měsícem

      Although, you still will see flicker and issues at higher detail resolutions. These are very simple examples

    • @treedruids5776
      @treedruids5776 Před měsícem

      @@RetzyWilliamsits still really great ground building for the potential that others can do with this tool

  • @zenko4187
    @zenko4187 Před měsícem +21

    Someone should be paying this man.

  • @TheGalacticIndian
    @TheGalacticIndian Před měsícem +41

    When Matteo speaks, I listen👌👌

    • @MerajKhan-dh3wy
      @MerajKhan-dh3wy Před měsícem

      Kindly make about clothes and garments on modern

  • @dasomen
    @dasomen Před měsícem +14

    Can't thank you enough for your contributions to the field. You are truly a genius!

  • @huwhitememes
    @huwhitememes Před měsícem +5

    Thank you for all your hard work, Brother! Your contributions to this community have helped to elevate my content so much. I can't thank you enough.

  • @lockos
    @lockos Před měsícem +3

    Amazing work Matteo as always.
    Proud to share italian roots with some talented guys like you.

  • @WhySoBroke
    @WhySoBroke Před měsícem +1

    An absolutely awesome masterclass from Maestro Latente!!... so many great tips that I cannot thank you enough!!

  • @adrianorocha9277
    @adrianorocha9277 Před měsícem +1

    I love you SO SO MUCH! Been waiting for this tutorial since I saw your post last week hahaha Thank you thank you

  • @ScraggyDogg
    @ScraggyDogg Před měsícem

    Tonight playing with a workflow I found I could get someone to (kind of) walk by getting images in the right order, this kind of baffled me, I sit down and put TV on and see this. Thankyou so much for showing me what my workflow is telling me is possible. Many thanks for all your contributions.

  • @caseyj789456
    @caseyj789456 Před 11 dny

    Thanks Mateo for this great topic that I am not ready (yet!) at all

  • @kieranmcmillan2352
    @kieranmcmillan2352 Před 24 dny

    This is great tutorial. As a newbie to ComfyUI I found there were a lot of additional things I needed to download that weren't mentioned such as Clip Vision 😉

  • @user-cx6jd2bj9k
    @user-cx6jd2bj9k Před měsícem +1

    OMG, This is a great job , thank you so much

  • @tartwinkler1711
    @tartwinkler1711 Před měsícem +1

    Seems like a great base to use when upscaling video. Upscale the key frames but also utilize the original animation for controlling pose or whatever. Very cool technique

  • @motgarbob7551
    @motgarbob7551 Před měsícem +2

    thank you for this helpful tutorial

  • @user-bj5cp8qy2p
    @user-bj5cp8qy2p Před měsícem

    This is super, Matteo. Why are you so good at this?

  • @kargulo
    @kargulo Před měsícem +10

    also i can not find controlGIF.ckpt file

  • @alexijohansen
    @alexijohansen Před měsícem +1

    These videos are great!

  • @Lazniak
    @Lazniak Před měsícem +1

    Incredible! ThankU❤

  • @longjump5937
    @longjump5937 Před 19 hodinami

    It's amazing!very usefully video,thank you

  • @831digital
    @831digital Před měsícem +4

    The best channel for learning comfy.

  • @Greenthum6
    @Greenthum6 Před měsícem

    Cool! I need a lot of animation frames, so image cherry picking and manual keyframing just doesn't cut it, but this method works great for shorter and detailed animations.
    Suggestion: color code the nodes so it would be easier to follow. With all grey nodes, it is hard to follow, especially on mobile phone.
    I hope we will see more animation stuff soon;)

  • @NeoCentral02131
    @NeoCentral02131 Před měsícem +4

    Nicee, thanks, you think vid2vid is coming soon?

  • @chilouxArt
    @chilouxArt Před měsícem

    I was the 1337 view. Must be a sign!
    (Thanks Matteo, for your great work to the community!)

  • @jeffalvesdelima9634
    @jeffalvesdelima9634 Před 24 dny

    This is brilliant--thank you for sharing!
    Is it possible to apply a style lora into the workflow? The IP adapter gets the look pretty close, but if a custom style lora could be applied in conjunction with the IP adapter that would push things to a whole new level.

  • @sickvr7680
    @sickvr7680 Před měsícem

    My God, ... Mateo, my master, eternal respect to you, I am shocked by your knowledge.
    I just hope my 1080Ti can handle this xD
    Thanks one again!

  • @GG-hh1sl
    @GG-hh1sl Před měsícem

    My utmost gratitude man, what you're doing is insane!

  • @vivigomez5960
    @vivigomez5960 Před měsícem +1

    Awesome!! I enjoy all of your videos

  • @ysy69
    @ysy69 Před měsícem +4

    This is wonderful. Thank you always. This only works for SD1.5 models, correct?

    • @latentvision
      @latentvision  Před měsícem +5

      there are a couple of SDXL models for AnimateDiff, but they don't work very well

  • @jielo9358
    @jielo9358 Před 12 dny

    Thank you for the in-depth video! But where do I get the ControlGIF model for the ControlNet node?

  • @moritzryser
    @moritzryser Před měsícem +5

    will try this with my drawings🔥

  • @mattm7319
    @mattm7319 Před měsícem

    Matt30! Multo-grazie!

  • @JamBassMusic
    @JamBassMusic Před měsícem

    What you think to add an image interrogator from the last images batch multiple and connect it to the Prompt Schedule? It will require string format but I guess it could work...

  • @florianbeers5540
    @florianbeers5540 Před 24 dny

    I love the workflow! is there any chance to get less movement in your second example? LIke can I tell the AnimateDiff Node to decrease the movements from frame to frame?

    • @latentvision
      @latentvision  Před 24 dny +1

      you can run it slower by increasing the number of frames

  • @dck7048
    @dck7048 Před měsícem

    Outstanding as usual, thanks for the great work!

  • @shshsh-zy5qq
    @shshsh-zy5qq Před měsícem

    oh man Matteo Thank you so much this is what I have been looking for! possibly I could apply batches of mask to make an animation? like I get a sequence of water movement and get masks of the sequence. connect the masks to attention mask to create other objects moving mimicking water movement.

  • @tomayaster
    @tomayaster Před měsícem

    Hello Matteo, Thank you for the great tool and tutorials! I haven a question. I am unable to use this technique mantaining the characteristics of the image I am using. For some reason the result comes different from the input I have created. What is the parameter thet controls how much of the input image is used? Can I force it to just follow it? Cheers

  • @carloseduardocensurado4937

    Very Nice! Works PERFECT, if you want to use V3 motion model, simple use HYPERSD lora, 8 steps.

  • @edoardoottone6548
    @edoardoottone6548 Před měsícem

    Thanks!

  • @lorielverlomme8103
    @lorielverlomme8103 Před měsícem +1

    Wonderfull THX

  • @fuzzyrock3146
    @fuzzyrock3146 Před měsícem

    Hi Matteo!
    Your new video is so great! I want to ask what is your PC specs (CPU, GPU, RAM)?
    Thanks a lot for these videos, I learned a lot!

    • @latentvision
      @latentvision  Před měsícem +1

      amd 59xx, 64gb ram, nvidia 4090 running on linux

  • @skycladsquirrel
    @skycladsquirrel Před měsícem +1

    Fantastic! 🎉 wonderful video

  • @user-in1mg9id2u
    @user-in1mg9id2u Před měsícem

    you are CRAZY(in the good way), OMG

  • @PeterBowlesify
    @PeterBowlesify Před měsícem

    This is INCREDIBLE. Thank you!

  • @KDawg5000
    @KDawg5000 Před měsícem +7

    I keep getting this error: "Prompt outputs failed validation - IPAdapterBatch:
    - Exception when validating inner node: tuple index out of range"
    EDIT: I did an update all and now this error is gone, but got a new one.
    "Error occurred when executing IPAdapterBatch:
    cannot access local variable 'face_image' where it is not associated with a value"
    If I bypass the 2nd IPAdapter node, it works? So something it doesn't like w/that node.
    EDIT:
    The problem was the IPAdapter weights was set to "full batch" instead of alternate. So was wasn't getting any images for the 2nd IPAdapter.

  • @CoolMusicVibes526
    @CoolMusicVibes526 Před měsícem +1

    Always amazing!

  • @simonrobson615
    @simonrobson615 Před 8 dny +1

    Hey Matteo, thanks so much for this. Is thee a workflow for creating such consistent character images like you did with the blond girl?

    • @latentvision
      @latentvision  Před 8 dny

      as I said in the video it's mostly prompting, but if you add an IPAdapter of the first generation the subsequent will be very close to it

    • @simonrobson615
      @simonrobson615 Před 6 dny

      @@latentvision Thank you, I should have watched the video before asking the question :) Your videos and time developing these nodes is of huge benefit to the open AI community, thank you!

  • @cdrbroda
    @cdrbroda Před měsícem

    Matteo é o melhor!

  • @midjourneyman
    @midjourneyman Před měsícem +1

    Great update! Banodoco is indeed amazing!

  • @Mika43344
    @Mika43344 Před měsícem +1

    Great as always!!! 🎉

  • @AnotherPlace
    @AnotherPlace Před měsícem

    Ugghh i love your brain sir ...

    • @latentvision
      @latentvision  Před měsícem +3

      I knew it! the zombie apocalypse has started!

  • @SheRoMan
    @SheRoMan Před měsícem

    Thanks as always ... I have a question .. Can we make it loop video?

    • @latentvision
      @latentvision  Před měsícem +1

      there's a way to make kinda looping videos in animatediff, check the main repository

  • @Ai-dl2ut
    @Ai-dl2ut Před měsícem +4

    you are geniuses

  •  Před 29 dny +1

    There needs to be a frame that is perfectly from behind. Otherwise you'll get that crazy Popeye-jaw.

  • @baseerfarooqui5897
    @baseerfarooqui5897 Před měsícem

    very informatic tutorial, when i running fire water workflow i am getting error from prompt sheduler which is missing 4 req positional arguments: pw_a, pw_b, pw_c and pw_d. pls suggest me what is the solution. thanks

  • @AB-wf8ek
    @AB-wf8ek Před měsícem

    Awesome work! I previously tried the IPAdapter Batch node with a Batch Value Schedule node, but this is a very different process than I was expecting. What exactly is the reason for doing alternating batches?

    • @AB-wf8ek
      @AB-wf8ek Před měsícem

      BTW - There's a Make Image Batch node in the Impact pack that allows you to add as many images to a batch in a single node as you want. Also, there's an AnimateLCM_sd15_t2v_lora.safetensor that you can load as a LoRA in combination with the AnimateLCM motion model which you can find on wangfuyun's Hugging Face repository. Though I haven't really tested it against using the regular LCM Lora, so not sure how much of a difference it makes.

    • @AB-wf8ek
      @AB-wf8ek Před měsícem

      After playing around, I realize alternating batches is to reduce out of memory errors and do longer sequences

    • @Justin-AI
      @Justin-AI Před měsícem

      @@AB-wf8ek hello, I checked sha256 for both "AnimateLCM_sd15_t2v_lora.safetensor" and "sd15_lcm_lora.safetensor", found there sha256 is the same! So there is no difference between this two lora LOL.

  • @tonytitani410
    @tonytitani410 Před měsícem

    I'm getting a 'TypeError: can't multiply sequence by non-int of type float' when I try your workflow?

  • @Bicyclesidewalk
    @Bicyclesidewalk Před 26 dny

    What is up with the Shutterstock watermark in the final image?

  • @shshsh-zy5qq
    @shshsh-zy5qq Před 15 dny

    6:54 hey Matteo I extracted frames from video and placed the frames into a folder. Instead of using 'Load Image' node one by one, Is there any node automatically load up images from a folder in order? like files names are in order so it can load up images automatically in order. Thank you always.

  • @erdmanai
    @erdmanai Před měsícem

    I LOVE YOUR WORK MAN

  • @deastman2
    @deastman2 Před měsícem

    How do we find that Discord server you mentioned at the beginning?

  • @velvetjones8634
    @velvetjones8634 Před měsícem +1

    Thank you!

  • @techzuhaib99
    @techzuhaib99 Před měsícem +1

  • @user-hw8nl6jf8k
    @user-hw8nl6jf8k Před měsícem

    Cool

  • @drmuradkhan
    @drmuradkhan Před měsícem +1

    Awesome work

  • @RobinHahnRN
    @RobinHahnRN Před 28 dny

    Not sure if this was mentioned, but for the life of me I couldn't find the Images Batch Multiple node. Took a bit of searching (Manager was quite unhelpful, here) until I found it was part of the ComfyUI Essentials pack. Hope this helps someone.

  • @somefallingleaves
    @somefallingleaves Před měsícem +1

    The url in notes for the GIF controlnet model does not lead to that model unless these other motion models are the same thing by a different name.

  • @dan323609
    @dan323609 Před měsícem

    Why sgm_uniform? Karras worse?

  • @elowine
    @elowine Před měsícem

    I got a question about the IPAdapter Weights node. If you want to " hold" one of the input images for a while instead of constantly evolving, how would one approach this. You can increase the number of Frames used but it's still moving forward to the next input image, could you somehow freeze this for a few frames? Or am I asking to much now haha.

    • @latentvision
      @latentvision  Před 29 dny +1

      the easiest is to repeat the frame twice

  • @kleber1983
    @kleber1983 Před měsícem

    Got this error while executing: Error occurred when executing IPAdapterBatch:
    float() argument must be a string or a real number, not 'list' Any help? thanks.

  • @andreaavellino7462
    @andreaavellino7462 Před 17 dny

    Hey Matteo, I don't seem to find the "lcm-lora-sd15.safetensors" file anywhere online. I've followed your links in description but they bring me to .ckpt files, so I'm a bit confused here. Can you please help? Thanks a lot for your time.

  • @aviator4922
    @aviator4922 Před měsícem +1

    Awesome !!

  • @twinborn.
    @twinborn. Před měsícem

    🐐🐐🐐🐐🐐🐐

  • @simonrobson615
    @simonrobson615 Před dnem

    Hey Matteo, sorry another annoying question from me. Your workflow works a charm and I'm having great results with the typography workflow. I've been trying to create a moment at the beginning before the first word comes in. I can do this by adding a black image in the Images Batch Multiple node before the first word. But the result is that there is no 'die off' after the second word. I've tried many things; adding 2 black frames at the end, repeating the second prompt 3 times in the Prompt Schedule From Weights Strategy node, adding more frames in the IPAdapter Weights node, but nothing seems to work. Any thoughts would be helpful. I know you're not getting paid for this so I appreciate any help at all

    • @latentvision
      @latentvision  Před dnem

      hard to say without seeing your workflow. but generally speaking you need to add a "fire" frame at the beginning (so animation starts with 2 fire images basically) and then a black frame for the control net

  • @bipinpeter7820
    @bipinpeter7820 Před měsícem

    Super cool!! keep going 👍​

  • @AonSolarra
    @AonSolarra Před měsícem

    You mention a Discord channel for animation (Bannadoku or somthing - its hard to hear). Can you provide a link or the correct name?

    • @elowine
      @elowine Před měsícem

      banodoco, see you there :D

    • @AonSolarra
      @AonSolarra Před měsícem

      @@elowine When searching Discord communities for banadoco I get zero hits. Do you need an invite link to find it?

  • @samlavi
    @samlavi Před měsícem

    Getting this error, any idea why? Required input is missing: encode_batch_size

    • @latentvision
      @latentvision  Před měsícem

      you probably just need to refresh the page

  • @eias3d
    @eias3d Před 29 dny

    Hey Master Matteo! Trying here on a Mac Silicon..
    In the end of the script, I see this error:
    "RuntimeError: MPS: Unsupported Border padding mode"
    Probably a Mac error? :(

    • @latentvision
      @latentvision  Před 29 dny +1

      please report the error on github, posting the full backtrace. thanks

  • @mehradbayat9665
    @mehradbayat9665 Před měsícem

    What is the software called when you were refining the images?

    • @latentvision
      @latentvision  Před měsícem +2

      it's an open source software called GIMP

    • @goodie2shoes
      @goodie2shoes Před měsícem

      I'm not sure but I think Mateo mentioned gimp in one of his earlier video's

    • @Grunacho
      @Grunacho Před měsícem

      Good open source tools are also photopea and Krita 😉

  • @siegekeebs
    @siegekeebs Před měsícem

    Hmm, when trying to use your workflow I'm getting this error
    When loading the graph, the following node types were not found:
    IPAdapterBatch
    IPAdapterUnifiedLoader
    IPAdapterWeights
    IPAdapterNoise
    Nodes that have failed to load will show as red on the graph.
    I've updated ComfyUI_IPAdapter_plus , deleted and recloned, deleted and redownloaded through manager, and I continue to get the same error each time.
    no module named "node helpers" is why it fails to import

    • @elowine
      @elowine Před měsícem

      Is your ComfyUI up to date? That sometimes messes things up for me. Can try a git pull when inside the ComfyUI folder and after that try to update IPA again.

    • @siegekeebs
      @siegekeebs Před měsícem

      @@elowine I'll give that a try, I haven't updated in a few weeks

  • @moviecartoonworld4459
    @moviecartoonworld4459 Před měsícem +1

    I'm happy thanks to your video. thank you.🥰🥰🥰🥰

  • @Ratinod
    @Ratinod Před měsícem +2

    controlGIF is "motion_checkpoint_less_motion" or "motion_checkpoint_more_motion" from "crishhh/animatediff_controlnet" ?

    • @latentvision
      @latentvision  Před měsícem +1

      normal motion :D

    • @Ratinod
      @Ratinod Před měsícem

      @@latentvision Most likely it's controlnet_checkpoint.ckpt from "crishhh/animatediff_controlnet"

    • @latentvision
      @latentvision  Před měsícem +2

      I believe I put the link inside the workflow in a note node

    • @Ratinod
      @Ratinod Před měsícem

      @@latentvision You're right. It turns out that I was let down by the habit of repeating what I saw from your videos without using ready-made workflows :).

    • @user-uv4vv4mk4j
      @user-uv4vv4mk4j Před měsícem +2

      @@latentvision I don't understand your conversation. Which model is controlGIF?

  • @ogrekogrek
    @ogrekogrek Před měsícem

    It's great. Thx

  • @mehradbayat9665
    @mehradbayat9665 Před měsícem

    Can someone explain how the weights strategy parameter works?

    • @AB-wf8ek
      @AB-wf8ek Před měsícem +3

      If you hook it up to a Display Any node, you'll see what the outputs are. It looks like it's a list of parameters specific to Matteo's nodes in order to generate the appropriate keyframes. Essentially it's a parametric way of calculating the keyframes, that way you can add or remove images and it will automatically adjust the keyframes accordingly. This replaces the need to use something like Batch Prompt Schedule or Batch Value Schedule nodes to manually enter in keyframe values.

  • @elowine
    @elowine Před měsícem +2

    I can stop F5-ing now 😄I'm 300 images in, and still no back of the head image, I love the tech, I hate the prompting 😅

    • @luman1109
      @luman1109 Před měsícem +1

      use the composition IPadapter

  • @beatemero6718
    @beatemero6718 Před 28 dny

    Hello Sir. Can you Please help me out? ipAdapter faceid suddenly got extremely slow and I have no idea Now to fix it. It did not use to be that slow. Do you have any idea what I could do?

    • @latentvision
      @latentvision  Před 28 dny

      please join my discord or post an issue on github, it's hard to escalate on an youtube comment

    • @beatemero6718
      @beatemero6718 Před 28 dny

      @@latentvision i understad that. You are right. I will join the dicord and post it as an issue. Thank you for your Work.

  • @user-yb5es8qm3k
    @user-yb5es8qm3k Před měsícem

    Hello author, read Embed group ipadpt Where can I download this file

  • @JosefK2275
    @JosefK2275 Před 14 dny

    couldn't these setups be packaged into the program so we just change the variables instead of going to such a steep learning curve?

  • @voxyloids8723
    @voxyloids8723 Před měsícem +1

    Maestro! ❤

  • @pchungvt
    @pchungvt Před měsícem

    Looks like Kara from detroid become human :)

  • @seminole3001
    @seminole3001 Před měsícem

    Someone knows the node for his "images batch multiples" and "ipadapter weights" ? thk you

    • @latentvision
      @latentvision  Před měsícem +1

      comfyui essentials and ipadapter of course

    • @seminole3001
      @seminole3001 Před měsícem

      @@latentvision thk you for the answer and your work.

    • @seminole3001
      @seminole3001 Před měsícem

      Another question... why you don't use the node "everywhere" ? Did you encoutered trouble with it ?

    • @latentvision
      @latentvision  Před měsícem

      @@seminole3001 it makes the workflow very difficult to follow especially when teaching. In a node system like comfy it's considered an "anti-pattern"

    • @seminole3001
      @seminole3001 Před měsícem

      @@latentvision last question, the model animateGIF ? Did you rename it ? I don't find a link to download it...

  • @eliganim
    @eliganim Před měsícem +1

    Matteo: "Life's too short for slow generations" 😅👍

  • @javhus
    @javhus Před měsícem +1

    You are the GOAT

  • @user-jx1iz2lt3r
    @user-jx1iz2lt3r Před měsícem

    my efficiency-nodes-comfyui have been failing to install. What should I do .I have repeatedly installed it many times

  • @sherpya
    @sherpya Před měsícem

    ok another planet... a different diffusion 😂

  • @MarkDrMindsetChavez
    @MarkDrMindsetChavez Před měsícem

    ciao!

  • @renascence239
    @renascence239 Před měsícem

    Looks like crap, sorry

  • @joangonzalez8394
    @joangonzalez8394 Před měsícem

    Genius at Work 🧞

  • @treedruids5776
    @treedruids5776 Před měsícem

    this is so incredible ! 🥹😍