aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/api.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Add endpoint to get latent_upscale_modes for hires fixramyma2023-06-041-0/+9
|/ /
* | rename print_error to report, use it with together with package nameAUTOMATIC2023-05-311-3/+2
| |
* | Merge branch 'dev' into report-errorAUTOMATIC11112023-05-311-0/+5
|\ \
| * \ Merge pull request #10845 from DragonHawkAlpha/masterAUTOMATIC11112023-05-311-0/+5
| |\ \ | | | | | | | | Added VAE listing to web API. Via: /sdapi/v1/sd-vae
| | * | Added VAE listing to web API.James2023-05-291-0/+5
| | |/
* | / 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-171-2/+11
| |
* | Autofix Ruff W (not W605) (mostly whitespace)Aarni Koskela2023-05-111-2/+2
| |
* | manual fixes for some C408AUTOMATIC2023-05-101-1/+1
| |
* | ruff manual fixesAUTOMATIC2023-05-101-6/+12
| |
* | manual fixes for ruffAUTOMATIC2023-05-101-63/+66
| |
* | 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
|
* Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webuiVespinian2023-03-111-16/+27
|\
| * Merge pull request #8322 from yeataro/masterAUTOMATIC11112023-03-111-0/+7
| |\ | | | | | | 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-041-0/+13
| | | | | | | | | | | | API for get scripts list
| * | rename fields for API for saving/sending imagesAUTOMATIC2023-03-111-24/+17
| | | | | | | | | | | | save images to correct directories
| * | update using original defaultsVladimir Mandic2023-03-041-6/+11
| | |
| * | allow api requests to specify do not send images in responseVladimir Mandic2023-03-031-2/+8
| | |
| * | allow saving of images via apiVladimir Mandic2023-03-031-4/+4
| |/
* | Changed alwayson_script_name and alwayson_script_args api params to 1 ↵Vespinian2023-03-111-16/+7
| | | | | | | | 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-281-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
* fix arg for hypernetwork train apiminux3022023-02-101-1/+1
|
* remove the need to place configs near modelsAUTOMATIC2023-01-271-2/+3
|
* also return the removed field to sdapi/v1/upscalers because someone might ↵AUTOMATIC2023-01-241-0/+1
| | | | have relied on it existing
* repair sdapi/v1/upscalers returning bogus resultsAUTOMATIC2023-01-241-7/+9
|
* add image decod exception handlingVladimir Mandic2023-01-231-1/+5
|
* api-image-formatVladimir Mandic2023-01-231-10/+24
|
* rework extras tab to use script systemAUTOMATIC2023-01-231-8/+5
|
* make CLIP interrogator download original text files if the directory does ↵AUTOMATIC2023-01-211-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
* extra networks UIAUTOMATIC2023-01-211-4/+3
| | | | rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>