This project is a Svelte web application that uses the DiffusionDB API to provide an interface for exploring poloclub/diffusiondb dataset.
DiffusionDB is the first large-scale text-to-image prompt dataset. It contains 2 million images generated by Stable Diffusion using prompts and hyperparameters specified by real users.
The API for this project is located at https://diffusiondb-api.fly.dev/. The source is in the anotherjesse/diffusiondb-api repository.
To run the svelte app locally, you'll need to install the dependencies and run the dev server:
npm i
npm run dev
The images are hosted on CloudFlare R2 in a public bucket.
Two versions of the images are stored - the original PNG and a resized JPG. The JPG is resized to 256x256 and are significantly smaller than the PNGs.