Тёмный

AnimateDiff - GIF Animation for A1111 and Google Colab 

Olivio Sarikas
Подписаться 233 тыс.
Просмотров 80 тыс.
50% 1

AnimateDiff makes creating Gif Animations in A1111 and Google Colab super easy.
#### Links from the Video ####
AnimateDiff Github: github.com/guo...
AnimateDiff Models Download: huggingface.co...
ToonYou Model: civitai.com/mo...
Notepad++ : notepad-plus-p...

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

 

25 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 133   
@OlivioSarikas
@OlivioSarikas Год назад
#### Links from the Video #### AnimateDiff Github: github.com/guoyww/animatediff/ AnimateDiff Models Download: huggingface.co/guoyww/animatediff/tree/main ToonYou Model: civitai.com/models/30240/toonyou Notepad++ : notepad-plus-plus.org/downloads/
@AIpowerment
@AIpowerment Год назад
availabel...so funny...thx for your great tuts
@nietzchan
@nietzchan Год назад
Here's an idea: Use lower frame per second with 24 frames max, then use RIFE to create in-between animation I think we could expand it to a smooth 24 seconds of animation even with current limitations
@OlivioSarikas
@OlivioSarikas Год назад
Sounds like a plan :)
@Artishtic
@Artishtic Год назад
I had trouble running it. When I have it set to the mm_sd_v15.ckpt model, it will only create one image like it's a normal txt2img generation, but when it's set to mm_sd_v14.ckpt, nothing generates, I get an error message in my cmd window, and my A1111 no longer works right unless I restart it. I'm going to go post my issue over to guoyww.
@technoprincess95
@technoprincess95 Год назад
The quality of animated diff is fantastic, sharp and the characters can move more clearly than just using spatial dimensions like in Deforum to make it move, but I wish it could be longer.
@jacque1331
@jacque1331 Год назад
Another upscaled quality content, Oli! Really love your vid tutorials. Thanks a million!
@jcdeton72
@jcdeton72 Год назад
Heyo Olivio, I just want to take the time to thank you for everything you do. Keep it up my friend!
@TheRupesh.Reacts
@TheRupesh.Reacts 8 месяцев назад
I am getting this error: CUDA backend failed to initialize: Found cuDNN version 8700, but JAX was built against version 8904, which is newer. The copy of cuDNN that is installed must be at least as new as the version against which JAX was built. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
@Anonymouse007
@Anonymouse007 Год назад
I'm using sd webui, and it is not showing the tabor below the adetailer.
@sazarod
@sazarod Год назад
This is just the beginning …
@OlivioSarikas
@OlivioSarikas Год назад
but one of the best i have seen so far :)
@axelshawAk
@axelshawAk Год назад
Yeah just think one day we'll be able to put ourselfs in movies and games at one point. Gosh I love what the future holds!!! 😊
@IM_GOING_TOO_HAM
@IM_GOING_TOO_HAM Год назад
Or we will be able to have 3d models to pose or create animations for, while it seamlessly renders a 2d picture.
@shivamkumarz
@shivamkumarz Год назад
Onslaught is now commencing
@OptimusGPrime
@OptimusGPrime Год назад
Or even better, add this technology to a VR or AR environment.
@Raketenclub
@Raketenclub Год назад
it seems the extension stopped working in a1111 v1.6 or so. i regret the update. tons of errors, had to mess around a lot and now it works randomly and creates total random pics they dont even look similar. somewhat annying. anyone else have this experience? it just creates 16 random pics, "a cat" and i feed a seed too. dont work as expected at all. the docu is also weird.
@yves_jotres
@yves_jotres 11 месяцев назад
It doesnt show up after installation, how to fix this without reinstalling entire automatic1111
@Shingo_AI_Art
@Shingo_AI_Art Год назад
I have really mixed results, sometimes it splits the sequence in two different GIFS, sometimes nothing is happening except some light flickering here and there...
@dragonmares59110
@dragonmares59110 Год назад
"12GB VRAM"...i really wish they focused more on efficiency.
@Elwaves2925
@Elwaves2925 Год назад
It might not be as easy as that. They can't just make things fit and still make it work the way they want, just like you can't fit four cars into two parking spaces. Efficency may not be a factor. It's unfortunate for those with lower gfx cards/systems but that's what Collab is for.
@jessejrlim
@jessejrlim Год назад
He wears the best shirts on the internet. His vids are pretty good too :D
@patchandy
@patchandy 10 месяцев назад
this is way too confusing and i gave up after 2 minutes lol
@notmyfall
@notmyfall Год назад
thank you for excellent and simple tutorial!
@DreadPop
@DreadPop Год назад
If you can't find it in the A1111 search, make sure to UNcheck "Hide Extensions with tags -> Script" and it will appear ;)
@jibcot8541
@jibcot8541 Год назад
So it seems mostly all its doing is generating a load of different images with a low cfg and stitching them together? (With a bit of a control network for consistency) It would be way better if you could prompt for an action for the character to perform like in text to video.
@amey_1337
@amey_1337 Год назад
I'm getting 2 different scenes every time in 1 gif. Prompt 'A cute dog running'. Number of frames 24. Then I get 12 frames of 1 dog running and rest 12 frames of a different dog running. Both these scenes are stitched together in a single gif file as output. What's happening?
@RussellKlimas
@RussellKlimas Год назад
There should be an error or something that tells you what you are missing. I ran into the same problem.
@77netwar
@77netwar Год назад
@@RussellKlimas I get the same problem without an error.
@DIGIT-WIRED-UNWIRED
@DIGIT-WIRED-UNWIRED Год назад
Me also and after every generation need to restart everything because dont stop playing the gif
@amey_1337
@amey_1337 Год назад
@@DIGIT-WIRED-UNWIRED Untick AniamteDiff and generate a random image. It will replace the running gif in the ui.
@mariorancheroni9427
@mariorancheroni9427 Год назад
M I the only one who can't find the extension anywhere after installation, I tried to reinstall several times, restarting automatic1111 from cmd, I also deleted the venv folder and I already know the expansion is situated near ControllNet. Do you have any idea why this is happening?
@pbliable
@pbliable Год назад
doesnt show for me either
@mariorancheroni9427
@mariorancheroni9427 Год назад
I solved reinstalling the entire whole thing, delete stable diffusion folder and reinstall everything, a great pain in the...@@pbliable
@carlosnava1653
@carlosnava1653 Год назад
I'm having the same issue, any news? @@pbliable
@carlosnava1653
@carlosnava1653 Год назад
I'm getting this error on the console: A1111 Web UI Autoinstaller\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff_output.py", line 3, in import imageio.v3 as imageio ModuleNotFoundError: No module named 'imageio.v3'
@allenraysales
@allenraysales Год назад
@oliviosarikas, I use Google Colab and there is a setting there under "View Resources" where you can see how much units you have left and an estimate of consumption. This is what mine says: You are subscribed to Colab Pro. Learn more. Available: 100 compute units Usage rate: approximately 1.96 per hour You have 1 active session. I am upgrading to Google Colab Pro Plus + for 500 units and more access to ram and tech. I feel like I consumed 100 in less than a month then again my workflow is very different and I produce a lot of images in the hundreds and only end up keeping several from that, like how a real photographer works. lol Hope this helps. Amazing channel thanks for doing all the tutorials. Helped me so much!
@jibcot8541
@jibcot8541 Год назад
I'm pretty sure pressing Apply and Restart now does the equivalent of closing the cmd window, as before just restarting the UI portion was causing lots of issues.
@teahousereloaded
@teahousereloaded Год назад
Noise controls how different the pictures get in img2img . More Noise = More different. So i assume the noise multiplier (Next to SD VAE) needs to be lower for clean animation. I'll check once back home. Thank you for the amazing video!
@sociallyresponsiblexenomor7608
@sociallyresponsiblexenomor7608 9 месяцев назад
I think some things are missing from your guide, I am unable to follow it with auto 1111 because of too many discrepancies
@RobertJene
@RobertJene Год назад
3:56 these generations look like they have watermark. did you put watermark in the negative prompts?
@violegrace4471
@violegrace4471 Год назад
getting Assertion Error, and cant generate any gif whatsoever :(
@chamber3593
@chamber3593 Год назад
So cool thank you for this. ❤❤
@jcvijr
@jcvijr Год назад
This extension just does not work lately
@i386enki
@i386enki Год назад
The AI Art generators must be amazing for people who love portraiture. I’d rather make other things, and idk how anyone like me would ever find one particular-workflow, if you will. Lmaoo MUST KNOW HOW TO USE ALLLLLL TOOLS 😂. Thx for the all the research you do so I don’t have to 🙏🏻
@anianait
@anianait 10 месяцев назад
I keep getting totally different pictures in each frames, not similar ones like in videos ... any reason for that ?
@fdjw88
@fdjw88 11 месяцев назад
I can't find anmiediff when I go into the Extension tab, and when I tried to update my Stable Diffusion, the program tells me everything is uptodate. Please help!
@DSGryme
@DSGryme Год назад
Thx for making this bro
@OlivioSarikas
@OlivioSarikas Год назад
you are welcome :)
@V.966
@V.966 10 месяцев назад
thank you so much
@nunobarbosa77
@nunobarbosa77 11 месяцев назад
animateDiff doesn't show up in the extensions download in 1111. Does it still available?
@cyborgmetropolis7652
@cyborgmetropolis7652 6 месяцев назад
Follow the steps to properly install animatedDiff, be sure to restart the server as well as the UI.
@TheSpidermycron
@TheSpidermycron 10 месяцев назад
Thanks much for your tutorial, i have issue if you could help plz, when I use my prompt I get the multiple images in different views/poses, how can I let it be like correct sequence, also how do I get a final Guf file ? cause I got sequence of images in image folder, thanks
@thays182
@thays182 Год назад
Can you do this with other models? Specifically realistic models? Or does anything with higher detail not work?
@paulhorn24
@paulhorn24 Год назад
Any experiences using this or using SDXL with Apples CPU/GPU/RAM System on a Chip (SoC) compared to Intel-x86 based hardware (or AMD based hardware)? Thanks!
@solomslls
@solomslls Год назад
can you explain please whats the best model for merging ? (ema or no ema) pruned or not ?? i get confused when i try to choose
@Nightmare026
@Nightmare026 Год назад
This is awesome , thank you
@Aleema21
@Aleema21 11 месяцев назад
Thanks for this useful video. However I cannot use the Animatediff. My webui cannot find the diffusers.models.modeling_utils. Even I updadted the diffuser. So how can I solve the problem. Error loading script: animate.py Traceback (most recent call last): File "C:\Users\User\Desktop\AI\modules\scripts.py", line 229, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "C:\Users\User\Desktop\AI\modules\script_loading.py", line 11, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "C:\Users\User\Desktop\AI\extensions\AnimateDiff-main\scripts\animate.py", line 15, in from animatediff.models.unet import UNet3DConditionModel File "C:\Users\User\Desktop\AI\extensions\AnimateDiff-main\animatediff\models\unet.py", line 15, in from diffusers.modeling_utils import ModelMixin ModuleNotFoundError: No module named 'diffusers.modeling_utils'
@sb6934
@sb6934 Год назад
Thanks!
@sefadogantr
@sefadogantr Год назад
Hi, I try this method and it's working but I want to use a init image. How can I do this? Thanks again
@nickaww
@nickaww Год назад
my first generation of 24 frames only took about a minute or 2, every generation after that takes over 30 minutes. Anyone have a solution for this? I didn't change any settings in A1111, using a 4070 with 12GB VRAM
@nickaww
@nickaww Год назад
Solution: click "Remove motion module from any memory" before generating. And I think keeping negative prompts short helps out a ton too.
@GrocksterRox
@GrocksterRox Год назад
Thank you!!!
@mimirtells
@mimirtells 10 месяцев назад
I can generate gifs easily but when I try to use controlnet with animatediff, ETA becomes like 1-2 hours and the PC works like crazy. Anyone knows why?
@chaz-e
@chaz-e Год назад
I create GIFs using deforum, it has no max frames limit 🚀
@wsx256
@wsx256 11 месяцев назад
AnimateDiff now allows more time, do another :)
@shaadaap23
@shaadaap23 Год назад
looks like everyone is getting it to work. I'm getting a assertion error.
@violegrace4471
@violegrace4471 Год назад
yep same, its actually getting annoying
@VisioMaxxx
@VisioMaxxx Год назад
I have the issue that I get 2 gifs in one and I have no idea how to fix it
@Foolsjoker
@Foolsjoker Год назад
Anyone having an issue where AnimateDiff does nothing when you hit Generate. Disable SD-CN Animation. (or maybe another extension)
@RobertJene
@RobertJene Год назад
3:22 toonyou is a nice model, but it is very buggy and throws errors a lot. So it isn't your fault there were problems with it.
@李gsdw
@李gsdw Год назад
This is what was made there
@thays182
@thays182 Год назад
Can you do this with image to image and make a gif from and existing image?
@AnotherPlace
@AnotherPlace Год назад
I cant tell the difference in using this extension and deforum, i hve ,6gig vram and able to make short animation with acceptable speed using deforum.. and this use 12vram?
@dragonmares59110
@dragonmares59110 Год назад
Yeah, this race to eat as much VRAM as possible need to stop. They should really focus on efficiency and low impact.
@cherrysdesigns
@cherrysdesigns Год назад
Wirh 4GB Vram, I'm not even gonn try xD
@amey_1337
@amey_1337 Год назад
it's working in 256x256 on 1050ti with nvidia driver 536.40. This driver is using RAM as extension to vRAM. It's slow but at least doesn't throw out of vRAM errors.
@MeowsyDancer
@MeowsyDancer Год назад
Wait, where does it save them afterwards?
@Space-O-2001
@Space-O-2001 Год назад
Will be great if it can handle memory more efficiently
@OlivioSarikas
@OlivioSarikas Год назад
runs fine on colab though :)
@Space-O-2001
@Space-O-2001 Год назад
@@OlivioSarikas lol - I wonder if we will ever see a method that uses OpenPose for keyframes ?
@OlivioSarikas
@OlivioSarikas Год назад
@@Space-O-2001 i hope so, that would be amazing
@mrschneebly85
@mrschneebly85 Год назад
Out of memory with 10GB VRAM!
@gregorycoleman2149
@gregorycoleman2149 Год назад
Gotta give Nvidia more money
@spejarn
@spejarn Год назад
If you lower the amount of frames it will use less VRAM.
@nietzchan
@nietzchan Год назад
gonna try it out with my 3060
@OlivioSarikas
@OlivioSarikas Год назад
The Google Colab version is pretty affordable - or even free if you have the time :)
@AIWithCarl
@AIWithCarl 11 месяцев назад
How can I implement controlnet via colab? or is that impossible?
@77netwar
@77netwar Год назад
Is there a way to go beyond 24 frames? I want to generate 48 frames at 24 frames a second. Or even more frames. Also, I convert the .gif to .mp4 online and have to speed up the video by x10 to get something decent. Kinda weird, since I ask for 24 frames a second in Stable Diffusion? Also, even with a RTX 3090, you run into VRAM issues at 24 frames per second, number of frames 24, hires.fix, 512x512, xformers is turned on. It allocates 35 gigs of VRAM, which is more than the 24 gigs of the 3090... 12 frames at 24 frames per second, hires.fix, 512x512, xformers, does work though with a 3090. Also, is there any way to have influence on how the .gif evolves over time? As in specifying the motion?
@slickster3
@slickster3 Год назад
This is awesome, but does anyone else notice a reoccurring watermark in the GIFs? It looks like something "stock"
@OlivioSarikas
@OlivioSarikas Год назад
yes, totally. i get that too. no idea where that is coming from
@randomstranger9001
@randomstranger9001 Год назад
@@OlivioSarikas motion modules probably was trained on watermarked data :D
@ThisOrThat13
@ThisOrThat13 11 месяцев назад
I think that is coming from the Toon model that Olivio is using. I found other examples from Civ that used Diff that don't have traces of a watermark.
@OwaOwaBiowa
@OwaOwaBiowa Год назад
1:00 which page was that ı didnt understand
@teridactyl2693
@teridactyl2693 Год назад
using a local installed webui for SD. After installing the extension and restart (even fully restarting) I don't see the "extensions" section under txt2img
@teridactyl2693
@teridactyl2693 Год назад
I am using rocm amd card on ubuntu. Also using SD 1.5 I believe document says only works on 1.2?
@guilhermesalles4313
@guilhermesalles4313 Год назад
@@teridactyl2693 I am having the same problem. Did you solve this?
@ponzexxx
@ponzexxx 11 месяцев назад
i get this error: RuntimeError: CUDA error: invalid configuration argument CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions. how can bypass? anyone? :(
@htg41
@htg41 Год назад
Can you help me with this error? RuntimeError: CUDA error: invalid configuration argument CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
@Raketenclub
@Raketenclub Год назад
for me a clean restart worked, then choose another model everytime you get an error. this is so weird. i have much trouble getting it to work, and if, results are absoltely not expected, weird. also throws tons of errors here and there until i do a complete restart on te console.
@htg41
@htg41 Год назад
@@Raketenclub Disabling xformers did the job for me
@TR-707
@TR-707 Год назад
Oli is your c drive 500000 terrabytes?
@pruebalandia5189
@pruebalandia5189 Год назад
Only works the toonyou model. The other models don't seem to be in the folder
@thays182
@thays182 Год назад
Is this still the case?
@PG-gs5vb
@PG-gs5vb Год назад
You got typos in the title and the same one in the description.
@OlivioSarikas
@OlivioSarikas Год назад
Thank you very much!
@Your-Stranger
@Your-Stranger Год назад
Does it work with web UI 1.5.0? Only images are output.
@KDashHoward
@KDashHoward Год назад
I tried on the UI 1.5 and it’s not working so I tried on the 1.4 and it’s still not working…
@MatichekYoutube
@MatichekYoutube Год назад
Don't you need 12 vram?
@spjacky9948
@spjacky9948 Год назад
i get wired, generate output only PNG not Gif file? Anyone know it?
@KDashHoward
@KDashHoward Год назад
I have the same issue…. Did you solve it by chance??
@spjacky9948
@spjacky9948 Год назад
@@KDashHoward no!! I try reinstall it, but same thing
@neetcoomer
@neetcoomer 10 месяцев назад
Quality is low because you gotta upscale it lol
@metahold
@metahold Год назад
how to run the webui
@xmrhate
@xmrhate 11 месяцев назад
Anyone else notice the mic looks like a tiny black suited man and his head is super big. I can't unsee it now. 😅😅
@blizag1
@blizag1 Год назад
I don't have the A1111 folder
@OlivioSarikas
@OlivioSarikas Год назад
you need to install A1111. you might have called your folder something else
@blizag1
@blizag1 Год назад
@@OlivioSarikas found it. For me, its called webui instead of A1111. The extension folder is located there.
@OlivioSarikas
@OlivioSarikas Год назад
@@blizag1 awesome, happy i could help. i called it A1111 so i know what it is
@HasanAslan
@HasanAslan Год назад
is it possible to use it with comfyui ?
@RobertJene
@RobertJene Год назад
5:31 icon is pronounced like "Eye-Con" not "Eye-Can"
@VoodooD0g
@VoodooD0g 10 месяцев назад
"Go to your extensions"? My extensions where? My chrome extensions dont look like what you show there. Terrible guide
@gabriellavoie3788
@gabriellavoie3788 9 месяцев назад
I'm lost here too :(
@gabriellavoie3788
@gabriellavoie3788 9 месяцев назад
did you figure it out?
@spencerdanley9195
@spencerdanley9195 2 месяца назад
The extensions tab at the top of stable diffusion UI? It should be on the top right, above the prompt box and next to settings. Then you copy the URL from GitHub and paste it into the install from URL tab. Alternatively in the "Available" tab under "extensions" click load from and it will bring up a repository. Make sure you have unchecked the "installed" box and search for animatediff. Hope that's what your looking for.
@NickMak-m2c
@NickMak-m2c Год назад
no .ckpts for me ty! not from a random src!
@FusionDeveloper
@FusionDeveloper Год назад
I had to search for "animate" for it to show up in automatic1111.
@marcus_ohreallyus
@marcus_ohreallyus Год назад
cuda error
@Nightmare026
@Nightmare026 Год назад
I started getting assertion error , any help with that?
@polystormstudio
@polystormstudio Год назад
me too - looks like you have to restart webui
@Nightmare026
@Nightmare026 Год назад
@@polystormstudio yes , i restart it and it gets fixed once , then i have to do it again lol
@DreadPop
@DreadPop Год назад
Co.Lab. Collaborate.