aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/api.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #14421 from lanyeeee/api_thread_safeAUTOMATIC11112023-12-301-10/+18
|\ | | | | fix API thread safe issues of txt2img and img2img
| * remove locks, move init code to __init__lanyeeee2023-12-301-18/+19
| |
| * fix format issuelanyeeee2023-12-301-4/+2
| |
| * Merge branch 'dev' into api_thread_safekurisu_u2023-12-301-3/+88
| |\
| * | add locks to ensure init args are thread-safelanyeeee2023-12-301-8/+16
| | |
| * | move thread-unsafe code to __init__lanyeeee2023-12-261-10/+9
| | |
* | | fix img2img api that i broke when implementing infotext supportAUTOMATIC11112023-12-301-0/+1
| |/ |/|
* | fix bad values read from infotext for API, add commentAUTOMATIC11112023-12-301-2/+17
| |
* | img2img support for infotext APIAUTOMATIC11112023-12-301-1/+5
| |
* | add support for alwayson scripts for infotext APIAUTOMATIC11112023-12-301-19/+42
| |
* | make it so that if an option from infotext conflicts with an argument from ↵AUTOMATIC11112023-12-301-1/+5
| | | | | | | | API, the latter overrides the former
* | add override_settings support for infotext APIAUTOMATIC11112023-12-301-0/+10
| |
* | aAUTOMATIC11112023-12-301-0/+27
|/
* make task ids for API work without force_task_idAUTOMATIC11112023-12-171-6/+3
|
* Merge pull request #14314 from gayshub/masterAUTOMATIC11112023-12-161-2/+17
|\ | | | | Add allow specify the task id and get the location of task in the queue of pending task
| * fix the problem of ruff of githubgayshub2023-12-151-1/+0
| |
| * fix the problem of ruff of githubgayshub2023-12-151-1/+1
| |
| * fix the problem of ruff of githubgayshub2023-12-151-2/+2
| |
| * add allow specify the task id and get the location of task in the queue of ↵gayshub2023-12-151-2/+18
| | | | | | | | pending task
* | remove Train/Preprocessing tab and put all its functionality into extras ↵AUTOMATIC11112023-12-021-15/+0
| | | | | | | | batch images mode
* | repair unload sd checkpoint buttonAUTOMATIC11112023-10-151-6/+5
| |
* | Ability for extensions to return custom data via api in response.imagesFluttyProger2023-10-011-1/+2
| |
* | Fix some deprecated typesa6662023-08-291-13/+13
| |
* | update pnginfo checkpoint to return dict with parsed valuesAUTOMATIC11112023-08-261-6/+4
| |
* | fix format errorSpenserCai2023-08-251-1/+1
| |
* | support installed extensions list apiSpenserCai2023-08-251-0/+20
|/
* prevent API options from being changed via APIAUTOMATIC11112023-08-211-1/+1
|
* add settings for http/https URLs in source images in apiAUTOMATIC11112023-08-211-20/+26
|
* fix potential ssrf attack in #12663akiba2023-08-201-1/+22
|
* Merge pull request #12638 from Cschlaefli/fix-api-vae-model-refreshAUTOMATIC11112023-08-191-4/+5
|\ | | | | fix issues with api model-refresh and vae-refresh
| * remove unused importCade Schlaefli2023-08-181-1/+1
| |
| * fix issues with model refreshCade Schlaefli2023-08-181-3/+4
| |
* | api support get image from urlSpenserCai2023-08-191-0/+9
|/
* fix API always using -1 as seedAUTOMATIC11112023-08-141-0/+2
|
* Merge pull request #11950 from AnyISalIn/devAUTOMATIC11112023-07-291-1/+6
|\ | | | | feat: add refresh vae api
| * feat: add refresh vae apiAnyISalIn2023-07-241-1/+6
| | | | | | | | Signed-off-by: AnyISalIn <anyisalin@gmail.com>
| * [bug] If txt2img/img2img raises an exception, finally call state.end()AnyISalIn2023-07-221-16/+20
| | | | | | | | Signed-off-by: AnyISalIn <anyisalin@gmail.com>
* | Add total_tqdm clear in the end of txt2img & img2img api.caoxipeng2023-07-281-0/+2
| |
* | Merge pull request #11984 from AUTOMATIC1111/api-only-subpath-(root_path)AUTOMATIC11112023-07-251-2/+2
| | | | | | api only subpath (rootpath)
* | Merge pull request #11923 from AnyISalIn/devAUTOMATIC11112023-07-251-16/+20
|/ | | [bug] If txt2img/img2img raises an exception, finally call state.end()
* disable rich exception output in console for API by default, use ↵AUTOMATIC11112023-07-151-15/+18
| | | | WEBUI_RICH_EXCEPTIONS env var to enable
* Merge branch 'dev' into masterAUTOMATIC11112023-07-131-56/+73
|\
| * Merge branch 'master' into devAUTOMATIC11112023-07-111-1/+2
| |\
| * | Fix typo: checkpoint_alisasesAarni Koskela2023-07-081-2/+2
| | |
| * | Merge pull request #11503 from ↵AUTOMATIC11112023-07-081-1/+1
| |\ \ | | | | | | | | | | | | | | | | AUTOMATIC1111/rename---add-stop-route-to---api-server-stop Rename --add-stop-route to --api-server-stop
| | * | rename --add-stop-route to --api-server-stopw-e-w2023-06-291-1/+1
| | | |
| * | | Merge branch 'dev' into better-status-reporting-1AUTOMATIC11112023-07-081-27/+30
| |\ \ \
| | * \ \ Merge pull request #11656 from jovijovi/devAUTOMATIC11112023-07-081-0/+2
| | |\ \ \ | | | | | | | | | | | | fix(api): convert to "RGB" if image mode is "RGBA" #11655
| | | * | | fix(api): convert to "RGB" if image mode is "RGBA"jovijovi2023-07-061-0/+2
| | | | | |
| | * | | | Use contextlib for closing the generation processramyma2023-07-031-8/+3
| | | | | |