aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/api.py
AgeCommit message (Collapse)AuthorLines
2023-05-11Autofix Ruff W (not W605) (mostly whitespace)Aarni Koskela-2/+2
2023-05-10manual fixes for some C408AUTOMATIC-1/+1
2023-05-10ruff manual fixesAUTOMATIC-6/+12
2023-05-10manual fixes for ruffAUTOMATIC-63/+66
2023-05-10autofixes from ruffAUTOMATIC-7/+7
2023-05-09Fix up string formatting/concatenation to f-strings where feasibleAarni Koskela-11/+11
2023-04-29bump gradio to 3.28.1AUTOMATIC-1/+1
2023-04-29Merge pull request #9130 from ↵AUTOMATIC1111-1/+3
Vespinian/fix-api-alwayson_scripts-less-then-requiered-args [Fix] Prevent alwayson_scripts args param resizing script_arg list when they are inserted in it
2023-04-29bump gradio to 3.27AUTOMATIC-9/+3
2023-03-28Changed behavior that puts the args from alwayson_script request in the ↵Vespinian-1/+3
script_args, so don't accidently resize the arg list if we get less arg then or default list has
2023-03-27Merge pull request #8669 from Vespinian/fix-api-running-unwanted_scriptsAUTOMATIC1111-6/+25
Fix for API running unwanted alwayson scripts
2023-03-25Reworked this PR, now we have 2 default arg list (one for each tab) that ↵Vespinian-6/+25
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-25Revert "Made copies of global scriptrunners, now we clear the copied ↵Vespinian-13/+3
scriptrunner of alwayson_scripts and only add back the ones that that were requested" This reverts commit dfa258de5f87ea7f5ff49e29ddf6e7b34ff8ebff.
2023-03-25Revert "Comment fix"Vespinian-1/+1
This reverts commit f04bd037a51de3c65072581d9a7dfed1d0d2887e.
2023-03-25Merge pull request #8662 from vladmandic/api-handlerAUTOMATIC1111-1/+44
api error handler
2023-03-21Unload checkpoints on RequestΦφ-1/+13
…to free VRAM. New Action buttons in the settings to manually free and reload checkpoints, essentially juggling models between RAM and VRAM.
2023-03-15Comment fixVespinian-1/+1
2023-03-15Made copies of global scriptrunners, now we clear the copied scriptrunner of ↵Vespinian-3/+13
alwayson_scripts and only add back the ones that that were requested
2023-03-15api error handlerVladimir Mandic-1/+44
2023-03-11small diff whitespace cleanupVespinian-1/+1
2023-03-11Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webuiVespinian-16/+27
2023-03-11Changed alwayson_script_name and alwayson_script_args api params to 1 ↵Vespinian-16/+7
alwayson_scripts param dict
2023-03-11Merge pull request #8322 from yeataro/masterAUTOMATIC1111-0/+7
add: /sdapi/v1/scripts in API
2023-03-11rename fields for API for saving/sending imagesAUTOMATIC-24/+17
save images to correct directories
2023-03-07Update modules/api/api.py Yea Chen-8/+2
Suggested change by @akx Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-03-04update using original defaultsVladimir Mandic-6/+11
2023-03-04add: /sdapi/v1/scripts in APIYea chen-0/+13
API for get scripts list
2023-03-03allow api requests to specify do not send images in responseVladimir Mandic-2/+8
2023-03-03allow saving of images via apiVladimir Mandic-4/+4
2023-02-27comment clarificationVespinian-1/+1
2023-02-27small refactor of api.pyVespinian-74/+51
2023-02-27Added alwayson_script_name and alwayson_script_args to apiVespinian-13/+98
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-10fix arg for hypernetwork train apiminux302-1/+1
2023-01-27remove the need to place configs near modelsAUTOMATIC-2/+3
2023-01-24also return the removed field to sdapi/v1/upscalers because someone might ↵AUTOMATIC-0/+1
have relied on it existing
2023-01-24repair sdapi/v1/upscalers returning bogus resultsAUTOMATIC-7/+9
2023-01-23add image decod exception handlingVladimir Mandic-1/+5
2023-01-23api-image-formatVladimir Mandic-10/+24
2023-01-23rework extras tab to use script systemAUTOMATIC-8/+5
2023-01-21make CLIP interrogator download original text files if the directory does ↵AUTOMATIC-8/+0
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-21extra networks UIAUTOMATIC-4/+3
rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
2023-01-14change hash to sha256AUTOMATIC-1/+1
2023-01-11add textinfo to progress responseVladimir Mandic-2/+2
2023-01-10Merge pull request #6466 from vladmandic/api-get-memoryAUTOMATIC1111-0/+35
Implement API get-memory
2023-01-09remove bytes -> gb conversionVladimir Mandic-10/+8
2023-01-08remove some code duplicationAUTOMATIC-17/+16
remove calls to locals() add a test for img2img with script
2023-01-08Corrected is_img2img paramnoodleanon-1/+1
2023-01-07Added script support in txt2img endpointnoodleanon-3/+19
2023-01-07api-get-memoryVladimir Mandic-0/+37
2023-01-05allow img2img api to run scriptsnoodleanon-3/+24