aboutsummaryrefslogtreecommitdiff
path: root/modules/api/models.py
AgeCommit message (Collapse)Author
2023-12-02remove Train/Preprocessing tab and put all its functionality into extras ↵AUTOMATIC1111
batch images mode
2023-08-29Fix some deprecated typesa666
2023-08-26update pnginfo checkpoint to return dict with parsed valuesAUTOMATIC1111
2023-08-25support installed extensions list apiSpenserCai
2023-08-14repair /docs pageAUTOMATIC1111
2023-07-26use "Any" type when type is Nonew-e-w
2023-07-18linter fixAUTOMATIC1111
2023-07-18fix the issue with /sdapi/v1/options failing (this time for sure!)AUTOMATIC1111
fix automated tests downloading CLIP model
2023-07-18lintAUTOMATIC1111
2023-07-18also make None a valid option for options API for #11854AUTOMATIC1111
2023-06-05Remove a bunch of unused/vestigial codeAarni Koskela
As found by Vulture and some eyes
2023-06-04Add endpoint to get latent_upscale_modes for hires fixramyma
2023-05-29Added VAE listing to web API.James
2023-05-17add /sdapi/v1/script-info apiAUTOMATIC
2023-05-11Autofix Ruff W (not W605) (mostly whitespace)Aarni Koskela
2023-05-10manual fixes for ruffAUTOMATIC
2023-03-11Fixed whitespaceVespinian
2023-03-11Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webuiVespinian
2023-03-11Changed alwayson_script_name and alwayson_script_args api params to 1 ↵Vespinian
alwayson_scripts param dict
2023-03-11Merge pull request #8322 from yeataro/masterAUTOMATIC1111
add: /sdapi/v1/scripts in API
2023-03-11rename fields for API for saving/sending imagesAUTOMATIC
save images to correct directories
2023-03-04update using original defaultsVladimir Mandic
2023-03-04add: /sdapi/v1/scripts in APIYea chen
API for get scripts list
2023-03-03allow api requests to specify do not send images in responseVladimir Mandic
2023-03-03allow saving of images via apiVladimir Mandic
2023-02-27Added alwayson_script_name and alwayson_script_args to apiVespinian
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
2023-01-27support detecting midas modelAUTOMATIC
fix broken api for checkpoint list
2023-01-24also return the removed field to sdapi/v1/upscalers because someone might ↵AUTOMATIC
have relied on it existing
2023-01-24repair sdapi/v1/upscalers returning bogus resultsAUTOMATIC
2023-01-14change hash to sha256AUTOMATIC
2023-01-11add textinfo to progress responseVladimir Mandic
2023-01-09relax reponse type check enforcementVladimir Mandic
2023-01-10Merge pull request #6466 from vladmandic/api-get-memoryAUTOMATIC1111
Implement API get-memory
2023-01-07Added script support in txt2img endpointnoodleanon
2023-01-07Merge branch 'AUTOMATIC1111:master' into img2img-api-scriptsnoodleanon
2023-01-07api-get-memoryVladimir Mandic
2023-01-07Merge pull request #6448 from aednzxy/patch-2AUTOMATIC1111
increase upscale api validation limit
2023-01-06increase upscale api validation limitDean Hopkins
2023-01-05allow img2img api to run scriptsnoodleanon
2023-01-04Use the read_info_from_image function directlySuffocate
2023-01-02feat(api): return more data for embeddingsPhilpax
2023-01-02feat(api): add /sdapi/v1/embeddingsPhilpax
2022-12-24implement train apiVladimir Mandic
2022-12-14Fix various typosJim Hays
2022-11-19Merge pull request #4358 from bamarillo/masterAUTOMATIC1111
[API][Feature] Add Skip endpoint
2022-11-07Adding DeepDanbooru to the interrogation APIsnowmeow2
2022-11-06Merge branch 'master' into roy.add_simple_interrogate_apiAUTOMATIC1111
2022-11-05Fix options endpoint not showing the full list of optionsBruno Seoane
2022-11-05Python 3.8 typing compatibilityEvgeniy
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```
2022-11-05Use typing.Optional instead of | to add support for Python 3.9 and below.Billy Cao