Sean Sube
|
081a96d536
|
fix(api): use full-image compositing, write debug images to output dir
|
2023-01-15 13:40:11 -06:00 |
Sean Sube
|
9c93e16698
|
fix(api): clean up background jobs once they are ready (for #55)
|
2023-01-15 11:43:47 -06:00 |
Sean Sube
|
e4020cf3f6
|
fix(api): always apply mask filter for inpainting
|
2023-01-15 11:39:40 -06:00 |
Sean Sube
|
b1aca928ab
|
fix(api): correct type of provider in output path
|
2023-01-15 11:29:38 -06:00 |
Sean Sube
|
e429bafeef
|
fix(api): include all parameters in output path
|
2023-01-15 11:28:12 -06:00 |
Sean Sube
|
f5ed77a349
|
fix(api): reduce copies, fix function signatures
|
2023-01-15 11:09:47 -06:00 |
Sean Sube
|
ef06b45599
|
fix(api): reuse results of blur modes
|
2023-01-15 10:54:17 -06:00 |
Sean Sube
|
e2d17e1833
|
fix(api): fill gaussian blur with noise first
|
2023-01-15 10:49:09 -06:00 |
Sean Sube
|
4af1b8e1aa
|
save mask and noise for debugging
|
2023-01-15 10:09:57 -06:00 |
Sean Sube
|
6c07d124e0
|
feat(api): add a mask filter to blend outpainting edges
|
2023-01-15 09:54:55 -06:00 |
Sean Sube
|
4675f89bb7
|
fix(api): add missing origin argument to noise sources
|
2023-01-15 09:40:08 -06:00 |
Sean Sube
|
0ed11af34b
|
fix(api): correct endpoint name for blend ops
|
2023-01-15 09:35:25 -06:00 |
Sean Sube
|
a8f0a7a7eb
|
feat(api): add endpoints for blend and noise settings
|
2023-01-15 09:32:30 -06:00 |
Sean Sube
|
e403980a44
|
feat(api): add parameters for noise source and blend op to inpaint
|
2023-01-15 09:21:09 -06:00 |
Sean Sube
|
77470a610a
|
feat(api): add original source and gaussian blur noise sources
|
2023-01-15 00:14:05 -06:00 |
Sean Sube
|
9376de880e
|
feat(api): add normal and uniform noise sources
|
2023-01-14 21:46:14 -06:00 |
Sean Sube
|
09c9b2c028
|
fix(api): restore inpainting without outpainting
|
2023-01-14 18:30:04 -06:00 |
Sean Sube
|
34fa3f6341
|
fix(api): limit outpainting using image size params
|
2023-01-14 17:09:41 -06:00 |
Sean Sube
|
c29c92ed90
|
fix(api): resize images after getting request params
|
2023-01-14 17:06:29 -06:00 |
Sean Sube
|
d9bbb9bb5a
|
feat(api): take outpainting dimensions from query params
|
2023-01-14 16:59:38 -06:00 |
Sean Sube
|
899d41a38d
|
run outpainting at original size
|
2023-01-14 16:31:47 -06:00 |
Sean Sube
|
23ddbc6b10
|
build full-size latents for outpainting
|
2023-01-14 16:28:43 -06:00 |
Sean Sube
|
de13d2d6ef
|
remove debug print
|
2023-01-14 16:27:34 -06:00 |
Sean Sube
|
1d4560cf36
|
fix blend, use mask as mult
|
2023-01-14 16:24:46 -06:00 |
Sean Sube
|
70047737e6
|
syntax fix
|
2023-01-14 16:19:54 -06:00 |
Sean Sube
|
6772cb4297
|
per-channel blend
|
2023-01-14 16:18:37 -06:00 |
Sean Sube
|
6fded9de2d
|
build noise by pixels
|
2023-01-14 16:14:37 -06:00 |
Sean Sube
|
4233c34813
|
syntax fix, save noise image
|
2023-01-14 16:03:56 -06:00 |
Sean Sube
|
b8b7dcf757
|
reshape using image stride
|
2023-01-14 16:00:12 -06:00 |
Sean Sube
|
d4d1687851
|
reshape data before imaging
|
2023-01-14 15:49:46 -06:00 |
Sean Sube
|
e05ed35f6b
|
flatten noise data
|
2023-01-14 15:44:19 -06:00 |
Sean Sube
|
1220155d39
|
use sum of histogram, remove unused imports
|
2023-01-14 15:36:19 -06:00 |
Sean Sube
|
e9620fd62e
|
generate noise channel-wise
|
2023-01-14 15:34:57 -06:00 |
Sean Sube
|
0b46ce4090
|
calculate single stats instance
|
2023-01-14 15:27:30 -06:00 |
Sean Sube
|
9b56c75b92
|
adjust weights by channel sum
|
2023-01-14 15:24:04 -06:00 |
Sean Sube
|
b24b1eb961
|
feat(gui): produce noise based on source image histogram
|
2023-01-14 15:19:41 -06:00 |
Sean Sube
|
c8c548183d
|
multiply source by inverted mask
|
2023-01-14 14:34:35 -06:00 |
Sean Sube
|
5c3d42876f
|
convert pixel back to int
|
2023-01-14 14:24:36 -06:00 |
Sean Sube
|
47df0ecaff
|
convert noise to multiplier
|
2023-01-14 14:23:31 -06:00 |
Sean Sube
|
6216486325
|
isolate noise blend, print errors
|
2023-01-14 14:20:42 -06:00 |
Sean Sube
|
1e24018b57
|
feat(api): blend outpainting border with noise
|
2023-01-14 14:01:15 -06:00 |
Sean Sube
|
9ed3a3fd3e
|
move test to inpaint endpoint
|
2023-01-14 13:24:25 -06:00 |
Sean Sube
|
a3029c30a6
|
fix(api): use correct param name for platform
|
2023-01-14 13:19:04 -06:00 |
Sean Sube
|
66dc5322d0
|
feat(api): add helper to expand images for outpainting
|
2023-01-14 13:17:16 -06:00 |
Sean Sube
|
e8b580a5de
|
fix(api): get default params from file, enforce minimum params
|
2023-01-14 12:45:18 -06:00 |
Sean Sube
|
fa82ac18ab
|
fix(api): send CORS more consistently
|
2023-01-14 10:18:53 -06:00 |
Sean Sube
|
f46647cf6d
|
fix(build): correct path to pip requirements
|
2023-01-13 23:15:57 -06:00 |
Sean Sube
|
6eaf92a748
|
feat(build): embed GUI bundle in API containers
|
2023-01-13 21:56:03 -06:00 |
Sean Sube
|
f10904719c
|
remove: unused containerfile for Alpine API image
|
2023-01-13 21:40:26 -06:00 |
Sean Sube
|
e872eeacec
|
feat(api): limit simultaneous image workers (fixes #15)
|
2023-01-13 10:32:03 -06:00 |
Sean Sube
|
2ebba8a296
|
lint(build): disable pip caching while building CUDA image
|
2023-01-13 10:16:03 -06:00 |
Sean Sube
|
b60ccd506b
|
fix(build): install torch before other packages in CUDA container
|
2023-01-13 10:14:18 -06:00 |
Sean Sube
|
e025dbb87d
|
fix(build): install torch before other packages in CPU container
|
2023-01-13 10:14:18 -06:00 |
Sean Sube
|
360a151867
|
fix(api): make all path vars relative to API dir
|
2023-01-13 10:14:18 -06:00 |
Sean Sube
|
e77c13f312
|
lint(api): do not print warning when negative prompt is empty
|
2023-01-13 10:14:18 -06:00 |
Sean Sube
|
88fde63e07
|
feat(api): add endpoints to serve GUI bundle
|
2023-01-13 10:14:18 -06:00 |
Sean Sube
|
b477a9937c
|
feat: move API routes under prefix
|
2023-01-13 10:14:18 -06:00 |
Sean Sube
|
55e8b800d2
|
feat(api): add ready endpoint to check output status
|
2023-01-13 10:14:18 -06:00 |
Sean Sube
|
7e35b7b34f
|
feat(api): put all image pipelines on background tasks
|
2023-01-13 10:14:18 -06:00 |
Sean Sube
|
0ef4d60b04
|
feat(api): move txt2img into a background task
|
2023-01-13 10:14:18 -06:00 |
Sean Sube
|
4e3a86dfdb
|
lint(api): join all paths
|
2023-01-11 21:59:58 -06:00 |
Sean Sube
|
dc33b7c887
|
fix(api): use same parameter name as GUI for negative prompt
|
2023-01-11 21:50:19 -06:00 |
Sean Sube
|
f2b2366c91
|
chore(release): 0.3.0
|
2023-01-11 20:50:57 -06:00 |
Sean Sube
|
b7a63b1184
|
use apt-get in image scripts
|
2023-01-11 19:48:24 -06:00 |
Sean Sube
|
362b732707
|
fix(build): add venv to CPU image
|
2023-01-11 19:47:15 -06:00 |
Sean Sube
|
07c18c2245
|
feat(build): replace Buster image with CUDA-based Ubuntu
|
2023-01-11 19:45:06 -06:00 |
Sean Sube
|
2f3b5c06c7
|
fix(api): allow decimal CFG
|
2023-01-11 19:34:03 -06:00 |
Sean Sube
|
e9553bc610
|
switch CUDA image to nvidia base
|
2023-01-11 18:15:22 -06:00 |
Sean Sube
|
a3fe2ca559
|
feat(api): set up venv in CUDA container, add onnxruntime-gpu
|
2023-01-11 17:21:46 -06:00 |
Sean Sube
|
4abf760716
|
fix(api): use correct dict for type hints
|
2023-01-11 17:20:40 -06:00 |
Sean Sube
|
ecc82a89b7
|
lint(api): group routes
|
2023-01-10 23:00:18 -06:00 |
Sean Sube
|
d20fb91073
|
fix(api): pass seed when calculating inpaint filenames
|
2023-01-10 22:59:58 -06:00 |
Sean Sube
|
9bb01cc01d
|
fix(api): omit negative prompt from pipeline
|
2023-01-10 20:46:36 -06:00 |
Sean Sube
|
48f42e56fe
|
fix(api): rename to avoid shadowing type
|
2023-01-10 20:46:17 -06:00 |
Sean Sube
|
8452b7384c
|
feat(build): upload pip package (fixes #29)
|
2023-01-10 08:54:58 -06:00 |
Sean Sube
|
778cf6e7d1
|
lint(api): add seed to output filename, add types
|
2023-01-09 23:26:47 -06:00 |
Sean Sube
|
03fd728ab0
|
feat(api): add params endpoint, defaults file
|
2023-01-09 22:58:37 -06:00 |
Sean Sube
|
131cff6ba4
|
fix(api): add latents to inpaint, remove strength
|
2023-01-08 18:16:51 -06:00 |
Sean Sube
|
182ce6de90
|
feat(api): add inpaint endpoint
|
2023-01-08 18:11:34 -06:00 |
Sean Sube
|
760b162a55
|
fix: bump package versions to 0.2.1
|
2023-01-08 15:26:43 -06:00 |
Sean Sube
|
d1768b1bd1
|
chore(release): 0.2.0
|
2023-01-08 14:55:17 -06:00 |
Sean Sube
|
057eea25ef
|
fix(api): hash full range of seed values
|
2023-01-08 14:26:53 -06:00 |
Sean Sube
|
f2e2b20f18
|
feat: implement negative prompts
|
2023-01-08 13:05:02 -06:00 |
Sean Sube
|
0d4c0a5942
|
fix(api): remove prompt from output name
|
2023-01-08 12:46:52 -06:00 |
Sean Sube
|
f4ca6a0547
|
fix(api): typesafe param hashing
|
2023-01-08 10:24:21 -06:00 |
Sean Sube
|
e82379c61f
|
feat(api): use hash of params as output filename
|
2023-01-08 10:09:58 -06:00 |
Sean Sube
|
8c133e9230
|
fix(api): seed rng for each image
|
2023-01-08 09:31:22 -06:00 |
Sean Sube
|
282a7cfa2a
|
fix(api): clamp im2img strength
|
2023-01-08 09:17:23 -06:00 |
Sean Sube
|
93e53f6dc3
|
feat: make additional schedulers available in UI
|
2023-01-08 08:19:24 -06:00 |
Sean Sube
|
a6af9752f8
|
lint(api): remove extra print
|
2023-01-08 00:23:01 -06:00 |
Sean Sube
|
0232c7180c
|
fix(api): defer first model load until first request
|
2023-01-08 00:08:50 -06:00 |
Sean Sube
|
f99438e623
|
fix(docs): begin clarifying packages for each environment (#19)
|
2023-01-07 21:52:38 -06:00 |
Sean Sube
|
926f77b3b0
|
fix(api): keep strength as a float
|
2023-01-07 15:19:24 -06:00 |
Sean Sube
|
09ce6546be
|
feat(api): add img2img endpoint
|
2023-01-07 15:05:29 -06:00 |
Sean Sube
|
a721008d94
|
feat(api): add image with pytorch CUDA
|
2023-01-07 09:55:30 -06:00 |
Sean Sube
|
8359bd5b99
|
feat(api): experimentally add CUDA provider and Nvidia platform
|
2023-01-07 08:56:21 -06:00 |
Sean Sube
|
e605c9f66b
|
feat(gui): add download and delete buttons to image history
|
2023-01-06 22:20:14 -06:00 |
Sean Sube
|
c6662d155d
|
fix(api): adjust output path for module structure
|
2023-01-06 17:11:02 -06:00 |
Sean Sube
|
b59519cb7e
|
fix(api): update serve app name, add module entrypoint
|
2023-01-06 16:18:53 -06:00 |
Sean Sube
|
599e0ee2d0
|
feat(api): switch to package structure
|
2023-01-06 16:11:41 -06:00 |
Sean Sube
|
54829786bd
|
fix(api): improve image layer order
|
2023-01-06 14:17:06 -06:00 |
Sean Sube
|
af40bff10c
|
fix(build): use CPU version of pytorch in hypothetical alpine API image
|
2023-01-06 14:07:54 -06:00 |
Sean Sube
|
ca0da31791
|
fix(api): add numpy version restriction to requirements
|
2023-01-06 14:05:30 -06:00 |
Sean Sube
|
4ab0ef5055
|
remove alpine API image build
|
2023-01-06 13:58:19 -06:00 |
Sean Sube
|
0bec4939b1
|
add pytorch back to debian image
|
2023-01-06 13:56:16 -06:00 |
Sean Sube
|
a7a44560db
|
temporarily remove pytorch from API images
|
2023-01-06 13:31:18 -06:00 |
Sean Sube
|
16b7bded25
|
fix(build): remove unittest from CI install list, add coverage output to git ignore
|
2023-01-06 13:16:48 -06:00 |
Sean Sube
|
1cd3bd8cc0
|
fix(build): add stub API unit test
|
2023-01-06 13:11:47 -06:00 |
Sean Sube
|
6d560afbae
|
feat(build): add bundle to JS build, add API image jobs
|
2023-01-06 13:05:31 -06:00 |
Sean Sube
|
32c7701c85
|
fix(build): install coverage in python build
|
2023-01-06 12:53:41 -06:00 |
Sean Sube
|
8d3ca31fef
|
feat(build): add basic python CI
|
2023-01-06 12:50:31 -06:00 |
Sean Sube
|
6d839eaa29
|
lint(api): sort methods in introspection
|
2023-01-06 11:00:20 -06:00 |
Sean Sube
|
bbd0e938c7
|
feat(api): add remaining inputs params to response
|
2023-01-06 10:43:58 -06:00 |
Sean Sube
|
cab13f665a
|
feat(api): cache pipeline when changing scheduler, make txt2img logging more verbose
|
2023-01-05 23:28:25 -06:00 |
Sean Sube
|
82e7fbf7c5
|
feat(api): cache pipeline between requests (part of #5)
|
2023-01-05 22:50:30 -06:00 |
Sean Sube
|
4cb6ce8da3
|
feat(api): add endpoint to list models
|
2023-01-05 22:01:58 -06:00 |
Sean Sube
|
c70728d501
|
feat(api): add endpoints to list platforms/accelerators and pipeline schedulers
|
2023-01-05 21:54:40 -06:00 |
Sean Sube
|
8c985e91e3
|
feat(api): add introspection to index endpoint
|
2023-01-05 21:13:45 -06:00 |
Sean Sube
|
466884113f
|
feat: return json struct with output path instead of image data, load images from outputs endpoint
|
2023-01-05 20:32:46 -06:00 |
Sean Sube
|
50221af55a
|
feat(api): add endpoint to get previous outputs
|
2023-01-05 17:24:33 -06:00 |
Sean Sube
|
668e46a404
|
feat(api): add option to switch between AMD hardware and CPU software rendering
|
2023-01-05 17:24:14 -06:00 |
Sean Sube
|
64c78b887e
|
lint(api): sort schedulers, imports
|
2023-01-05 17:23:37 -06:00 |
Sean Sube
|
c036c6fcd9
|
fix(api): match model and output paths from readme
|
2023-01-05 15:48:23 -06:00 |
Sean Sube
|
5a82f39cf8
|
fix(api): add recommended venv name to git ignore
|
2023-01-05 15:38:47 -06:00 |
Sean Sube
|
6004f7671c
|
fix(api): match model path from readme
|
2023-01-05 15:38:29 -06:00 |
Sean Sube
|
8f77bb89f2
|
feat(image): add preliminary container files
|
2023-01-05 15:03:53 -06:00 |
Sean Sube
|
d93d4659fa
|
add seed to output filename, apply pep8 to server
|
2023-01-05 11:19:42 -06:00 |
Sean Sube
|
6cb04fcbba
|
load config from JSON, expand on setup instructions
|
2023-01-05 10:39:46 -06:00 |
Sean Sube
|
ccbce9abe8
|
add requirements file and test script
|
2023-01-05 10:05:23 -06:00 |
Sean Sube
|
6c932e2ee8
|
add test script, screenshot to readme
|
2023-01-05 09:44:01 -06:00 |
Sean Sube
|
4548a44ca3
|
add seed and latents stuff
|
2023-01-05 00:44:28 -06:00 |
Sean Sube
|
ea9f929bf1
|
clamp API params, limit filename length, remove queueing thing
|
2023-01-04 23:59:45 -06:00 |
Sean Sube
|
45cc2784cd
|
add extension to output files
|
2023-01-04 23:44:16 -06:00 |
Sean Sube
|
2e95e02ef1
|
create pipeline in request
|
2023-01-04 23:42:11 -06:00 |
Sean Sube
|
73027bb813
|
support multiple schedulers, save output images locally
|
2023-01-04 23:39:50 -06:00 |
Sean Sube
|
c4e542bc40
|
do cors correctly
|
2023-01-04 22:54:17 -06:00 |
Sean Sube
|
513d0a4d0f
|
add open cors header
|
2023-01-04 22:20:56 -06:00 |
Sean Sube
|
4c9a0b1ead
|
add a basic lock
|
2023-01-04 19:52:24 -06:00 |
Sean Sube
|
3cb527c2b8
|
some options, configurable paths
|
2023-01-04 19:42:37 -06:00 |
Sean Sube
|
f966332193
|
test server
|
2023-01-04 18:25:00 -06:00 |