project screenshot
project screenshot
project screenshot
project screenshot
project screenshot
project screenshot

Inari synth

Inari synth is an interface for decentralized social media with image synthesis built in.

Inari synth

Created At

ETHOnline 2022

Winner of

trophy

🏆 ETHOnline Finalist

Project Description

Inari Synth is an interface for decentralized social media, built on top of Lens Protocol and Stable Diffusion, with image synthesis built in. It removes barriers so you can decentralize content creation and protocol operation yourself. Each post builds incrementally towards greater ownership of your self-expression and ability to run your own nodes.

Inari Synth currently supports both text2image and image2image generation.

How It Works

  1. Integrates Lens Protocol & Stable Diffusion behind a simple interface
  2. Sign in with Lens profile or sign up for waitlist
  3. Craft prompts for synthed images you'd like to post
  4. Collect: -NFTs -Likes -Friends -DIY Contributions

How it's Made

Inari Synth is built with NextJS, typescript, tailwind, apollo, wagmi, rainbow kit, and web3 storage. It uses Lens Protocol for the social layer and the Stable Diffusion Replicate API for image synthesis.

The hackiest and most notable parts of this project were using the latest wagmi useContractWrite hooks (there was little documentation on this/no other projects to reference using these latest hooks), converting the synthesized image urls to base64 data then blobs then file types to then be correctly hashed with web3 storage in a single step and automatically posting all posts on-chain, beyond simply indexing them with the lens centralised API.

background image mobile

Join the mailinglist

Get the latest news and updates