1. txt2img
request JSON
% curl -X POST -H "content-type: application/json" \
--data '{"prompt": "astronaut riding a brown horse"}' \
http://localhost:3000/txt2img
ip:3000/txt2img/
output : image/png
2. background remover
request MultiPart
% curl -H "Content-Type: multipart/form-data" \
-F 'fileobj=@test.jpg;type=image/jpeg' \
http://localhost:3000/background_remover
ip:3000/background_remover/
output : image/png
request.ipynb 참조
- Multiple sample geneation in txt2img
- Image saving in storage bucket and sending url to client
- Moving to serverless inference
- More features using controlnet
- Data collection and fine-tuning
- Update spritesheet model