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