aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | update model checkpoint switch codeSu Wei2023-06-121-5/+4
| | | |
| * | | add model exists status check to modeuls/api/api.py , /sdapi/v1/options [POST]Su Wei2023-06-091-1/+6
| | | |
* | | | set timeout_keep_aliveTangJicheng2023-07-111-1/+1
| |_|/ |/| |
* | | add queue lock for refresh-checkpointstangjicheng2023-07-101-1/+2
| |/ |/|
* | Merge pull request #10956 from akx/lenAUTOMATIC11112023-06-051-1/+1
|\ \ | | | | | | Simplify a bunch of `len(x) > 0`/`len(x) == 0` style expressions
| * | Simplify a bunch of `len(x) > 0`/`len(x) == 0` style expressionsAarni Koskela2023-06-021-1/+1
| | |
* | | Add endpoint to get latent_upscale_modes for hires fixramyma2023-06-042-0/+12
|/ /
* | rename print_error to report, use it with together with package nameAUTOMATIC2023-05-311-3/+2
| |
* | Merge branch 'dev' into report-errorAUTOMATIC11112023-05-312-0/+9
|\ \
| * \ Merge pull request #10845 from DragonHawkAlpha/masterAUTOMATIC11112023-05-312-0/+9
| |\ \ | | | | | | | | Added VAE listing to web API. Via: /sdapi/v1/sd-vae
| | * | Added VAE listing to web API.James2023-05-292-0/+9
| | |/
* | / Add & use modules.errors.print_error where currently printing exception info ↵Aarni Koskela2023-05-291-3/+4
|/ / | | | | | | by hand
* | Merge pull request #10635 from prodialabs/masterAUTOMATIC11112023-05-221-1/+1
|\ \ | |/ |/| disable `timeout_keep_alive`: fixes #10625 #10510 #10474
| * `modules/api/api.py`: disable `timeout_keep_alive`Monty Anderson2023-05-221-1/+1
| |
* | add /sdapi/v1/script-info apiAUTOMATIC2023-05-172-4/+30
| |
* | Autofix Ruff W (not W605) (mostly whitespace)Aarni Koskela2023-05-112-3/+3
| |
* | manual fixes for some C408AUTOMATIC2023-05-101-1/+1
| |
* | ruff manual fixesAUTOMATIC2023-05-101-6/+12
| |
* | manual fixes for ruffAUTOMATIC2023-05-102-65/+69
| |
* | autofixes from ruffAUTOMATIC2023-05-101-7/+7
|/
* Fix up string formatting/concatenation to f-strings where feasibleAarni Koskela2023-05-091-11/+11
|
* bump gradio to 3.28.1AUTOMATIC2023-04-291-1/+1
|
* Merge pull request #9130 from ↵AUTOMATIC11112023-04-291-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
| * Changed behavior that puts the args from alwayson_script request in the ↵Vespinian2023-03-291-1/+3
| | | | | | | | script_args, so don't accidently resize the arg list if we get less arg then or default list has
* | bump gradio to 3.27AUTOMATIC2023-04-291-9/+3
|/
* Merge pull request #8669 from Vespinian/fix-api-running-unwanted_scriptsAUTOMATIC11112023-03-271-6/+25
|\ | | | | Fix for API running unwanted alwayson scripts
| * Reworked this PR, now we have 2 default arg list (one for each tab) that ↵Vespinian2023-03-251-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.
| * Revert "Made copies of global scriptrunners, now we clear the copied ↵Vespinian2023-03-251-13/+3
| | | | | | | | | | | | scriptrunner of alwayson_scripts and only add back the ones that that were requested" This reverts commit dfa258de5f87ea7f5ff49e29ddf6e7b34ff8ebff.
| * Revert "Comment fix"Vespinian2023-03-251-1/+1
| | | | | | | | This reverts commit f04bd037a51de3c65072581d9a7dfed1d0d2887e.
| * Comment fixVespinian2023-03-161-1/+1
| |
| * Made copies of global scriptrunners, now we clear the copied scriptrunner of ↵Vespinian2023-03-161-3/+13
| | | | | | | | alwayson_scripts and only add back the ones that that were requested
* | Merge pull request #8662 from vladmandic/api-handlerAUTOMATIC11112023-03-251-1/+44
|\ \ | | | | | | api error handler
| * | api error handlerVladimir Mandic2023-03-151-1/+44
| |/
* / Unload checkpoints on RequestΦφ2023-03-211-1/+13
|/ | | | | | | …to free VRAM. New Action buttons in the settings to manually free and reload checkpoints, essentially juggling models between RAM and VRAM.
* small diff whitespace cleanupVespinian2023-03-111-1/+1
|
* Fixed whitespaceVespinian2023-03-111-1/+0
|
* Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webuiVespinian2023-03-112-20/+54
|\
| * Merge pull request #8322 from yeataro/masterAUTOMATIC11112023-03-112-0/+11
| |\ | | | | | | add: /sdapi/v1/scripts in API
| | * Update modules/api/api.py Yea Chen2023-03-061-8/+2
| | | | | | | | | | | | | | | Suggested change by @akx Co-authored-by: Aarni Koskela <akx@iki.fi>
| | * add: /sdapi/v1/scripts in APIYea chen2023-03-042-0/+17
| | | | | | | | | | | | API for get scripts list
| * | rename fields for API for saving/sending imagesAUTOMATIC2023-03-112-28/+21
| | | | | | | | | | | | save images to correct directories
| * | update using original defaultsVladimir Mandic2023-03-042-8/+15
| | |
| * | allow api requests to specify do not send images in responseVladimir Mandic2023-03-032-4/+24
| | |
| * | allow saving of images via apiVladimir Mandic2023-03-032-6/+6
| |/
* | Changed alwayson_script_name and alwayson_script_args api params to 1 ↵Vespinian2023-03-112-18/+9
| | | | | | | | alwayson_scripts param dict
* | comment clarificationVespinian2023-02-281-1/+1
| |
* | small refactor of api.pyVespinian2023-02-281-74/+51
| |
* | Added alwayson_script_name and alwayson_script_args to apiVespinian2023-02-282-15/+100
|/ | | | 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
* fix arg for hypernetwork train apiminux3022023-02-101-1/+1
|
* support detecting midas modelAUTOMATIC2023-01-271-1/+1
| | | | fix broken api for checkpoint list