aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api
AgeCommit message (Collapse)AuthorLines
2022-11-05Merge pull request #4329 from Blucknote/patch-1AUTOMATIC1111-4/+4
Python 3.8 typing compatibility
2022-11-05Merge branch 'master' into fix/encode-pnginfoevshiron-13/+17
2022-11-05Python 3.8 typing compatibilityEvgeniy-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```
2022-11-05Use typing.Optional instead of | to add support for Python 3.9 and below.Billy Cao-13/+13
2022-11-05Merge branch 'master' into fix/encode-pnginfoevshiron-11/+152
2022-11-04disable setting options via API until it is fixed by the authorAUTOMATIC-0/+4
2022-11-04Merge branch 'master' into 7flash/fix-api-compatibilityAUTOMATIC1111-8/+148
2022-11-04Merge pull request #4218 from bamarillo/utils-endpointsAUTOMATIC1111-8/+147
[API][Feature] Utils endpoints
2022-11-04fix: correct default val of upscale_first to Falsedigburn-1/+1
2022-11-04fixed api compatibility with python 3.8Gur-4/+5
2022-11-03Remove unused endpointBruno Seoane-12/+0
2022-11-03Add config and lists endpointsBruno Seoane-8/+159
2022-11-02fix: Add required parameter to API extras routedigburn-0/+1
2022-11-02add back png info in image apievshiron-4/+17
2022-11-02remove duplicate code from #3970AUTOMATIC-9/+1
2022-11-02Merge branch 'master' into fix/progress-apievshiron-1/+15
2022-11-01fix API returning extra stuff in base64 encoded iamges for #3972AUTOMATIC-1/+9
2022-10-31prototype interrupt apievshiron-0/+6
2022-10-30fix current image in progress api when parallel processing enabledevshiron-2/+11
2022-10-30rework #3722 to not introduce duplicate codeAUTOMATIC-30/+13
2022-10-30allow skip current image in progress apievshiron-2/+5
2022-10-30preview current image when opts.show_progress_every_n_steps is enabledevshiron-2/+7
2022-10-30update progress response modelevshiron-5/+5
2022-10-30add description for state fieldevshiron-1/+1
2022-10-30fix progress response modelevshiron-34/+4
2022-10-30Merge branch 'master' into feat/progress-apievshiron-4/+17
2022-10-30Merge branch 'master' into feat/progress-apievshiron-77/+153
2022-10-29Fix spaceBruno Seoane-1/+1
2022-10-29Add PNG Info endpointBruno Seoane-4/+17
2022-10-26prototype progress apievshiron-14/+75
2022-10-26Remove folder endpointBruno Seoane-14/+1
2022-10-26Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webuiBruno Seoane-5/+11
2022-10-26cleanStephen-5/+1
2022-10-26[Bugfix][API] - Fix API response for colab usersStephen-8/+19
2022-10-24Merge remote-tracking branch 'upstream/master'Bruno Seoane-1/+1
2022-10-24Reverse run_extras changeBruno Seoane-5/+10
Update serialization on the batch images endpoint
2022-10-24rename api/processing to api/models for #3511AUTOMATIC-1/+1
2022-10-23Remove unused field and classBruno Seoane-8/+4
2022-10-23Add folder processing endpointBruno Seoane-27/+35
Also minor refactor
2022-10-23Move processing's models into models.pyBruno Seoane-156/+119
It didn't make sense to have two differente files for the same and "models" is a more descriptive name.
2022-10-23Update endpoints to use gradio's own utils functionsBruno Seoane-41/+38
2022-10-23Merge branch 'master' of https://github.com/bamarillo/stable-diffusion-webuiBruno Seoane-7/+71
2022-10-23Add batch processing "extras" endpointBruno Seoane-3/+37
2022-10-23working maskStephen-8/+12
2022-10-23non-implemented mask with any typeStephen-1/+5
2022-10-23[API][Feature] - Add img2img API endpointStephen-7/+62
2022-10-22Add "extra" single image operationBruno Seoane-6/+63
- Separate extra modes into 3 endpoints so the user ddoesn't ahve to handle so many unused parameters. - Add response model for codumentation
2022-10-22Moved moodels to their own file and extracted base64 conversion to its own ↵Bruno Seoane-11/+14
function
2022-10-22Remove unused importsBruno Seoane-4/+1
2022-10-19call sampler by namearcticfaded-8/+9