DiffusionDB: WebUI

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.

API

The API for this project is located at https://diffusiondb-api.fly.dev/. The source is in the anotherjesse/diffusiondb-api repository.

Local Development

To run the svelte app locally, you'll need to install the dependencies and run the dev server:

npm i
npm run dev

Ideas

  • show prompt, hyperparameters, and image in a modal?
  • explain sqlite fts5 search options

Images

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.

Top categories

Loading Svelte Themes