aboutsummaryrefslogtreecommitdiff
path: root/modules/api/models.py
AgeCommit message (Collapse)Author
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
2022-11-04Merge branch 'master' into 7flash/fix-api-compatibilityAUTOMATIC1111
2022-11-04Merge pull request #4218 from bamarillo/utils-endpointsAUTOMATIC1111
[API][Feature] Utils endpoints
2022-11-04fix: correct default val of upscale_first to Falsedigburn
2022-11-04fixed api compatibility with python 3.8Gur
2022-11-03Add config and lists endpointsBruno Seoane
2022-11-02fix: Add required parameter to API extras routedigburn
2022-10-31revert things to masterRoy Shilkrot
2022-10-31Merge remote-tracking branch 'upstream/master' into ↵Roy Shilkrot
roy.add_simple_interrogate_api
2022-10-30allow skip current image in progress apievshiron
2022-10-30preview current image when opts.show_progress_every_n_steps is enabledevshiron
2022-10-30update progress response modelevshiron
2022-10-30add description for state fieldevshiron
2022-10-30fix progress response modelevshiron
2022-10-30Merge branch 'master' into feat/progress-apievshiron
2022-10-30Merge branch 'master' into feat/progress-apievshiron
2022-10-29Add PNG Info endpointBruno Seoane
2022-10-27Add a barebones interrogate APIRoy Shilkrot
2022-10-26Remove folder endpointBruno Seoane
2022-10-26Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webuiBruno Seoane
2022-10-26cleanStephen
2022-10-26[Bugfix][API] - Fix API response for colab usersStephen
2022-10-24Merge remote-tracking branch 'upstream/master'Bruno Seoane
2022-10-24Reverse run_extras changeBruno Seoane
Update serialization on the batch images endpoint
2022-10-24rename api/processing to api/models for #3511AUTOMATIC
2022-10-23Remove unused field and classBruno Seoane
2022-10-23Add folder processing endpointBruno Seoane
Also minor refactor