Dmitrii Tochilkin Profile picture
Oct 3 16 tweets 5 min read
"A Year"

AI animation artwork made in colab using my custom stable 3D animation algorithm on top of #stablediffusion model. In the thread I share some details about the algo and when i plan to release it, and talk about the joy and future of AI filmmaking

🎶 DakhaBrakha - Vesna
1.1 Algorithm. Сore idea of the algorithm is to keep image parts known from the previous frame intact and inpaint only image areas that are missing. We can determine what is known and what is missing from a depth map and a camera transform. Algo steps overview below🎦
1.2 It heavily relies on the quality of depth maps, and uses the assumption that SD has implicit knowledge of the scene geometry in an image. So therefore it can plausibly inpaint missing parts without explicitly knowing underneath 3D meshes of the scene
1.3 -"But we've already had 3D algorithm for DD and SD!"
- Yes, and it also worked on top of MiDaS depth maps. The difference is that it interpolates missing info by 'warping' space, which is good for artistic or trippy videos, but not good for realistic animation. Visualization:
1.4. I haven't seen similar solutions, so I decided to name this approach POISD -- "Pointcloud Occlusion Inpainting with Stable Diffusion". I'm very proud of it: it was a harder engineering task than my inpainting + attempt on stable animation for Disco
1.5. I think this approach may potentially help us all wait until the real generative 3D rendering and text-to-video methods become good and public😀And also it's a little step towards more stable, realistic and production-level AI animation
1.6. Limitations: re-projection of pointclouds multiple times introduces artifacts, so you need to compensate it with few diffusion steps -> slight wobbling or blurriness even for known parts. In this sense Turbo may provide smoother (and faster) animation. Will try to solve it
1.7 I plan to open-source colab next week -- there are a lot of moving pieces so i still need to figure out the optimal parameter setup. I wanted to finish the video and tidy up code a week ago, but my cat fell from the 5 floor, so currently I'm more of a nurse than an engineer🥲
2.1. AI filmmaking. I'm so happy that AI tools become sharper each month for people's self-expression through storytelling. My new video is a good depiction of it: Almost a year ago when I just got interested in AI art I made a video with the same idea in DD:
2.2. As the old version, the remake is about cyclical change of seasons and resurrection. It ends where it starts with the rebirth of nature; song name 'Vesna' means spring. But now it was much much easier for me to express it with 3D SD! And more importantly, i felt more joy
2.3. I felt myself an explorer going hand in hand with AI through its internal worlds. I stopped rendering many times to adjust camera moves, so the process looked like this:
-Ok, let's walk through old slavic village
-There's a wooden church
-Cool! Fly near and make sun shine...
...upon it's cross
-Done! Umm, there are people behind it...
-Ok, make them be dancing girls and go forward.

Of course, many prompts were strict, but i don't know anyways where exactly objects appear, how they look etc. Openness to AI ideas and vision is key in this co-creation
2.4. One thing that was painful though is being an AI film operator in colab. It's a total humiliation to adjust endless camera param numbers to make a smooth move to the horse cart. Tools need to become overgrown with handy interfaces. Hope UX devs get interested in AIArt soon
2.5. And I'm so happy i've finished this video before the change in colab tariffs. It would cost millions now💰
2.6. Anyways, my faith in forthcoming AI filmmaking grows stronger each day. It will be big, it will be wide and it will be lovely (very soon)
3. The last thing: I'm still exploring my ways to earn on #AIArt, so if you liked my work and want to support me (so that I can continue work on AI tools), I will be very grateful for any donation🙃

nowpayments.io/donation/cutpow

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Dmitrii Tochilkin

Dmitrii Tochilkin Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @cut_pow

Aug 21
Inpainting mode in #DiscoDiffusion!
I've finally made the parametrised guided inpainting for disco, and applied it for more stable 2D and 3D animations. In the thread i show what's in there

colab.research.google.com/github/kostari…
Inpainting can be used to repaint unwanted parts of the still image using binary mask. Mask can be drawn inside colab if you check 'draw_mask' flag, or by specifying the path.
I've also applied inpainting to the 2D and 3D animation processes to make them more stable. Previously we've had a tradeoff: either a stable animation with high skip_steps (but you get trails and poor details in the regions that were missing in the previous frame)
Read 8 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(