aboutsummaryrefslogtreecommitdiff
path: root/modules/api
AgeCommit message (Collapse)Author
2023-06-12update model checkpoint switch codeSu Wei
2023-06-10quit restartw-e-w
2023-06-09add model exists status check to modeuls/api/api.py , /sdapi/v1/options [POST]Su Wei
2023-06-05Remove a bunch of unused/vestigial codeAarni Koskela
As found by Vulture and some eyes
2023-06-05Merge pull request #10956 from akx/lenAUTOMATIC1111
Simplify a bunch of `len(x) > 0`/`len(x) == 0` style expressions
2023-06-04Add endpoint to get latent_upscale_modes for hires fixramyma
2023-06-02Simplify a bunch of `len(x) > 0`/`len(x) == 0` style expressionsAarni Koskela
2023-05-31rename print_error to report, use it with together with package nameAUTOMATIC
2023-05-31Merge branch 'dev' into report-errorAUTOMATIC1111
2023-05-31Merge pull request #10845 from DragonHawkAlpha/masterAUTOMATIC1111
Added VAE listing to web API. Via: /sdapi/v1/sd-vae
2023-05-29Added VAE listing to web API.James
2023-05-29Add & use modules.errors.print_error where currently printing exception info ↵Aarni Koskela
by hand
2023-05-22Merge pull request #10635 from prodialabs/masterAUTOMATIC1111
disable `timeout_keep_alive`: fixes #10625 #10510 #10474
2023-05-22`modules/api/api.py`: disable `timeout_keep_alive`Monty Anderson
2023-05-17add /sdapi/v1/script-info apiAUTOMATIC
2023-05-11Autofix Ruff W (not W605) (mostly whitespace)Aarni Koskela
2023-05-10manual fixes for some C408AUTOMATIC
2023-05-10ruff manual fixesAUTOMATIC
2023-05-10manual fixes for ruffAUTOMATIC
2023-05-10autofixes from ruffAUTOMATIC
2023-05-09Fix up string formatting/concatenation to f-strings where feasibleAarni Koskela
2023-04-29bump gradio to 3.28.1AUTOMATIC
2023-04-29Merge pull request #9130 from ↵AUTOMATIC1111
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
2023-03-28Changed behavior that puts the args from alwayson_script request in the ↵Vespinian
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
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
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
scriptrunner of alwayson_scripts and only add back the ones that that were requested" This reverts commit dfa258de5f87ea7f5ff49e29ddf6e7b34ff8ebff.
2023-03-25Revert "Comment fix"Vespinian
This reverts commit f04bd037a51de3c65072581d9a7dfed1d0d2887e.
2023-03-25Merge pull request #8662 from vladmandic/api-handlerAUTOMATIC1111
api error handler
2023-03-21Unload 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-15Comment fixVespinian
2023-03-15Made copies of global scriptrunners, now we clear the copied scriptrunner of ↵Vespinian
alwayson_scripts and only add back the ones that that were requested
2023-03-15api error handlerVladimir Mandic
2023-03-11small diff whitespace cleanupVespinian
2023-03-11Fixed whitespaceVespinian
2023-03-11Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webuiVespinian
2023-03-11Changed alwayson_script_name and alwayson_script_args api params to 1 ↵Vespinian
alwayson_scripts param dict
2023-03-11Merge pull request #8322 from yeataro/masterAUTOMATIC1111
add: /sdapi/v1/scripts in API
2023-03-11rename fields for API for saving/sending imagesAUTOMATIC
save images to correct directories
2023-03-07Update modules/api/api.py Yea Chen
Suggested change by @akx Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-03-04update using original defaultsVladimir Mandic
2023-03-04add: /sdapi/v1/scripts in APIYea chen
API for get scripts list
2023-03-03allow api requests to specify do not send images in responseVladimir Mandic
2023-03-03allow saving of images via apiVladimir Mandic
2023-02-27comment clarificationVespinian
2023-02-27small refactor of api.pyVespinian
2023-02-27Added alwayson_script_name and alwayson_script_args to apiVespinian
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
2023-01-27support detecting midas modelAUTOMATIC
fix broken api for checkpoint list