aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/api.py
AgeCommit message (Collapse)AuthorLines
2023-06-14terminate -> stopw-e-w-2/+2
2023-06-14response 501 if not a able to restartw-e-w-0/+1
2023-06-14rename routesw-e-w-5/+5
2023-06-12move _stop route to apiw-e-w-2/+9
2023-06-10quit restartw-e-w-1/+10
2023-06-05Merge pull request #10956 from akx/lenAUTOMATIC1111-1/+1
Simplify a bunch of `len(x) > 0`/`len(x) == 0` style expressions
2023-06-04Add endpoint to get latent_upscale_modes for hires fixramyma-0/+9
2023-06-02Simplify a bunch of `len(x) > 0`/`len(x) == 0` style expressionsAarni Koskela-1/+1
2023-05-31rename print_error to report, use it with together with package nameAUTOMATIC-3/+2
2023-05-31Merge branch 'dev' into report-errorAUTOMATIC1111-0/+5
2023-05-31Merge pull request #10845 from DragonHawkAlpha/masterAUTOMATIC1111-0/+5
Added VAE listing to web API. Via: /sdapi/v1/sd-vae
2023-05-29Added VAE listing to web API.James-0/+5
2023-05-29Add & use modules.errors.print_error where currently printing exception info ↵Aarni Koskela-3/+4
by hand
2023-05-22Merge pull request #10635 from prodialabs/masterAUTOMATIC1111-1/+1
disable `timeout_keep_alive`: fixes #10625 #10510 #10474
2023-05-22`modules/api/api.py`: disable `timeout_keep_alive`Monty Anderson-1/+1
2023-05-17add /sdapi/v1/script-info apiAUTOMATIC-2/+11
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