# Waifu Gallery Uses [Fooocus API running on Runpod serverless](https://github.com/davefojtik/RunPod-Fooocus-API/tree/Standalone) to generate '''Beautiful''' artwork with the base constraints of your choosing and display it in a virtual gallery in an ironic twist. In practice, going to `painting_a_futurist_atwork.yourdomain.com` will generate an image with `{{ random Prompt }},{{ base Prompt }}, (painting a futurist artwork:UserBias)` if it hasn't already been created and save it to s3 to speed up further viewings. ## Installation This project aims to sparingly use external libraries, it however requires `minio` for s3, `kana-tools` for kana and `/x/image`. ```shell $ go get $ go build ``` ## Usage Add a `config.json` configuration file in the your current directory and then execute the program. Example: ```json { } ``` ## Roadmap ## v0.1 - [x] Make imggen api request - [x] Upload result to S3 - [x] Poll request - [x] Guard from redundant API calls - [x] Guard from excessive number of img generation jobs - [x] Separate img generation endpoint and call it from HTML - [x] Make user wait for result interactively and reload ## v0.2 (breaking changes) - [x] Better querying via LLMs - [x] Generate thumbnails (future-proofing) - [x] Allow UTF-8 inputs characters - [ ] Better caching control ## v0.3 - [ ] Better front-end - [ ] Gallery page - [ ] Better documentation ## v0.5 - [ ] Switch to MVC pattern ## v1.0 - [ ] Serverless ## 4.20 - [ ] Apple vision pro WebXR mode - [ ] Metaverse interactions - [ ] Mint generated images as NFTs ## Never - [ ] Unit tests