Тёмный

Animation with weight scheduling and IPAdapter 

Подписаться
Просмотров 34 тыс.
% 1 608

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/scheduled_weights.zip
Github sponsorship: github.com/sponsors/cubiq
Support with paypal: www.paypal.me/matt3o
Twitter: cubiq
My Discord server: discord.com/invite/W2DhHkcjgn
Banodoco Discord server: discord.com/invite/8Wx9dFu5tP
For the LCM model you use either the beta one: huggingface.co/wangfuyun/AnimateLCM/blob/5e54afbbe191f00b8a701f76770ade4fb14685dc/sd15_t2v_beta.ckpt
or the final version: huggingface.co/wangfuyun/AnimateLCM/blob/main/AnimateLCM_sd15_t2v.ckpt
00:00 Intro
01:10 Prep the keyframes
04:04 Scheduled weights
13:55 Scheduled prompt ipadapter and controlnet

Наука

Опубликовано:

 

30 апр 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 183   
@zenko4187
@zenko4187 5 месяцев назад
Someone should be paying this man.
@latentvision
@latentvision 5 месяцев назад
LOL, I agree! :D
@nelsonporto
@nelsonporto 5 месяцев назад
This is history in the making.
@latentvision
@latentvision 5 месяцев назад
damn, I'm so old already?!
@RetzyWilliams
@RetzyWilliams 5 месяцев назад
Although, you still will see flicker and issues at higher detail resolutions. These are very simple examples
@treedruids5776
@treedruids5776 5 месяцев назад
@@RetzyWilliamsits still really great ground building for the potential that others can do with this tool
@dasomen
@dasomen 5 месяцев назад
Can't thank you enough for your contributions to the field. You are truly a genius!
@latentvision
@latentvision 5 месяцев назад
one "thank" is enough :)
@julienblanchon6082
@julienblanchon6082 5 месяцев назад
I've never clicked so fast on a RU-vid thumbnail !
@latentvision
@latentvision 5 месяцев назад
🤣
@huwhitememes
@huwhitememes 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 5 месяцев назад
Amazing work Matteo as always. Proud to share italian roots with some talented guys like you.
@TheGalacticIndian
@TheGalacticIndian 5 месяцев назад
When Matteo speaks, I listen👌👌
@MerajKhan-dh3wy
@MerajKhan-dh3wy 5 месяцев назад
Kindly make about clothes and garments on modern
@AI_Creatives_Toolbox
@AI_Creatives_Toolbox 4 месяца назад
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.
@ScraggyDogg
@ScraggyDogg 5 месяцев назад
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.
@WhySoBroke
@WhySoBroke 5 месяцев назад
An absolutely awesome masterclass from Maestro Latente!!... so many great tips that I cannot thank you enough!!
@IconsciousArt
@IconsciousArt 5 месяцев назад
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 😉
@tartwinkler1711
@tartwinkler1711 5 месяцев назад
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
@jakbaustudio
@jakbaustudio 3 месяца назад
Great stuff. Thank you very much for your knowledge. Have a good day!
@caseyj789456
@caseyj789456 4 месяца назад
Thanks Mateo for this great topic that I am not ready (yet!) at all
@zhonkvision
@zhonkvision 3 месяца назад
Thank you, I learn new stuff from here, all the love for you
@adrianorocha9277
@adrianorocha9277 5 месяцев назад
I love you SO SO MUCH! Been waiting for this tutorial since I saw your post last week hahaha Thank you thank you
@TiếnCườngNguyễn-m1i
@TiếnCườngNguyễn-m1i 5 месяцев назад
OMG, This is a great job , thank you so much
@KDawg5000
@KDawg5000 5 месяцев назад
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 5 месяцев назад
same
@MassimilianoMitch
@MassimilianoMitch 5 месяцев назад
same problem with "face_image" error. Thanks for the solutions in edit.
@darrynrogers204
@darrynrogers204 5 месяцев назад
Thanks for the solution!
@zambalam
@zambalam 2 месяца назад
Legend thank you I had this same issue, thanks for posting the solution!
@831digital
@831digital 5 месяцев назад
The best channel for learning comfy.
5 месяцев назад
There needs to be a frame that is perfectly from behind. Otherwise you'll get that crazy Popeye-jaw.
@KananaEstate
@KananaEstate 5 месяцев назад
This is super, Matteo. Why are you so good at this?
@motgarbob7551
@motgarbob7551 5 месяцев назад
thank you for this helpful tutorial
@ysy69
@ysy69 5 месяцев назад
This is wonderful. Thank you always. This only works for SD1.5 models, correct?
@latentvision
@latentvision 5 месяцев назад
there are a couple of SDXL models for AnimateDiff, but they don't work very well
@longjump5937
@longjump5937 4 месяца назад
It's amazing!very usefully video,thank you
@jielo9358
@jielo9358 4 месяца назад
Thank you for the in-depth video! But where do I get the ControlGIF model for the ControlNet node?
@simonrobson615
@simonrobson615 4 месяца назад
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 4 месяца назад
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 4 месяца назад
@@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!
@Lazniak
@Lazniak 5 месяцев назад
Incredible! ThankU❤
@Radarhacke
@Radarhacke 2 месяца назад
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.
@siliconbrush
@siliconbrush 3 месяца назад
I love this guy!
@sickvr7680
@sickvr7680 5 месяцев назад
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!
@jeffalvesdelima9634
@jeffalvesdelima9634 5 месяцев назад
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.
@lilien_rig
@lilien_rig 2 месяца назад
very good tutorial, thanks for all (:
@shshsh-zy5qq
@shshsh-zy5qq 4 месяца назад
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 4 месяца назад
check the node "load images path"
@carloseduardocensurado4937
@carloseduardocensurado4937 4 месяца назад
Very Nice! Works PERFECT, if you want to use V3 motion model, simple use HYPERSD lora, 8 steps.
@GG-hh1sl
@GG-hh1sl 5 месяцев назад
My utmost gratitude man, what you're doing is insane!
@andreaavellino7462
@andreaavellino7462 4 месяца назад
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 4 месяца назад
search LCM LORA on huggingface
@atenore_
@atenore_ 4 месяца назад
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 4 месяца назад
please post an issue on the official repository adding workflow and complete error message
@florianbeers5540
@florianbeers5540 5 месяцев назад
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 5 месяцев назад
you can run it slower by increasing the number of frames
@alexijohansen
@alexijohansen 5 месяцев назад
These videos are great!
@NeoCentral02131
@NeoCentral02131 5 месяцев назад
Nicee, thanks, you think vid2vid is coming soon?
@simonrobson615
@simonrobson615 4 месяца назад
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 4 месяца назад
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
@CalvinHerbst
@CalvinHerbst 3 месяца назад
Thanks for the further development! Question: As it stands now the weighting and scheduling with IPAdapter can only be used to stich images together into a video; working in a t2v workflow. I'm wondering if there is a way to wire the nodes for video to video so that I can load a video and use IPAdapter weights + prompt travel to influence the video with different images at different times through the video.
@latentvision
@latentvision 3 месяца назад
yes of course, a video is just a series of images, it works just the same
@calvinherbst304
@calvinherbst304 3 месяца назад
@@latentvision I made a bit of a miscommunication; what I meant was that I'm looking for a way to use both load video and weighted IPAdapter so that different parts of the video will be influenced by the different images of the IPAdapter at different times, instead of building the output video directly from the IPAdapter inputs.
@Greenthum6
@Greenthum6 5 месяцев назад
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;)
@PeterBowlesify
@PeterBowlesify 5 месяцев назад
This is INCREDIBLE. Thank you!
@vivigomez5960
@vivigomez5960 5 месяцев назад
Awesome!! I enjoy all of your videos
@Bicyclesidewalk
@Bicyclesidewalk 5 месяцев назад
What is up with the Shutterstock watermark in the final image?
@taihsiunghuang4691
@taihsiunghuang4691 4 месяца назад
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 4 месяца назад
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
@moritzryser
@moritzryser 5 месяцев назад
will try this with my drawings🔥
@eias3d
@eias3d 5 месяцев назад
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 5 месяцев назад
please report the error on github, posting the full backtrace. thanks
@엠케이-p3p
@엠케이-p3p 5 месяцев назад
you are CRAZY(in the good way), OMG
@kargulo
@kargulo 5 месяцев назад
also i can not find controlGIF.ckpt file
@S.Korolev
@S.Korolev 4 месяца назад
any luck with it?
@MrPlasmo
@MrPlasmo 2 месяца назад
were you able to find the .ckpt file?
@mr.justdoev8245
@mr.justdoev8245 28 дней назад
Does this work for images without people? For example for making a video of clouds flowing
@latentvision
@latentvision 28 дней назад
sure, it works with anything
@somefallingleaves
@somefallingleaves 5 месяцев назад
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.
@latentvision
@latentvision 5 месяцев назад
just rename it
@tomayaster
@tomayaster 5 месяцев назад
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
@baseerfarooqui5897
@baseerfarooqui5897 5 месяцев назад
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
@chilouxArt
@chilouxArt 5 месяцев назад
I was the 1337 view. Must be a sign! (Thanks Matteo, for your great work to the community!)
@dck7048
@dck7048 5 месяцев назад
Outstanding as usual, thanks for the great work!
@tonytitani410
@tonytitani410 5 месяцев назад
I'm getting a 'TypeError: can't multiply sequence by non-int of type float' when I try your workflow?
@satishpillaigamedev
@satishpillaigamedev 3 месяца назад
in the first pass how did u get consistent characters
@JamBassMusic
@JamBassMusic 5 месяцев назад
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...
@JosefK2275
@JosefK2275 4 месяца назад
couldn't these setups be packaged into the program so we just change the variables instead of going to such a steep learning curve?
@latentvision
@latentvision 4 месяца назад
they could, yes
@elowine
@elowine 5 месяцев назад
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 5 месяцев назад
the easiest is to repeat the frame twice
@tengdongmei
@tengdongmei 5 месяцев назад
Hello author, read Embed group ipadpt Where can I download this file
@dan323609
@dan323609 5 месяцев назад
Why sgm_uniform? Karras worse?
@ryanontheinside
@ryanontheinside 3 месяца назад
If I remember correctly it is recommended with LCM sampler
@mattm7319
@mattm7319 5 месяцев назад
Matt30! Multo-grazie!
@fuzzyrock3146
@fuzzyrock3146 5 месяцев назад
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 5 месяцев назад
amd 59xx, 64gb ram, nvidia 4090 running on linux
@RobinHahnRN
@RobinHahnRN 5 месяцев назад
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.
@beatemero6718
@beatemero6718 5 месяцев назад
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 5 месяцев назад
please join my discord or post an issue on github, it's hard to escalate on an youtube comment
@beatemero6718
@beatemero6718 5 месяцев назад
@@latentvision i understad that. You are right. I will join the dicord and post it as an issue. Thank you for your Work.
@AnotherPlace
@AnotherPlace 5 месяцев назад
Ugghh i love your brain sir ...
@latentvision
@latentvision 5 месяцев назад
I knew it! the zombie apocalypse has started!
@samlavi
@samlavi 5 месяцев назад
Getting this error, any idea why? Required input is missing: encode_batch_size
@latentvision
@latentvision 5 месяцев назад
you probably just need to refresh the page
@SheRoMan
@SheRoMan 5 месяцев назад
Thanks as always ... I have a question .. Can we make it loop video?
@latentvision
@latentvision 5 месяцев назад
there's a way to make kinda looping videos in animatediff, check the main repository
@CoolMusicVibes526
@CoolMusicVibes526 5 месяцев назад
Always amazing!
@AonSolarra
@AonSolarra 5 месяцев назад
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 5 месяцев назад
banodoco, see you there :D
@AonSolarra
@AonSolarra 5 месяцев назад
@@elowine When searching Discord communities for banadoco I get zero hits. Do you need an invite link to find it?
@skycladsquirrel
@skycladsquirrel 5 месяцев назад
Fantastic! 🎉 wonderful video
@YouCanDoItTootorials
@YouCanDoItTootorials 4 месяца назад
i dont have sgm_uniform as a scheduler. can someone point out how/what to get this?
@siegekeebs
@siegekeebs 5 месяцев назад
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 5 месяцев назад
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 5 месяцев назад
@@elowine I'll give that a try, I haven't updated in a few weeks
@shshsh-zy5qq
@shshsh-zy5qq 5 месяцев назад
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.
@latentvision
@latentvision 5 месяцев назад
yeah that would work too
@deastman2
@deastman2 5 месяцев назад
How do we find that Discord server you mentioned at the beginning?
@latentvision
@latentvision 5 месяцев назад
try this discord.gg/WdpGf2tx
@midjourneyman
@midjourneyman 5 месяцев назад
Great update! Banodoco is indeed amazing!
@cdrbroda
@cdrbroda 5 месяцев назад
Matteo é o melhor!
@erdmanai
@erdmanai 5 месяцев назад
I LOVE YOUR WORK MAN
@Mika43344
@Mika43344 5 месяцев назад
Great as always!!! 🎉
@IntiArtDesigns
@IntiArtDesigns 2 месяца назад
Not gonna lie, a lot of this just went straight over my head. lol How the hell did you get so good with comfy?
@latentvision
@latentvision 2 месяца назад
practice I guess :)
@Ai-dl2ut
@Ai-dl2ut 5 месяцев назад
you are geniuses
@Ratinod
@Ratinod 5 месяцев назад
controlGIF is "motion_checkpoint_less_motion" or "motion_checkpoint_more_motion" from "crishhh/animatediff_controlnet" ?
@latentvision
@latentvision 5 месяцев назад
normal motion :D
@Ratinod
@Ratinod 5 месяцев назад
@@latentvision Most likely it's controlnet_checkpoint.ckpt from "crishhh/animatediff_controlnet"
@latentvision
@latentvision 5 месяцев назад
I believe I put the link inside the workflow in a note node
@Ratinod
@Ratinod 5 месяцев назад
@@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 5 месяцев назад
@@latentvision I don't understand your conversation. Which model is controlGIF?
@voxyloids8723
@voxyloids8723 5 месяцев назад
Maestro! ❤
@mehradbayat9665
@mehradbayat9665 5 месяцев назад
What is the software called when you were refining the images?
@latentvision
@latentvision 5 месяцев назад
it's an open source software called GIMP
@goodie2shoes
@goodie2shoes 5 месяцев назад
I'm not sure but I think Mateo mentioned gimp in one of his earlier video's
@Grunacho
@Grunacho 5 месяцев назад
Good open source tools are also photopea and Krita 😉
@lorielverlomme8103
@lorielverlomme8103 5 месяцев назад
Wonderfull THX
@elowine
@elowine 5 месяцев назад
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 5 месяцев назад
use the composition IPadapter
@edoardoottone6548
@edoardoottone6548 5 месяцев назад
Thanks!
@bipinpeter7820
@bipinpeter7820 5 месяцев назад
Super cool!! keep going 👍​
@moviecartoonworld4459
@moviecartoonworld4459 5 месяцев назад
I'm happy thanks to your video. thank you.🥰🥰🥰🥰
@drmuradkhan
@drmuradkhan 5 месяцев назад
Awesome work
@latentvision
@latentvision 5 месяцев назад
just doing my part
@techzuhaib99
@techzuhaib99 5 месяцев назад
@aviator4922
@aviator4922 5 месяцев назад
Awesome !!
@mehradbayat9665
@mehradbayat9665 5 месяцев назад
Can someone explain how the weights strategy parameter works?
@AB-wf8ek
@AB-wf8ek 5 месяцев назад
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.
@seminole3001
@seminole3001 5 месяцев назад
Someone knows the node for his "images batch multiples" and "ipadapter weights" ? thk you
@latentvision
@latentvision 5 месяцев назад
comfyui essentials and ipadapter of course
@seminole3001
@seminole3001 5 месяцев назад
@@latentvision thk you for the answer and your work.
@seminole3001
@seminole3001 5 месяцев назад
Another question... why you don't use the node "everywhere" ? Did you encoutered trouble with it ?
@latentvision
@latentvision 5 месяцев назад
@@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 5 месяцев назад
@@latentvision last question, the model animateGIF ? Did you rename it ? I don't find a link to download it...
@T8star-Aix
@T8star-Aix 5 месяцев назад
Cool
@velvetjones8634
@velvetjones8634 5 месяцев назад
Thank you!
@pchungvt
@pchungvt 5 месяцев назад
Looks like Kara from detroid become human :)