Estimated read time: 1 minute 12 seconds.
GM fellow beliebers !
Just five months in, and we've hit 120 subscribers with zero drop-offs!
Writing is hard. But I do it because you love it.
Alright, Today we use AI to store images onchain π
Onchain NFTs are hard
Ethereum isn't designed for large files. Smart contracts are capped at 24kb.
For context, hereβs Beeple's latest Everyday compressed to ~24kb:
And it still costs $240 to put this pixelated garbage π onchain:
This is why most onchain art is pixel art.
Less details β smaller files β cheaper storage !
the birth of "compressionism" a movement led by 0xdiid
A new technique
Stable diffusion is the best compression algorithm I've seen.
After storing the initial 3-8GB model,
each image is just a sentence and a few bytes of data.
Sadly storing Stable Diffusion onchain would cost millions (I don't have) π
The Trick
What if we only store a low-res version of the artwork + a prompt ?
Future upscalers, likely embedded in browsers, can handle the rest,
Here's a real-life example for my next project Zima:
This is how I turn a detailed 3D render into an AI⨠upscaled onchain artwork.
See you next week β
Nahiko
If you enjoyed this issue, please tap the Share button below β€ Thank you!
I share 1 new thing I learned in the NFT space, every Sunday β¨ Donβt miss the next one: