Animation with weight scheduling and IPAdapter

Поділитися
Вставка
  • Опубліковано 28 січ 2025

КОМЕНТАРІ • 181

  • @dasomen
    @dasomen 9 місяців тому +21

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

  • @nelsonporto
    @nelsonporto 9 місяців тому +43

    This is history in the making.

    • @latentvision
      @latentvision  9 місяців тому +4

      damn, I'm so old already?!

    • @RetzyWilliams
      @RetzyWilliams 9 місяців тому

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

    • @treedruids5776
      @treedruids5776 9 місяців тому

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

  • @zenko4187
    @zenko4187 9 місяців тому +30

    Someone should be paying this man.

  • @huwhitememes
    @huwhitememes 9 місяців тому +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 9 місяців тому +3

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

  • @julienblanchon6082
    @julienblanchon6082 9 місяців тому +68

    I've never clicked so fast on a UA-cam thumbnail !

  • @AI_Creatives_Toolbox
    @AI_Creatives_Toolbox 7 місяців тому +1

    This looks totally mind blowing! Thanks for sharing! Would love to watch a breakdown that is suited more for beginners, especially for the later part.

  • @edoardoottone6548
    @edoardoottone6548 9 місяців тому

    Thanks!

  • @WhySoBroke
    @WhySoBroke 9 місяців тому +1

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

  • @ScraggyDogg
    @ScraggyDogg 8 місяців тому

    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 8 місяців тому

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

  • @KananaEstate
    @KananaEstate 8 місяців тому +1

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

  • @adrianorocha9277
    @adrianorocha9277 9 місяців тому +1

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

  • @KDawg5000
    @KDawg5000 9 місяців тому +8

    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.

    • @digitalflick
      @digitalflick 9 місяців тому

      same

    • @MassimilianoMitch
      @MassimilianoMitch 9 місяців тому +1

      same problem with "face_image" error. Thanks for the solutions in edit.

    • @darrynrogers204
      @darrynrogers204 8 місяців тому

      Thanks for the solution!

    • @zambalam
      @zambalam 5 місяців тому

      Legend thank you I had this same issue, thanks for posting the solution!

  • @tartwinkler1711
    @tartwinkler1711 9 місяців тому +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

  • @IconsciousArt
    @IconsciousArt 8 місяців тому

    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 😉

  • @zhonkvision
    @zhonkvision 7 місяців тому

    Thank you, I learn new stuff from here, all the love for you

  • @TheGalacticIndian
    @TheGalacticIndian 9 місяців тому +45

    When Matteo speaks, I listen👌👌

    • @MerajKhan-dh3wy
      @MerajKhan-dh3wy 9 місяців тому

      Kindly make about clothes and garments on modern

    • @Plutonium292
      @Plutonium292 3 місяці тому

      While I'm overwhelming about all the node and how the man know to use them
      Mateo: this is only the tip of the iceberg 😳

  • @jakbaustudio
    @jakbaustudio 7 місяців тому

    Great stuff. Thank you very much for your knowledge. Have a good day!

  • @logictunhien
    @logictunhien 9 місяців тому +1

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

  • @ysy69
    @ysy69 9 місяців тому +4

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

    • @latentvision
      @latentvision  9 місяців тому +6

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

  • @Greenthum6
    @Greenthum6 9 місяців тому

    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;)

  • @somefallingleaves
    @somefallingleaves 9 місяців тому +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.

  • @alexijohansen
    @alexijohansen 9 місяців тому +1

    These videos are great!

  • @motgarbob7551
    @motgarbob7551 9 місяців тому +2

    thank you for this helpful tutorial

  • @831digital
    @831digital 9 місяців тому +4

    The best channel for learning comfy.

  • @NeoCentral02131
    @NeoCentral02131 9 місяців тому +4

    Nicee, thanks, you think vid2vid is coming soon?

  • @Radarhacke
    @Radarhacke 6 місяців тому

    Great! Thanks also for sharing your files. Now i am waiting for ipadapter wich can handle higher resolution and also waiting for more context length with animatediff.

  • @jielo9358
    @jielo9358 8 місяців тому +1

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

  • @simonrobson615
    @simonrobson615 8 місяців тому +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  8 місяців тому +1

      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 8 місяців тому

      @@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!

  • @shshsh-zy5qq
    @shshsh-zy5qq 8 місяців тому

    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.

    • @latentvision
      @latentvision  8 місяців тому

      check the node "load images path"

  • @baseerfarooqui5897
    @baseerfarooqui5897 8 місяців тому

    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

  • @sickvr7680
    @sickvr7680 8 місяців тому

    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!

  • @simonrobson615
    @simonrobson615 7 місяців тому

    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  7 місяців тому

      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

  • @longjump5937
    @longjump5937 7 місяців тому

    It's amazing!very usefully video,thank you

  • @chilouxArt
    @chilouxArt 9 місяців тому

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

  • @Lazniak
    @Lazniak 9 місяців тому +1

    Incredible! ThankU❤

  • @tomayaster
    @tomayaster 8 місяців тому

    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

  • @kargulo
    @kargulo 9 місяців тому +11

    also i can not find controlGIF.ckpt file

    • @S.Korolev
      @S.Korolev 8 місяців тому

      any luck with it?

    • @MrPlasmo
      @MrPlasmo 5 місяців тому

      were you able to find the .ckpt file?

  • @siliconbrush
    @siliconbrush 7 місяців тому

    I love this guy!

  • @atenore_
    @atenore_ 7 місяців тому

    Hey Matteo, thanks for the amazing job you're doing.
    Following this workflow i get an error: "only integer tensors of a single element can be converted to an index".
    This is happening when i turn the IPAdapter Batch nodes "weight" widgets to inputs and connect them to the IPAdapter Weights node output.
    Somehow if i turn back those weights inputs into widgets, the Sampler is able to process them, but ofc i don't get the desired result.
    Do you know what this might be related to?

    • @latentvision
      @latentvision  7 місяців тому +1

      please post an issue on the official repository adding workflow and complete error message

  • @shshsh-zy5qq
    @shshsh-zy5qq 9 місяців тому

    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.

  • @JamBassMusic
    @JamBassMusic 9 місяців тому

    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...

  • @RobinHahnRN
    @RobinHahnRN 8 місяців тому

    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.

  • @jeffalvesdelima9634
    @jeffalvesdelima9634 8 місяців тому

    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.

  • @Ratinod
    @Ratinod 9 місяців тому +2

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

    • @latentvision
      @latentvision  9 місяців тому +1

      normal motion :D

    • @Ratinod
      @Ratinod 9 місяців тому

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

    • @latentvision
      @latentvision  9 місяців тому +2

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

    • @Ratinod
      @Ratinod 9 місяців тому

      @@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 :).

    • @lijiang-g2s
      @lijiang-g2s 9 місяців тому +2

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

  • @fuzzyrock3146
    @fuzzyrock3146 9 місяців тому

    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  9 місяців тому +1

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

  • @andreaavellino7462
    @andreaavellino7462 8 місяців тому

    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.

    • @latentvision
      @latentvision  8 місяців тому

      search LCM LORA on huggingface

  • @JosefK2275
    @JosefK2275 8 місяців тому

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

  • @tonytitani410
    @tonytitani410 9 місяців тому

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

  • @elowine
    @elowine 8 місяців тому

    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  8 місяців тому +1

      the easiest is to repeat the frame twice

  • @mr.justdoev8245
    @mr.justdoev8245 4 місяці тому

    Does this work for images without people? For example for making a video of clouds flowing

    • @latentvision
      @latentvision  4 місяці тому +1

      sure, it works with anything

  • @beatemero6718
    @beatemero6718 8 місяців тому

    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  8 місяців тому

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

    • @beatemero6718
      @beatemero6718 8 місяців тому

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

  • @gabrielmoro3d
    @gabrielmoro3d 13 днів тому +1

    Thank you!!

  • @florianbeers5540
    @florianbeers5540 8 місяців тому

    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  8 місяців тому +1

      you can run it slower by increasing the number of frames

  • @lilien_rig
    @lilien_rig 5 місяців тому

    very good tutorial, thanks for all (:

  •  8 місяців тому +3

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

  • @taihsiunghuang4691
    @taihsiunghuang4691 7 місяців тому

    This tutorial is really great! Very practical!(sponsored!) But I have a small question: if I don't want the original image to change, which parameters do I need to adjust? I tried ControlNet, but it doesn't seem to work.

    • @latentvision
      @latentvision  7 місяців тому

      with animatediff the original image will always change to a certain degree. You can use video2video or controlnets, but it's not like SVD for example that it starts from a given frame and reiterate on that

  • @eias3d
    @eias3d 8 місяців тому

    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  8 місяців тому +1

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

  • @siegekeebs
    @siegekeebs 9 місяців тому

    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 9 місяців тому

      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 9 місяців тому

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

  • @Bicyclesidewalk
    @Bicyclesidewalk 8 місяців тому

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

  • @YouCanDoItTootorials
    @YouCanDoItTootorials 7 місяців тому

    i dont have sgm_uniform as a scheduler. can someone point out how/what to get this?

  • @SheRoMan
    @SheRoMan 9 місяців тому

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

    • @latentvision
      @latentvision  9 місяців тому +1

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

  • @samlavi
    @samlavi 9 місяців тому

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

    • @latentvision
      @latentvision  9 місяців тому

      you probably just need to refresh the page

  • @seminole3001
    @seminole3001 9 місяців тому

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

    • @latentvision
      @latentvision  9 місяців тому +1

      comfyui essentials and ipadapter of course

    • @seminole3001
      @seminole3001 9 місяців тому

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

    • @seminole3001
      @seminole3001 9 місяців тому

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

    • @latentvision
      @latentvision  9 місяців тому

      @@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 9 місяців тому

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

  • @IntiArtDesigns
    @IntiArtDesigns 6 місяців тому

    Not gonna lie, a lot of this just went straight over my head. lol How the hell did you get so good with comfy?

  • @mattm7319
    @mattm7319 9 місяців тому

    Matt30! Multo-grazie!

  • @AonSolarra
    @AonSolarra 9 місяців тому

    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 9 місяців тому

      banodoco, see you there :D

    • @AonSolarra
      @AonSolarra 9 місяців тому

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

  • @mehradbayat9665
    @mehradbayat9665 9 місяців тому

    Can someone explain how the weights strategy parameter works?

    • @AB-wf8ek
      @AB-wf8ek 9 місяців тому +4

      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.

  • @satishpillaigamedev
    @satishpillaigamedev 6 місяців тому

    in the first pass how did u get consistent characters

  • @moritzryser
    @moritzryser 9 місяців тому +5

    will try this with my drawings🔥

  • @dan323609
    @dan323609 9 місяців тому

    Why sgm_uniform? Karras worse?

    • @ryanontheinside
      @ryanontheinside 7 місяців тому

      If I remember correctly it is recommended with LCM sampler

  • @mehradbayat9665
    @mehradbayat9665 9 місяців тому

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

    • @latentvision
      @latentvision  9 місяців тому +2

      it's an open source software called GIMP

    • @goodie2shoes
      @goodie2shoes 9 місяців тому

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

    • @Grunacho
      @Grunacho 9 місяців тому

      Good open source tools are also photopea and Krita 😉

  • @AnotherPlace
    @AnotherPlace 9 місяців тому

    Ugghh i love your brain sir ...

    • @latentvision
      @latentvision  9 місяців тому +3

      I knew it! the zombie apocalypse has started!

  • @deastman2
    @deastman2 9 місяців тому

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

    • @latentvision
      @latentvision  9 місяців тому

      try this discord.gg/WdpGf2tx

  • @cdrbroda
    @cdrbroda 9 місяців тому

    Matteo é o melhor!

  • @GG-hh1sl
    @GG-hh1sl 9 місяців тому

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

  • @elowine
    @elowine 9 місяців тому +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 9 місяців тому +1

      use the composition IPadapter

  • @tengdongmei
    @tengdongmei 8 місяців тому

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

  • @vivigomez5960
    @vivigomez5960 9 місяців тому +1

    Awesome!! I enjoy all of your videos

  • @엠케이-p3p
    @엠케이-p3p 9 місяців тому

    you are CRAZY(in the good way), OMG

  • @techzuhaib99
    @techzuhaib99 9 місяців тому +1

  • @dck7048
    @dck7048 9 місяців тому

    Outstanding as usual, thanks for the great work!

  • @lorielverlomme8103
    @lorielverlomme8103 9 місяців тому +1

    Wonderfull THX

  • @Mika43344
    @Mika43344 9 місяців тому +1

    Great as always!!! 🎉

  • @T8star-Aix
    @T8star-Aix 9 місяців тому

    Cool

  • @PeterBowlesify
    @PeterBowlesify 9 місяців тому

    This is INCREDIBLE. Thank you!

  • @HauntedValkyrie
    @HauntedValkyrie 9 місяців тому +1

    Always amazing!

  • @erdmanai
    @erdmanai 9 місяців тому

    I LOVE YOUR WORK MAN

  • @twinborn.
    @twinborn. 9 місяців тому

    🐐🐐🐐🐐🐐🐐

  • @drmuradkhan
    @drmuradkhan 9 місяців тому +1

    Awesome work

  • @Ai-dl2ut
    @Ai-dl2ut 9 місяців тому +4

    you are geniuses

  • @midjourneyman
    @midjourneyman 9 місяців тому +1

    Great update! Banodoco is indeed amazing!

  • @skycladsquirrel
    @skycladsquirrel 9 місяців тому +1

    Fantastic! 🎉 wonderful video

  • @voxyloids8723
    @voxyloids8723 8 місяців тому +1

    Maestro! ❤

  • @pchungvt
    @pchungvt 9 місяців тому

    Looks like Kara from detroid become human :)

  • @Yuuyu_play
    @Yuuyu_play 4 місяці тому

    😇😇😇

  • @bipinpeter7820
    @bipinpeter7820 9 місяців тому

    Super cool!! keep going 👍​

  • @aviator4922
    @aviator4922 9 місяців тому +1

    Awesome !!

  • @---Nikita--
    @---Nikita-- 4 місяці тому

    Странно, я полностью повторил это видео и у меня совершенно другой результат. Все модели теже. Но на выходе получается уродливое видео :(
    Этот метод больше не работает?