AUTOMATIC1111
c7daba71de
Merge pull request #8669 from Vespinian/fix-api-running-unwanted_scripts
...
Fix for API running unwanted alwayson scripts
3 years ago
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.
3 years ago
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 .
3 years ago
Vespinian
db602b100e
Revert "Comment fix"
...
This reverts commit f04bd037a5 .
3 years ago
AUTOMATIC1111
a03536f213
Merge pull request #8662 from vladmandic/api-handler
...
api error handler
3 years ago
Φφ
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.
3 years ago
Vespinian
f04bd037a5
Comment fix
3 years ago
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
3 years ago
Vladimir Mandic
5387576c59
api error handler
3 years ago
Vespinian
49bbdbe447
small diff whitespace cleanup
3 years ago
Vespinian
5546e71a10
Fixed whitespace
3 years ago
Vespinian
46f9fe3cd6
Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webui
3 years ago
Vespinian
2174f58dae
Changed alwayson_script_name and alwayson_script_args api params to 1 alwayson_scripts param dict
3 years ago
AUTOMATIC1111
8ec0442dcd
Merge pull request #8322 from yeataro/master
...
add: /sdapi/v1/scripts in API
3 years ago
AUTOMATIC
3531a50080
rename fields for API for saving/sending images
...
save images to correct directories
3 years ago
Yea Chen
f85a192f99
Update modules/api/api.py
...
Suggested change by @akx
Co-authored-by: Aarni Koskela <akx@iki.fi>
3 years ago
Vladimir Mandic
b012d70f15
update using original defaults
3 years ago
Yea chen
c48bbccf12
add: /sdapi/v1/scripts in API
...
API for get scripts list
3 years ago
Vladimir Mandic
f8e219bad9
allow api requests to specify do not send images in response
3 years ago
Vladimir Mandic
23d4fb5bf2
allow saving of images via api
3 years ago
Vespinian
c6c2a59333
comment clarification
3 years ago
Vespinian
a39c4cf766
small refactor of api.py
3 years ago
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
3 years ago
minux302
33947a3c66
fix arg for hypernetwork train api
3 years ago
AUTOMATIC
6f31d2210c
support detecting midas model
...
fix broken api for checkpoint list
3 years ago
AUTOMATIC
d2ac95fa7b
remove the need to place configs near models
3 years ago
AUTOMATIC
602a1864b0
also return the removed field to sdapi/v1/upscalers because someone might have relied on it existing
3 years ago
AUTOMATIC
42a70d7477
repair sdapi/v1/upscalers returning bogus results
3 years ago
Vladimir Mandic
45e270dfc8
add image decod exception handling
3 years ago
Vladimir Mandic
6e1b296baf
api-image-format
3 years ago
AUTOMATIC
b5230197a6
rework extras tab to use script system
3 years ago
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
3 years ago
AUTOMATIC
40ff6db532
extra networks UI
...
rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
3 years ago
AUTOMATIC
a95f135308
change hash to sha256
3 years ago
Vladimir Mandic
39ea251945
add textinfo to progress response
3 years ago
Vladimir Mandic
2275f130bf
relax reponse type check enforcement
3 years ago
AUTOMATIC1111
b1d976dca2
Merge pull request #6466 from vladmandic/api-get-memory
...
Implement API get-memory
3 years ago
Vladimir Mandic
95727312ca
remove bytes -> gb conversion
3 years ago
AUTOMATIC
137ce534b2
remove some code duplication
...
remove calls to locals()
add a test for img2img with script
3 years ago
noodleanon
6d0cc1e239
Corrected is_img2img param
3 years ago
noodleanon
d38ede71d5
Added script support in txt2img endpoint
3 years ago
noodleanon
50e2536279
Merge branch 'AUTOMATIC1111:master' into img2img-api-scripts
3 years ago
Vladimir Mandic
47534577ed
api-get-memory
3 years ago
AUTOMATIC1111
983167e621
Merge pull request #6448 from aednzxy/patch-2
...
increase upscale api validation limit
3 years ago
Dean Hopkins
82c1f10b14
increase upscale api validation limit
3 years ago
noodleanon
b5253f0dab
allow img2img api to run scripts
3 years ago
Suffocate
1288a3bb7d
Use the read_info_from_image function directly
3 years ago
Vladimir Mandic
11b8160a08
fix typo
3 years ago
AUTOMATIC
3bd737767b
disable broken API logging
3 years ago
AUTOMATIC1111
a8ad8666cd
Merge pull request #6261 from vladmandic/api-logging
...
add api logging
3 years ago