3 ms·
Hey, I illustrated all 31,102 verses of the Bible with Stable Diffusion. I wrote a blog post about it on the site, but it's aimed at a non-technical audience. S
by mmulet 4y ago
Hey, I illustrated all 31,102 verses of the Bible with Stable Diffusion. I wrote a blog post about it on the site, but it's aimed at a non-technical audience. So I can go over the technical stuff here.
So, I started this almost as soon as Stable Diffusion was released to the public, on a single 3090ti. With revisions, it took about 42 hours of compute time, which was about $5 worth of electrity where I live. $5 for 31,102 pictures seems like a good deal to me!
Doing the math, if I had done this project with DallE-2 it would have been at least $4000, so even if you factor in the price of the GPU, cpu, monitor, and keyboard, I would still come out ahead.
I really did not like the NSFW filter that Stable Diffusion ships with, too many false-positives, so I reviewed each and every picture by hand. I built a quick c++ program with SDL and dearImgui, to toggle through each picture with really fast keyboard shortcuts. Despite all that, I developed some repetitive stress pains from doing all that, and that's never fun.
The site is a static site hosted on Cloudflare pages and Cloudflare R2, which I have never used before (I'm usually an AWS guy). They attracted me with their "no egress fees" slogan, (which are usually an annoyingly large chunk of change), so I thought I'd give it a shot. The dev experience was pretty easy to be honest. But if things go south later, I'll write a nasty blog post about it or something.
A lot of the javascript was written by Github Copilot, and even some of the blog post (all the jokes were by me)!
Ethically, I think this project is in the clear because I only take "inspiration" from Renaissance art, which has been in the public domain for a long long time.
- forgotmypw17 4y agoThis is beautiful. Thank you for sharing it!
- mmulet 4y agoThanks!