|
||
---|---|---|
runpod | ||
s3 | ||
.gitignore | ||
config.go | ||
display.html | ||
fooocus.go | ||
go.mod | ||
go.sum | ||
html.go | ||
http.go | ||
main.go | ||
README.md |
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