1
0
Fork 0
Commit Graph

76 Commits

Author SHA1 Message Date
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 e872eeacec feat(api): limit simultaneous image workers (fixes #15) 2023-01-13 10:32:03 -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 2f3b5c06c7 fix(api): allow decimal CFG 2023-01-11 19:34:03 -06:00