7 ms·
Animating Prompts with Stable Diffusion
- surfskatr 4y agoEvery single day SD never fails to amaze me. Imagine a music video generated like this in a few minutes…
- jimhi 4y agoI've been playing with this for awhile, within a day is doable. But more like hours than minutes for more interesting content
- Lapsa 4y agohttps://www.youtube.com/watch?v=Nz_n0qxqoPg https://www.youtube.com/watch?v=Nz_n0qxqoPg
- optimalsolver 4y agoSomeone animated the entire history of the Earth with SD: https://twitter.com/xsteenbrugge/status/1558508866463219712 https://twitter.com/xsteenbrugge/status/1558508866463219712
- ModernMech 4y agoI like how some people randomly pop up next to dinosaurs.
- B0073D 4y agoSomething like this? https://youtu.be/Ip7p9DQXhSA https://youtu.be/Ip7p9DQXhSA
- ando818 4y agoThis is something I've been thinking about for YEARS now. But I was going for a very very different approach.
- mysterydip 4y agoI wonder if it will be possible to instead provide it with two keyframes and it interpolate the frames in between?
- TuringTest 4y agoThat's so last week ;-) https://replicate.com/andreasjansson/stable-diffusion-animation https://replicate.com/andreasjansson/stable-diffusion-animat...
- deleted 4y ago[deleted]
- mysterydip 4y agoI can't keep up!
- mensetmanusman 4y agoInfinite fractals based on human culture.
- Lapsa 4y agoLooks quite nice, trending on artstation.
- MrsPeaches 4y ago> trending on artstation Could anyone explain why this phrases is repeated everywhere?
- martin_a 4y agoIt seems like the model was trained on images that were "trending on artstation", see here: https://www.reddit.com/r/DiscoDiffusion/comments/u01cnw/how_are_prompts_like_trending_on_artstation_so/ https://www.reddit.com/r/DiscoDiffusion/comments/u01cnw/how_... So it might be that all images have a distinctive look, or influences of it, and this phrase is becoming kind of an inside joke/meme.
- mlboss 4y agoI guess this phrase is present in the training set for stable diffusion.
- spywaregorilla 4y agoImages with this description tend to be good so it suggests the model should make good quality images. Other terms include "4k" and "unreal engine 5". All things held equal, it's not unreasonable that the model has the capacity to draw poor images intentionally. It's a stupid temporary problem
- riddleronroof 4y agoIn the future we will say “trending on Hacker News”
- rrgok 4y ago
- macrolime 4y agoWould be nice with some more documentation. I managed to get it up and running, but if I try with some prompts, it seemingly starts but then after about 10 minutes it crashes with internal server error. I'm guessing it's running out of memory perhaps.
- operator-name 4y agoI'm having similar issues with the Web version. Their repo contains a nice python notebook so I'm going to try to get it working locally. https://github.com/deforum/stable-diffusion/blob/main/Deforum_Stable_Diffusion.ipynb https://github.com/deforum/stable-diffusion/blob/main/Deforu...
- towaway15463 4y agoSo what would happen if you trained this model on frames from movies that were annotated? You could leverage CC descriptions and maybe use a classifier to automate a lot of the annotation. Would it be able to create novel but contiguous predictions for the next frame?
- operator-name 4y agoThe problem would still be temporal stability. You'd have to train on series of frames, but then I'm not sure diffusion models are well suited for that?
- bravura 4y agoThis is so cool! What I would really love is to have multiple prompts. So, for example, prompt 1 is a fast moving description of the action. Prompt 2 is a slow moving fade between artistic style.
- deleted 4y ago[deleted]
- holoduke 4y agoYou can relatively easily create it yourself. Basically a for loop where in each frame you move/zoom the image slightly. each X frames you apply a different prompt. You have to play around with the weights to get a nice result.
- operator-name 4y agoIt supports multiple prompts, and you could control the time via frames. > Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames. Checking out the code, in wouldn't be too difficult to add a system for movement keyframes either.
- TuringTest 4y agoThe model behind Stable Difussion works similar to pareidolia[1], recognising "shapes" on random noise following the prompt theme, and refining that "mental image" until it generates something that matches a recognizable image. In these animations it's easy to see it, as the shape recognition is not very stable. For example, in the last video when the prompt changes from "people" to "bears" you can see a backpack turning into a bear head, which then turns into an open-mouth bear head. And then, the arm of the person carring the backpack is also turned into more bear heads. The next steps in the evolution of this technique should be in exploring the relation between noise and subjects, so that you can create variations of the same image maintaining the recognizable parts stable. [1] https://en.wikipedia.org/wiki/Pareidolia https://en.wikipedia.org/wiki/Pareidolia
- synu 4y agoIt's a pretty compelling, trippy effect even if we don't have good ways to work around it yet. This is some amazing work that takes advantage of it: https://twitter.com/xsteenbrugge/status/1558508866463219712?s=20&t=5mJvVcQQ89AznS4Bml2nbQ https://twitter.com/xsteenbrugge/status/1558508866463219712?...
- googlryas 4y agoThis reminds me of part of the opening scene of Adaptation: https://youtu.be/6Geq3wVvaNE?t=170 https://youtu.be/6Geq3wVvaNE?t=170 It cuts off before the full montage but you should get the idea.
- fragmede 4y agoDall-E introduced outpainting yesterday: https://openai.com/blog/dall-e-introducing-outpainting/ https://openai.com/blog/dall-e-introducing-outpainting/
- midlightdenight 4y agoIt looks like DALLE is just performing inpainting on pieces of the image outside the original frame. The zoom effect is scaling the original frame larger while keeping the frame, then performing image to image generation on it, or using the newly defined image in the frame and sending it back through diffusion (at least that’s my guess). It’s a different process than what DALLE has since inpainting does not overwrite already generated pieces. Stable diffusion can also do inpainting. You can make sliding images this way. Slowly translating the image out of the frame and then filling in the blank space with inpainting.
- TekMol 4y agoIs there a step by step guide somewhere how to run repos like these in the cloud? I don't have a fast machine myself, but I would not mind renting a VM somewhere to play with it. Any tips?
- TuringTest 4y agoYou can try it on Google Colab [1] to get started. There are quite a few tutorials for getting started with SD.[2] They tend to explain how to install it on your CPU, but some also explain how to build your own instance on Google Colab . I know this one in Spanish[2], and you can look for more. [3] [1] https://colab.research.google.com/github/altryne/sd-webui-colab/blob/main/Stable_Diffusion_WebUi_Altryne.ipynb https://colab.research.google.com/github/altryne/sd-webui-co... [2] https://youtu.be/5z223SxlAcA?t=1910 https://youtu.be/5z223SxlAcA?t=1910 [3] https://www.youtube.com/results?search_query=stable+diffusion+install+tutorial https://www.youtube.com/results?search_query=stable+diffusio...
- TekMol 4y agoI would prefer to work on the command line. And be able to chain together my own workflow, combining different tools. So I would prefer to rent a VM and not use Google Colab.
- fjfbsufhdvfy 4y agoTry Lambda Labs or Core Weave for affordable GPU servers. I'm sure there are more, but I've had good experiences with these in the past.
- bzxcvbn 4y agoThey have a docker image, I would start with that. It's pretty easy to setup a container in the cloud these days. They even have a tool to customize the container: https://github.com/replicate/cog https://github.com/replicate/cog
- operator-name 4y agoBefore all the webuis came out, I had success following the README. It looks like they've got a nice python notebook: https://github.com/deforum/stable-diffusion/blob/main/Deforum_Stable_Diffusion.ipynb https://github.com/deforum/stable-diffusion/blob/main/Deforu... For other cases I would reccomend this repo which has a user script feature: https://github.com/AUTOMATIC1111/stable-diffusion-webui#user-scripts https://github.com/AUTOMATIC1111/stable-diffusion-webui#user...
- fab1an 4y agoThe pace of the OS development around Stable Diffusion is nothing but mindblowing, and I can't wait to see what we'll be able to to do in just 6 months from now. The possibilities for non-skeuomorphic media format is pretty insane, especially once we get into animation territory. I've been using Midjourney and SD to create a sci-fi filmverse called SALT, here's some details about how I put together, including all available "episodes": https://twitter.com/fabianstelzer/status/1565085199322456069 https://twitter.com/fabianstelzer/status/1565085199322456069
- deleted 4y ago[deleted]
- ricardobeat 4y ago> The vision for @SALT_VERSE is a multi-plot, community owned CC0-crypto filmverse The generated art concept is pretty cool but why couldn't we leave crypto out of it for once?
- realce 4y agoOpen source, closed marketplace.
- cinntaile 4y agoYeah, why couldn't you ricardobeat? The GP sure didn't mention it in his comment.
- fab1an 4y agoHere’s why: https://twitter.com/fabianstelzer/status/1565726070963408896?s=21 https://twitter.com/fabianstelzer/status/1565726070963408896... That said, SALT will be 100% open to anyone, regardless of whether they’re using crypto or not
- jstanley 4y agoNone of that explains what it has to do with cryptocurrency. You say "a fun idea in crypto gaming is composability", but I don't see why that is specific to cryptocurrency. (FWIW, I think the idea of composable game worlds created by ML prompts is absolutely fascinating, and I also think a future in which all money is outside the control of the state and corporations is interesting. I just don't see the relationship between the two).
- holoduke 4y agoIt reminds me of these old MTV weird animations from the 90s. Amazing what kind of content can be created with this
- hexomancer 4y agoHow is this zoom effect achieved? Do they zoom in a little and then re-imagine the image?
- SailingSperm 4y agoI think it's actually the opposite. shrink the img and give it a white border, then re-imagine. Stitching together and playing the opposite way to give the zoom effect. shrink to keep same px dimensions or just enlarge canvas and place img in center. Some good examples of this being done with Dalle2 last month -- https://youtu.be/TW2w-z0UtQU?t=244 https://youtu.be/TW2w-z0UtQU?t=244
- operator-name 4y agoI don't think that's the case, it looks to be a zoom and reinterpret. I wonder what tradeoffs doing it the other way around would bring? rot_mat = cv2.getRotationMatrix2D(center, angle, scale) # the zoom variable is passed as scale https://github.com/deforum/stable-diffusion/blob/5241ce950586bd22f09f37365f22794acf7f6daf/Deforum_Stable_Diffusion.py#L489 https://github.com/deforum/stable-diffusion/blob/5241ce95058... Edit: having looked carefully at the video, these are pretty different. Inpaining keeps the original crop the same, whereas this version allows the model to reinterpret the original.
- avocado2 4y ago
- bfirsh 4y agoIf you want to run it, this is the main model on Replicate: https://replicate.com/deforum/deforum_stable_diffusion https://replicate.com/deforum/deforum_stable_diffusion It's by deforum. Here are links to their Discord, GitHub, and Colab: https://deforum.github.io/ https://deforum.github.io/
- NoMoreBro 4y agoI like to think it’s a consequence of my thread of the other day https://news.ycombinator.com/item?id=32659407 https://news.ycombinator.com/item?id=32659407 (I know… but let me think it, guys)
- nullc 4y agoI wonder how much better this would work if the network had been trained with blurring as the noise function instead of noise (or with a combination of both)?