aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/models.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * Merge branch 'master' into 7flash/fix-api-compatibilityAUTOMATIC11112022-11-041-3/+68
| |\
| | * Merge pull request #4218 from bamarillo/utils-endpointsAUTOMATIC11112022-11-041-3/+67
| | |\ | | | | | | | | [API][Feature] Utils endpoints
| | | * Add config and lists endpointsBruno Seoane2022-11-031-3/+67
| | | |
| | * | fix: correct default val of upscale_first to Falsedigburn2022-11-041-1/+1
| | | |
| | * | fix: Add required parameter to API extras routedigburn2022-11-021-0/+1
| | |/
| * / fixed api compatibility with python 3.8Gur2022-11-031-4/+5
| |/
* | revert things to masterRoy Shilkrot2022-10-311-5/+1
| |
* | Merge remote-tracking branch 'upstream/master' into ↵Roy Shilkrot2022-10-311-20/+79
|\| | | | | | | roy.add_simple_interrogate_api
| * allow skip current image in progress apievshiron2022-10-291-0/+3
| |
| * preview current image when opts.show_progress_every_n_steps is enabledevshiron2022-10-291-0/+1
| |
| * update progress response modelevshiron2022-10-291-2/+2
| |
| * add description for state fieldevshiron2022-10-291-1/+1
| |
| * fix progress response modelevshiron2022-10-291-4/+4
| |
| * Merge branch 'master' into feat/progress-apievshiron2022-10-291-0/+7
| |\
| | * Add PNG Info endpointBruno Seoane2022-10-291-1/+8
| | |
| * | Merge branch 'master' into feat/progress-apievshiron2022-10-291-16/+64
| |\|
| | * Remove folder endpointBruno Seoane2022-10-261-5/+1
| | |
| | * Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webuiBruno Seoane2022-10-261-3/+5
| | |\ | | |/ | |/|
| | * Merge remote-tracking branch 'upstream/master'Bruno Seoane2022-10-241-1/+1
| | |\
| | * | Reverse run_extras changeBruno Seoane2022-10-241-4/+4
| | | | | | | | | | | | | | | | Update serialization on the batch images endpoint
| | * | Remove unused field and classBruno Seoane2022-10-231-5/+1
| | | |
| | * | Add folder processing endpointBruno Seoane2022-10-231-1/+5
| | | | | | | | | | | | | | | | Also minor refactor
| | * | Move processing's models into models.pyBruno Seoane2022-10-231-2/+110
| | | | | | | | | | | | | | | | | | | | It didn't make sense to have two differente files for the same and "models" is a more descriptive name.
| | * | Update endpoints to use gradio's own utils functionsBruno Seoane2022-10-231-2/+2
| | | |
| | * | Add batch processing "extras" endpointBruno Seoane2022-10-231-1/+14
| | | |
| | * | Add "extra" single image operationBruno Seoane2022-10-231-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | - Separate extra modes into 3 endpoints so the user ddoesn't ahve to handle so many unused parameters. - Add response model for codumentation
| | * | Moved moodels to their own file and extracted base64 conversion to its own ↵Bruno Seoane2022-10-221-0/+8
| | / | | | | | | | | | function
* | / Add a barebones interrogate APIRoy Shilkrot2022-10-271-1/+12
|/ /
* | cleanStephen2022-10-261-1/+1
| |