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
Vespinian
f371579571
Revert "Made copies of global scriptrunners, now we clear the copied scriptrunner of alwayson_scripts and only add back the ones that that were requested"
...
This reverts commit dfa258de5f .
2023-03-25 14:11:46 -04:00
Vespinian
db602b100e
Revert "Comment fix"
...
This reverts commit f04bd037a5 .
2023-03-25 14:11:38 -04:00
Vladimir Mandic
f181885f0c
Merge pull request #57 from AUTOMATIC1111/master
...
merge from upstream
2023-03-25 08:47:00 -04:00
AUTOMATIC1111
a03536f213
Merge pull request #8662 from vladmandic/api-handler
...
api error handler
2023-03-25 12:47:32 +03:00
Φφ
4cbbb881ee
Unload checkpoints on Request
...
…to free VRAM.
New Action buttons in the settings to manually free and reload checkpoints, essentially
juggling models between RAM and VRAM.
2023-03-21 09:28:50 +03:00
Vespinian
f04bd037a5
Comment fix
2023-03-15 22:27:54 -04:00
Vespinian
dfa258de5f
Made copies of global scriptrunners, now we clear the copied scriptrunner of alwayson_scripts and only add back the ones that that were requested
2023-03-15 22:17:32 -04:00
Vladimir Mandic
cbce7f1c58
implement global and api exception handler
2023-03-15 15:17:48 -04:00
Vladimir Mandic
5387576c59
api error handler
2023-03-15 15:11:04 -04:00
Vladimir Mandic
696af5dc07
Merge pull request #49 from AUTOMATIC1111/master
...
merge from upstream
2023-03-12 08:56:09 -04:00
Vespinian
49bbdbe447
small diff whitespace cleanup
2023-03-11 14:34:56 -05:00
Vespinian
5546e71a10
Fixed whitespace
2023-03-11 12:35:20 -05:00
Vespinian
46f9fe3cd6
Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webui
2023-03-11 12:33:35 -05:00
Vespinian
2174f58dae
Changed alwayson_script_name and alwayson_script_args api params to 1 alwayson_scripts param dict
2023-03-11 12:21:33 -05:00
Vladimir Mandic
e0ea0151ed
post merge cleanup
2023-03-11 08:40:06 -05:00
AUTOMATIC1111
8ec0442dcd
Merge pull request #8322 from yeataro/master
...
add: /sdapi/v1/scripts in API
2023-03-11 13:43:34 +03:00
AUTOMATIC
3531a50080
rename fields for API for saving/sending images
...
save images to correct directories
2023-03-11 13:22:59 +03:00
Yea Chen
f85a192f99
Update modules/api/api.py
...
Suggested change by @akx
Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-03-07 04:04:35 +08:00
Vladimir Mandic
b012d70f15
update using original defaults
2023-03-04 17:51:37 -05:00
Yea chen
c48bbccf12
add: /sdapi/v1/scripts in API
...
API for get scripts list
2023-03-04 11:46:07 +08:00
Vladimir Mandic
f8e219bad9
allow api requests to specify do not send images in response
2023-03-03 09:00:52 -05:00
Vladimir Mandic
23d4fb5bf2
allow saving of images via api
2023-03-03 08:29:10 -05:00
Vespinian
c6c2a59333
comment clarification
2023-02-27 23:45:59 -05:00
Vespinian
a39c4cf766
small refactor of api.py
2023-02-27 23:27:33 -05:00
Vespinian
3b6de96467
Added alwayson_script_name and alwayson_script_args to api
...
Added 2 additional possible entries in the api request: alwayson_script_name, a string list, and, alwayson_script_args, a list of list containing the args of each script. This allows us to send args to always on script and keep backwards compatibility with old script_name and script_arg api params
2023-02-27 21:51:20 -05:00
minux302
33947a3c66
fix arg for hypernetwork train api
2023-02-10 17:58:35 +09:00
AUTOMATIC
6f31d2210c
support detecting midas model
...
fix broken api for checkpoint list
2023-01-27 11:54:19 +03:00
AUTOMATIC
d2ac95fa7b
remove the need to place configs near models
2023-01-27 11:28:12 +03:00
AUTOMATIC
602a1864b0
also return the removed field to sdapi/v1/upscalers because someone might have relied on it existing
2023-01-24 10:09:30 +03:00
AUTOMATIC
42a70d7477
repair sdapi/v1/upscalers returning bogus results
2023-01-24 10:05:45 +03:00
Vladimir Mandic
45e270dfc8
add image decod exception handling
2023-01-23 17:11:22 -05:00
Vladimir Mandic
6e1b296baf
api-image-format
2023-01-23 10:10:59 -05:00
AUTOMATIC
b5230197a6
rework extras tab to use script system
2023-01-23 09:24:43 +03:00
AUTOMATIC
6d805b669e
make CLIP interrogator download original text files if the directory does not exist
...
remove random artist built-in extension (to re-added as a normal extension on demand)
remove artists.csv (but what does it mean????????????????????)
make interrogate buttons show Loading... when you click them
2023-01-21 09:14:27 +03:00
AUTOMATIC
40ff6db532
extra networks UI
...
rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
2023-01-21 08:36:07 +03:00
AUTOMATIC
a95f135308
change hash to sha256
2023-01-14 09:56:59 +03:00
Vladimir Mandic
39ea251945
add textinfo to progress response
2023-01-11 10:23:51 -05:00
Vladimir Mandic
2275f130bf
relax reponse type check enforcement
2023-01-09 21:23:58 -05:00
AUTOMATIC1111
b1d976dca2
Merge pull request #6466 from vladmandic/api-get-memory
...
Implement API get-memory
2023-01-10 02:02:19 +03:00
Vladimir Mandic
95727312ca
remove bytes -> gb conversion
2023-01-09 16:54:12 -05:00
AUTOMATIC
137ce534b2
remove some code duplication
...
remove calls to locals()
add a test for img2img with script
2023-01-08 16:14:38 +03:00