Commit Graph

402 Commits (e8a158f4f5e10742c316e9b308ce9241b2c98430)

Author SHA1 Message Date
Vladimir Mandic 172693eb99 refactor processing class
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-11 15:23:11 -05:00
Vladimir Mandic dab2827dab add api override field
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-08 09:49:46 -05:00
Vladimir Mandic 28efae6b2d fix ipadapter face
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-01 08:39:03 -04:00
Vladimir Mandic 2e08a26d53 add latent history
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-08 09:23:16 -04:00
Vladimir Mandic 3bbcc33181 add detailer
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-07 09:32:56 -04:00
Vladimir Mandic 04a5071249 face-hires -> detailer refactor
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-06 11:23:33 -04:00
Vladimir Mandic 2427f922ae update changelog 2024-09-04 16:45:44 -04:00
Vladimir Mandic 68a8ffa3cf ipadapter optional face autocrop input image 2024-08-29 14:10:38 -04:00
Vladimir Mandic 01fc706433 fix nvml gpu monitor 2024-08-28 20:05:12 -04:00
Vladimir Mandic bb7f84b99b better api defaults 2024-08-28 10:58:54 -04:00
Vladimir Mandic 277d84cdbe fix control api 2024-08-28 09:11:21 -04:00
Vladimir Mandic 16ab1a0af7 lint updates 2024-06-26 08:58:22 -04:00
Vladimir Mandic 72f6cf6a1f add ms florence 2024-06-23 08:50:08 -04:00
Vladimir Mandic 4122c6fbce fix api ip-adapter 2024-06-18 08:37:14 -04:00
Vladimir Mandic a5f9001ba9 on-demand install pynvml 2024-06-10 16:46:05 -04:00
Vladimir Mandic 9bc217644d improve metadata parser 2024-06-06 11:24:31 -04:00
Vladimir Mandic 9a7a5ba81c lint cleanup 2024-05-28 10:48:27 -04:00
Vladimir Mandic 9b08e720a5 better image save reporting 2024-05-17 10:10:52 -04:00
Vladimir Mandic 554e5c8224 torch dynamic profiling 2024-05-16 18:40:18 -04:00
Vladimir Mandic 1b76a6243d motd exception handling 2024-04-25 10:02:42 -04:00
Vladimir Mandic 49ea56059b ipadapter masks api support 2024-04-20 10:06:32 -04:00
Yoink3000 ab218fa9c8 fix path handling for gallery preview 2024-04-19 02:05:39 +08:00
Vladimir Mandic f2610c3936 ip adapter masking 2024-04-18 12:43:51 -04:00
Vladimir Mandic ef8f822736 minor gallery fix 2024-04-07 12:39:23 -04:00
Vladimir Mandic bd7ba768b1 add ip_adapter to api and fix control 2024-03-29 10:26:29 -04:00
Vladimir Mandic 89e9debbcd control api 2024-03-27 11:33:29 -04:00
Vladimir Mandic 1227e76128 initial control api draft 2024-03-26 19:30:31 -04:00
Vladimir Mandic 902f02300d add vqa api 2024-03-26 09:24:01 -04:00
Vladimir Mandic db11bc59d1 gallery optimizations 2024-03-26 09:02:30 -04:00
Vladimir Mandic 9104bba22d update ar and gallery permissions 2024-03-25 14:22:39 -04:00
Vladimir Mandic fb5ef75f5a gallery video support 2024-03-24 13:18:39 -04:00
Vladimir Mandic b33e4d0a6a gallery urlencode/decode filenames 2024-03-24 09:40:13 -04:00
Vladimir Mandic 77f2d6c570 fix api generate save metadata 2024-03-24 09:04:49 -04:00
Vladimir Mandic dc9c60e174 gallery optimizations 2024-03-23 14:46:55 -04:00
Vladimir Mandic 1a27871c70 initial version of native gallery 2024-03-21 16:16:39 -04:00
Vladimir Mandic 1b44a16a4e merge process and interrogate, add exif handler 2024-03-03 13:36:10 -05:00
Vladimir Mandic c29b76fde3 cleanup api 2024-03-02 08:59:35 -05:00
Vladimir Mandic 5bdaede80d add masking api 2024-03-01 13:46:13 -05:00
Vladimir Mandic c7d5096f7e add preprocess api 2024-03-01 12:52:10 -05:00
Vladimir Mandic 537170fa2d fix api info endpoint 2024-02-28 11:11:48 -05:00
Vladimir Mandic 6239d266f4 remove training 2024-02-24 09:58:46 -05:00
Vladimir Mandic 88de556445 update todo and startup logging 2024-02-22 21:05:39 -05:00
Vladimir Mandic 3604213e1c legacy cleanups 2024-02-22 09:57:09 -05:00
Vladimir Mandic 02336fdb36 refactor txt2img/img2img api 2024-02-16 08:49:42 -05:00
Vladimir Mandic 19e5062fa8 fix interrogate api 2024-02-10 09:13:07 -05:00
Vladimir Mandic 24b4cd77a3 update benchmarks and api endpoints 2024-02-07 12:12:54 -05:00
Vladimir Mandic 8f1f538bc9 add api compatibility layer for civitai 2024-01-30 16:19:03 -05:00
Vladimir Mandic d0ff929fd2 update api compatibility 2024-01-30 14:17:32 -05:00
Enes Sadık Özbek 625d29d4fa Fix face script not showing up unless experimental 2024-01-30 09:35:29 -05:00
Enes Sadık Özbek 44a0429727 Fix get_scripts_list 2024-01-30 09:35:29 -05:00
Enes Sadık Özbek a76647c806 Fix referencing old faceid model in api models 2024-01-30 09:35:29 -05:00
Enes Sadık Özbek 80bd17dc76 Update API for latest face module 2024-01-30 09:35:29 -05:00
Vladimir Mandic 3b09027c67 cleanup 2024-01-29 14:06:54 -05:00
Vladimir Mandic 6c75539b0b fix api image to bas64 2024-01-29 13:42:39 -05:00
Vladimir Mandic c6f6c80da8 dynamic pipelines 2024-01-28 17:10:51 -05:00
Vladimir Mandic b79d8ea6c3 cleanup api model defs 2024-01-28 10:25:26 -05:00
Vladimir Mandic 7e447222a1 refactor api 2024-01-28 10:13:09 -05:00
Vladimir Mandic 2c0b3ac4b3 add additional controlnets 2024-01-20 13:36:39 -05:00
Enes Sadık Özbek 8805a12caa
Fix FaceID API not working because of wrong type 2024-01-17 02:05:01 +03:00
Enes Sadık Özbek fd07c6eda8
Update ranges of FaceID API parameters 2024-01-16 23:39:29 +03:00
Vladimir Mandic 94fc37695d
Merge pull request #2726 from Trojaner/api/ipadapters
Add FaceID mode API parameter
2024-01-16 15:25:57 -05:00
Enes Sadık Özbek 704d5300de
Add FaceID mode API parameter 2024-01-16 23:23:34 +03:00
Disty0 42845b344c Cleanup 2024-01-09 16:07:43 +03:00
Vladimir Mandic 3a79d502b6
Merge pull request #2697 from Trojaner/api/ipadapters
Update FaceID api params
2024-01-09 07:32:41 -05:00
Enes Sadık Özbek 9d2446f359
Fix model descriptions for FaceID 2024-01-08 22:47:19 +03:00
Enes Sadık Özbek f1b6971f7e
Update FaceID api params 2024-01-08 22:45:16 +03:00
Vladimir Mandic 119424399f controle module enable scripts and extensions 2024-01-07 17:55:00 -05:00
Vladimir Mandic 52d19637d8 fix progress api 2024-01-07 17:55:00 -05:00
Enes Sadık Özbek d93485a908
Potential None error fix in prepare_img_gen_request 2024-01-07 22:59:16 +03:00
Enes Sadık Özbek 96dbd230dc
Fix dict related errors in img gen API 2024-01-07 22:54:03 +03:00
Enes Sadık Özbek 9670f1d801
Args might not be always strings 2024-01-07 18:05:11 +03:00
Enes Sadık Özbek dd37e7b973
Fix length control for request args 2024-01-07 18:04:49 +03:00
Enes Sadık Özbek 8e5f64060d
Implement generic sanitization of script args in requests 2024-01-07 18:00:44 +03:00
Enes Sadık Özbek 6077bd01df
Fix API docs typo 2023-12-31 01:00:17 +03:00
Enes Sadık Özbek 88a86b901f
Add ip_adapter and face_id fields for txt2img/ímg2img APIs 2023-12-31 00:49:41 +03:00
Vladimir Mandic f13f2d03f9 fix prompt scheduling 2023-12-18 13:27:36 -05:00
Enes Sadık Özbek 17e8fbfe92
Fix png-info and extensions endpoints 2023-12-18 18:29:08 +03:00
Enes Sadık Özbek 350cd17465
Implement remaining API changes 2023-12-18 18:09:25 +03:00
Enes Sadık Özbek 5b61d849b8
[Breaking change] Align some APIs with AUTOMATIC1111
* /refresh-vaes -> /refresh-vae
* /sd_models response [name -> model_name]
2023-12-18 15:21:06 +03:00
Vladimir Mandic b7cbd34106 update api and img2img 2023-12-11 10:00:42 -05:00
Vladimir Mandic 12cf688cbe authentication and locking improvements 2023-11-16 15:26:36 -05:00
Vladimir Mandic 3062b1125e fix progress at zero 2023-11-06 14:20:16 -05:00
Vladimir Mandic 267905e6bb Revert "Merge pull request #2411 from vladmandic/master"
This reverts commit 64cce8a606, reversing
changes made to 597fc1863f.
2023-10-26 07:30:01 -04:00
Vladimir Mandic 5219daa7fb Revert "Merge branch 'dev' into master"
This reverts commit 4b91ee0044, reversing
changes made to fc7e3c5721.
2023-10-26 07:17:40 -04:00
Vladimir Mandic 2522bdeedb redesign job state and progress bar 2023-10-24 22:02:46 -04:00
Vladimir Mandic 079f5c9f2a add compatibility reexport for codeformers 2023-10-18 13:01:26 -04:00
Vladimir Mandic d951007d21 add motd 2023-10-09 08:46:48 -04:00
Vladimir Mandic f3c6bfbe7f finish nvml 2023-10-02 17:25:57 -04:00
Vladimir Mandic 39933a0e28 add nvml api 2023-10-02 16:33:26 -04:00
Vladimir Mandic 257601bbb8 cleanup 2023-09-23 10:15:06 -04:00
Vladimir Mandic f69625625b add browser session info 2023-09-22 21:01:07 -04:00
Vladimir Mandic 36324361bd refactor en folder handling 2023-09-21 11:58:24 -04:00
Vladimir Mandic 8ca79ad9b5 refactor upscalers 2023-09-20 13:07:29 -04:00
Vladimir Mandic 0f3dc232c1 add en show/hide/reorder 2023-09-18 10:27:31 -04:00
Vladimir Mandic cb43af03a2 get api extra-networks 2023-09-16 16:45:11 -04:00
Vladimir Mandic d3177fc560 fix api typing for scripts 2023-09-15 10:09:06 -04:00
Vladimir Mandic 2c06f841fb fix styles api 2023-09-10 18:52:48 -04:00
Vladimir Mandic 7bda411738 improve styles, better logging 2023-09-09 13:47:46 -04:00
Vladimir Mandic 09b4c79f4a add job info to all jobs 2023-09-07 10:40:07 -04:00
Vladimir Mandic d41baddf50 add styles to extra networks 2023-09-03 15:00:48 -04:00
Vladimir Mandic 095ef45d3f linting update 2023-08-05 09:33:55 +02:00
Marcin Dzierwa 0611b1e4d9 added /sdapi/v1/sd-vae endpoint 2023-08-04 18:58:47 +02:00
Vladimir Mandic ff9b8bc062 api endpoint refresh vaes 2023-07-26 15:51:19 -04:00
Vladimir Mandic 6c02e6a2eb add operations to metadata 2023-07-25 12:28:13 -04:00
Vladimir Mandic debec28be6 rework settings, image-watermark, safe config handling 2023-07-18 14:41:27 -04:00
Vladimir Mandic c71467e7f0 fix gallery 2023-07-17 21:09:22 -04:00
Vladimir Mandic 7a859cdb18 update diffuser samplers and refiner workflows 2023-07-16 12:56:55 -04:00
Disty0 2a9133bfec IPEX rework 2023-07-14 17:33:24 +03:00
Vladimir Mandic 2a21196061
Merge branch 'master' into dev 2023-07-08 13:35:25 -04:00
Vladimir Mandic a79b8c86c2 cleanup before merge 2023-07-08 12:20:37 -04:00
Vladimir Mandic 7e11ff2b34 add sdxl support 2023-07-06 19:26:43 -04:00
Vladimir Mandic de94eb1589 api update 2023-07-05 18:09:34 -04:00
Disty0 966eed8dd9 Autodetect IPEX 2023-07-04 23:37:36 +03:00
Vladimir Mandic 5a341b1182 add log monitoring 2023-06-28 10:35:15 -04:00
Vladimir Mandic f7ff5bcf3c update lint rules 2023-06-27 09:35:46 -04:00
Vladimir Mandic fa35ea1516 log handlers: rotate and ring buffer 2023-06-17 20:12:04 -04:00
Vladimir Mandic 8d80b5f6d9 add server class 2023-06-17 13:44:55 -04:00
Vladimir Mandic ab18cb8d63 advanced uvicorn/hypercorn config 2023-06-16 10:50:40 -04:00
Vladimir Mandic 9334b2f21c jumbo merge part three 2023-06-14 13:54:23 -04:00
Vladimir Mandic cb307399dd jumbo merge 2023-06-13 11:59:56 -04:00
Vladimir Mandic 0cca4d452a add saving from process tab 2023-06-07 17:35:27 -04:00
Disty0 562947c944 Use proper device names instead of "xpu" 2023-06-02 01:14:56 +03:00
Vladimir Mandic 251dc341f9 restruct html/js and cleanup 2023-06-01 17:44:15 -04:00
Vladimir Mandic 02c9640fa5 enhance image saving 2023-06-01 15:44:38 -04:00
Vladimir Mandic b664991633 update samplers 2023-05-30 12:18:22 -04:00
Vladimir Mandic d36b16d03f refactor api auth 2023-05-23 14:31:22 -04:00
Vladimir Mandic beff89bad3 api auth override 2023-05-22 15:27:20 -04:00
Vladimir Mandic c103e53689 secure api access 2023-05-22 14:31:04 -04:00
Vladimir Mandic bc02d6668d update cli script examples 2023-05-16 10:52:38 -04:00
Vladimir Mandic 7fe0587557 update cli 2023-05-15 16:55:10 -04:00
Vladimir Mandic 819d105d1d update cli 2023-05-13 15:21:00 -04:00
Vladimir Mandic 1360c6422a add fp16 test 2023-05-08 09:27:50 -04:00
Vladimir Mandic 865c0bc7a3 merge from upstream 2023-05-04 07:51:38 -04:00
Disty0 8171d57c36 Remove unnecessary IPEX imports 2023-05-04 02:34:34 +03:00
Vladimir Mandic cb4cff3929 redesign logging 2023-05-02 13:57:16 -04:00
Vladimir Mandic d4a748d758 update requirements 2023-05-01 12:25:35 -04:00
Vladimir Mandic dedd3ffafb fix script api 2023-04-30 20:08:44 -04:00
Disty0 de8d0bef9f More patches and Import IPEX after Torch 2023-04-30 18:19:37 +03:00
Vladimir Mandic cd580866a7 fix awalys on script args 2023-04-29 12:37:36 -04:00
Vladimir Mandic 058666f959 fix api image paths 2023-04-25 14:58:35 -04:00
Vladimir Mandic 58df74cfd5 new middleware handler and ability to restart server on-the-fly 2023-04-16 15:57:00 -04:00
Vladimir Mandic dd25f2f515 update setup 2023-04-15 17:22:58 -04:00
Vladimir Mandic 149329cb09 downgrade gradio 2023-04-14 15:23:33 -04:00
Vladimir Mandic 27302938f1 update gradio and enhance tracebacks 2023-04-14 14:20:37 -04:00
Vladimir Mandic 2ece9782e4 handle duplicate extensions and redo exception handler 2023-04-14 09:57:53 -04:00
Vladimir Mandic 81b8294e93 switch cmdflags to settings 2023-04-12 10:40:11 -04:00
Vladimir Mandic 4301b03f50 reduce error logging 2023-03-29 13:16:13 -04:00
Vladimir Mandic 4231cf42f6
Merge pull request #65 from AUTOMATIC1111/master
merge from upstream
2023-03-27 10:35:57 -04:00
AUTOMATIC1111 c7daba71de
Merge pull request #8669 from Vespinian/fix-api-running-unwanted_scripts
Fix for API running unwanted alwayson scripts
2023-03-27 08:11:34 +03:00
Vespinian 23f6dfce4c Reworked this PR, now we have 2 default arg list (one for each tab) that will be initialized on the first api request and then reused afterwards. The init_script_args copies the corresponding default list and applies the modifications asked by the api request. 2023-03-25 14:16:35 -04:00