bub3690 / dotting-diffusion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotting-diffusion

API example



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 참조

Plan

  1. Multiple sample geneation in txt2img
  2. Image saving in storage bucket and sending url to client
  3. Moving to serverless inference
  4. More features using controlnet
  5. Data collection and fine-tuning
  6. Update spritesheet model

About


Languages

Language:Jupyter Notebook 99.9%Language:Python 0.1%Language:PowerShell 0.0%