Generate fine waifu art
Go to file
Mememan f177dc2a31 Improved frame, CSS grid hell
Co-auhored-by: Glitch <glitch@inthematrix>
2024-04-20 23:32:36 +02:00
runpod Working image generation, small refactor 2024-04-18 00:14:28 +02:00
s3 Give minio explicit filesizes to prevent huge allocations 2024-04-18 06:25:38 +02:00
.gitignore Working image generation, small refactor 2024-04-18 00:14:28 +02:00
config.go Fix social previews and remove default style 2024-04-20 01:58:39 +02:00
display.html Improved frame, CSS grid hell 2024-04-20 23:32:36 +02:00
fooocus.go Fix social previews and remove default style 2024-04-20 01:58:39 +02:00
go.mod Working image generation, small refactor 2024-04-18 00:14:28 +02:00
go.sum Serve image from S3, gallery template, good runpod query 2024-04-17 02:30:12 +02:00
html.go Improved CSS, thanks Glitch for the label improvements! 2024-04-20 18:22:17 +02:00
http.go Fix social previews and remove default style 2024-04-20 01:58:39 +02:00
main.go Working image generation, small refactor 2024-04-18 00:14:28 +02:00
README.md Add job limit 2024-04-18 03:54:40 +02:00

Waifu Gallery

Uses Fooocus API running on Runpod serverless 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

$ go get
$ go build

Usage

Add a config.json configuration file in the your current directory and then execute the program.

Example:

{
}

TODO

  • make imggen api request
  • upload result to S3
  • Poll request
  • Guard from redundant API calls
  • Guard from excessive number of img generation jobs
  • Make user wait for result interactively and reload
  • Better front-end