aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/models.py
Commit message (Collapse)AuthorAgeFilesLines
* remove Train/Preprocessing tab and put all its functionality into extras ↵AUTOMATIC11112023-12-021-3/+0
| | | | batch images mode
* Fix some deprecated typesa6662023-08-291-13/+11
|
* update pnginfo checkpoint to return dict with parsed valuesAUTOMATIC11112023-08-261-1/+2
|
* support installed extensions list apiSpenserCai2023-08-251-0/+9
|
* repair /docs pageAUTOMATIC11112023-08-141-4/+5
|
* use "Any" type when type is Nonew-e-w2023-07-261-4/+2
|
* linter fixAUTOMATIC11112023-07-181-1/+0
|
* fix the issue with /sdapi/v1/options failing (this time for sure!)AUTOMATIC11112023-07-181-4/+2
| | | | fix automated tests downloading CLIP model
* lintAUTOMATIC11112023-07-181-1/+1
|
* also make None a valid option for options API for #11854AUTOMATIC11112023-07-181-3/+8
|
* Remove a bunch of unused/vestigial codeAarni Koskela2023-06-051-4/+0
| | | | As found by Vulture and some eyes
* Add endpoint to get latent_upscale_modes for hires fixramyma2023-06-041-0/+3
|
* Added VAE listing to web API.James2023-05-291-0/+4
|
* add /sdapi/v1/script-info apiAUTOMATIC2023-05-171-2/+19
|
* Autofix Ruff W (not W605) (mostly whitespace)Aarni Koskela2023-05-111-1/+1
|
* manual fixes for ruffAUTOMATIC2023-05-101-2/+3
|
* Fixed whitespaceVespinian2023-03-111-1/+0
|
* Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webuiVespinian2023-03-111-4/+27
|\
| * Merge pull request #8322 from yeataro/masterAUTOMATIC11112023-03-111-0/+4
| |\ | | | | | | add: /sdapi/v1/scripts in API
| | * add: /sdapi/v1/scripts in APIYea chen2023-03-041-0/+4
| | | | | | | | | | | | API for get scripts list
| * | rename fields for API for saving/sending imagesAUTOMATIC2023-03-111-4/+4
| | | | | | | | | | | | save images to correct directories
| * | update using original defaultsVladimir Mandic2023-03-041-2/+4
| | |
| * | allow api requests to specify do not send images in responseVladimir Mandic2023-03-031-2/+16
| | |
| * | allow saving of images via apiVladimir Mandic2023-03-031-2/+2
| |/
* | Changed alwayson_script_name and alwayson_script_args api params to 1 ↵Vespinian2023-03-111-2/+2
| | | | | | | | alwayson_scripts param dict
* | Added alwayson_script_name and alwayson_script_args to apiVespinian2023-02-281-2/+2
|/ | | | 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
* support detecting midas modelAUTOMATIC2023-01-271-1/+1
| | | | fix broken api for checkpoint list
* 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-1/+1
|
* change hash to sha256AUTOMATIC2023-01-141-1/+2
|
* add textinfo to progress responseVladimir Mandic2023-01-111-0/+1
|
* relax reponse type check enforcementVladimir Mandic2023-01-101-2/+2
|
* Merge pull request #6466 from vladmandic/api-get-memoryAUTOMATIC11112023-01-091-0/+4
|\ | | | | Implement API get-memory
| * api-get-memoryVladimir Mandic2023-01-071-0/+4
| |
* | Added script support in txt2img endpointnoodleanon2023-01-071-1/+1
| |
* | Merge branch 'AUTOMATIC1111:master' into img2img-api-scriptsnoodleanon2023-01-071-1/+1
|\|
| * Merge pull request #6448 from aednzxy/patch-2AUTOMATIC11112023-01-071-1/+1
| |\ | | | | | | increase upscale api validation limit
| | * increase upscale api validation limitDean Hopkins2023-01-061-1/+1
| | |
* | | allow img2img api to run scriptsnoodleanon2023-01-051-1/+1
|/ /
* | Use the read_info_from_image function directlySuffocate2023-01-041-2/+3
| |
* | feat(api): return more data for embeddingsPhilpax2023-01-021-2/+9
| |
* | feat(api): add /sdapi/v1/embeddingsPhilpax2023-01-011-0/+3
| |
* | implement train apiVladimir Mandic2022-12-241-0/+9
| |
* | Fix various typosJim Hays2022-12-151-1/+1
|/
* Merge pull request #4358 from bamarillo/masterAUTOMATIC11112022-11-191-3/+3
|\ | | | | [API][Feature] Add Skip endpoint
| * Fix options endpoint not showing the full list of optionsBruno Seoane2022-11-051-3/+3
| |
* | Adding DeepDanbooru to the interrogation APIsnowmeow22022-11-061-0/+1
| |
* | Merge branch 'master' into roy.add_simple_interrogate_apiAUTOMATIC11112022-11-061-6/+73
|\|
| * Python 3.8 typing compatibilityEvgeniy2022-11-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Solves problems with ```Traceback (most recent call last): File "webui.py", line 201, in <module> webui() File "webui.py", line 178, in webui create_api(app) File "webui.py", line 117, in create_api from modules.api.api import Api File "H:\AIart\stable-diffusion\stable-diffusion-webui\modules\api\api.py", line 9, in <module> from modules.api.models import * File "H:\AIart\stable-diffusion\stable-diffusion-webui\modules\api\models.py", line 194, in <module> class SamplerItem(BaseModel): File "H:\AIart\stable-diffusion\stable-diffusion-webui\modules\api\models.py", line 196, in SamplerItem aliases: list[str] = Field(title="Aliases") TypeError: 'type' object is not subscriptable``` and ```Traceback (most recent call last): File "webui.py", line 201, in <module> webui() File "webui.py", line 178, in webui create_api(app) File "webui.py", line 117, in create_api from modules.api.api import Api File "H:\AIart\stable-diffusion\stable-diffusion-webui\modules\api\api.py", line 9, in <module> from modules.api.models import * File "H:\AIart\stable-diffusion\stable-diffusion-webui\modules\api\models.py", line 194, in <module> class SamplerItem(BaseModel): File "H:\AIart\stable-diffusion\stable-diffusion-webui\modules\api\models.py", line 197, in SamplerItem options: dict[str, str] = Field(title="Options") TypeError: 'type' object is not subscriptable```
| * Use typing.Optional instead of | to add support for Python 3.9 and below.Billy Cao2022-11-051-13/+13
| |