anotherjesse / diffusiondb

https://lets.m4ke.org/diffusiondb/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

DiffusionDB 2 Million Images

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.

hands

About

https://lets.m4ke.org/diffusiondb/


Languages

Language:Svelte 71.6%Language:TypeScript 17.0%Language:HTML 6.7%Language:JavaScript 4.7%