This repository contains the Ketl-PFP-Generator project. It's an application developed to generate avatars for Ketl users. It utilizes the Stable Diffusion AI API to generate images from given Ethereum addresses and uploads these images to the InterPlanetary File System (IPFS).
- Clone this repo:
git clone https://github.com/BigWhaleLabs/ketl-pfp-generator
- Launch the mongo database locally
- Create
.env
with the environment variables listed below - Run
yarn
in the root folder - Run
yarn start
And you should be good to go! Feel free to fork and submit pull requests.
Name | Description |
---|---|
IPFS_UPLOADER |
URL for IPFS upload |
MONGO |
URL of the mongo database |
PORT |
Port to run server on (defaults to 1337) |
OPENAI_API_KEY |
OpenAI Key |
Also, please, consider looking at .env.sample
.