aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/api.py
AgeCommit message (Collapse)AuthorLines
2023-08-21prevent API options from being changed via APIAUTOMATIC1111-1/+1
2023-08-21add settings for http/https URLs in source images in apiAUTOMATIC1111-20/+26
2023-08-20fix potential ssrf attack in #12663akiba-1/+22
2023-08-19Merge pull request #12638 from Cschlaefli/fix-api-vae-model-refreshAUTOMATIC1111-4/+5
fix issues with api model-refresh and vae-refresh
2023-08-19api support get image from urlSpenserCai-0/+9
2023-08-17remove unused importCade Schlaefli-1/+1
2023-08-17fix issues with model refreshCade Schlaefli-3/+4
2023-08-14fix API always using -1 as seedAUTOMATIC1111-0/+2
2023-07-29Merge pull request #11950 from AnyISalIn/devAUTOMATIC1111-1/+6
feat: add refresh vae api
2023-07-28Add total_tqdm clear in the end of txt2img & img2img api.caoxipeng-0/+2
2023-07-25Merge pull request #11984 from AUTOMATIC1111/api-only-subpath-(root_path)AUTOMATIC1111-2/+2
api only subpath (rootpath)
2023-07-25Merge pull request #11923 from AnyISalIn/devAUTOMATIC1111-16/+20
[bug] If txt2img/img2img raises an exception, finally call state.end()
2023-07-24feat: add refresh vae apiAnyISalIn-1/+6
Signed-off-by: AnyISalIn <anyisalin@gmail.com>
2023-07-22[bug] If txt2img/img2img raises an exception, finally call state.end()AnyISalIn-16/+20
Signed-off-by: AnyISalIn <anyisalin@gmail.com>
2023-07-15disable rich exception output in console for API by default, use ↵AUTOMATIC1111-15/+18
WEBUI_RICH_EXCEPTIONS env var to enable
2023-07-13Merge branch 'dev' into masterAUTOMATIC1111-56/+73
2023-07-11set timeout_keep_aliveTangJicheng-1/+1
2023-07-11Merge branch 'master' into devAUTOMATIC1111-1/+2
2023-07-10add queue lock for refresh-checkpointstangjicheng-1/+2
2023-07-08Fix typo: checkpoint_alisasesAarni Koskela-2/+2
2023-07-08Merge pull request #11503 from ↵AUTOMATIC1111-1/+1
AUTOMATIC1111/rename---add-stop-route-to---api-server-stop Rename --add-stop-route to --api-server-stop
2023-07-08Merge branch 'dev' into better-status-reporting-1AUTOMATIC1111-27/+30
2023-07-08Merge pull request #11656 from jovijovi/devAUTOMATIC1111-0/+2
fix(api): convert to "RGB" if image mode is "RGBA" #11655
2023-07-06fix(api): convert to "RGB" if image mode is "RGBA"jovijovi-0/+2
2023-07-03Use contextlib for closing the generation processramyma-8/+3
2023-07-03Handle cleanup in case there's an exception thrownramyma-26/+31
2023-07-03API: use finally: for state.end()Aarni Koskela-15/+14
2023-07-03Add job argument to State.begin()Aarni Koskela-7/+7
2023-07-02Hotfix: call processing close to cleanup API generation callsramyma-0/+2
2023-06-29rename --add-stop-route to --api-server-stopw-e-w-1/+1
2023-06-27Merge pull request #11046 from akx/ded-codeAUTOMATIC1111-7/+0
Remove a bunch of unused/vestigial code
2023-06-27fix and rework #11113AUTOMATIC-3/+3
2023-06-27Merge branch 'dev' into masterAUTOMATIC1111-7/+38
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-12update model checkpoint switch codeSu Wei-5/+4
2023-06-10quit restartw-e-w-1/+10
2023-06-09add model exists status check to modeuls/api/api.py , /sdapi/v1/options [POST]Su Wei-1/+6
2023-06-05Remove a bunch of unused/vestigial codeAarni Koskela-7/+0
As found by Vulture and some eyes
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