65 Commits (0db084a4ea194b2bb76b3eacb63e86e804c83950)

Author SHA1 Message Date
Vespinian 5546e71a10 Fixed whitespace 3 years ago
Vespinian 46f9fe3cd6 Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webui 3 years ago
Vespinian 2174f58dae Changed alwayson_script_name and alwayson_script_args api params to 1 alwayson_scripts param dict 3 years ago
AUTOMATIC1111 8ec0442dcd
Merge pull request #8322 from yeataro/master
add: /sdapi/v1/scripts in API
3 years ago
AUTOMATIC 3531a50080 rename fields for API for saving/sending images
save images to correct directories
3 years ago
Vladimir Mandic b012d70f15
update using original defaults 3 years ago
Yea chen c48bbccf12 add: /sdapi/v1/scripts in API
API for get scripts list
3 years ago
Vladimir Mandic f8e219bad9
allow api requests to specify do not send images in response 3 years ago
Vladimir Mandic 23d4fb5bf2
allow saving of images via api 3 years ago
Vespinian 3b6de96467 Added alwayson_script_name and alwayson_script_args to api
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
3 years ago
AUTOMATIC 6f31d2210c support detecting midas model
fix broken api for checkpoint list
3 years ago
AUTOMATIC 602a1864b0 also return the removed field to sdapi/v1/upscalers because someone might have relied on it existing 3 years ago
AUTOMATIC 42a70d7477 repair sdapi/v1/upscalers returning bogus results 3 years ago
AUTOMATIC a95f135308 change hash to sha256 3 years ago
Vladimir Mandic 39ea251945
add textinfo to progress response 3 years ago
Vladimir Mandic 2275f130bf
relax reponse type check enforcement 3 years ago
AUTOMATIC1111 b1d976dca2
Merge pull request #6466 from vladmandic/api-get-memory
Implement API get-memory
3 years ago
noodleanon d38ede71d5
Added script support in txt2img endpoint 3 years ago
noodleanon 50e2536279
Merge branch 'AUTOMATIC1111:master' into img2img-api-scripts 3 years ago
Vladimir Mandic 47534577ed
api-get-memory 3 years ago
AUTOMATIC1111 983167e621
Merge pull request #6448 from aednzxy/patch-2
increase upscale api validation limit
3 years ago
Dean Hopkins 82c1f10b14 increase upscale api validation limit 3 years ago
noodleanon b5253f0dab
allow img2img api to run scripts 3 years ago
Suffocate 1288a3bb7d Use the read_info_from_image function directly 3 years ago
Philpax c65909ad16 feat(api): return more data for embeddings 3 years ago
Philpax b5819d9bf1 feat(api): add /sdapi/v1/embeddings 3 years ago
Vladimir Mandic 5f1dfbbc95 implement train api 3 years ago
Jim Hays c0355caefe Fix various typos 3 years ago
AUTOMATIC1111 84a6f211d4
Merge pull request #4358 from bamarillo/master
[API][Feature] Add Skip endpoint
3 years ago
snowmeow2 67c8e11be7 Adding DeepDanbooru to the interrogation API 3 years ago
AUTOMATIC1111 07d1bd4267
Merge branch 'master' into roy.add_simple_interrogate_api 3 years ago
Bruno Seoane 99b05addb1 Fix options endpoint not showing the full list of options 3 years ago
Evgeniy a170e3d222
Python 3.8 typing compatibility
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```
3 years ago
Billy Cao ebce0c57c7 Use typing.Optional instead of | to add support for Python 3.9 and below. 3 years ago
AUTOMATIC1111 e9c767d8db
Merge branch 'master' into 7flash/fix-api-compatibility 3 years ago
AUTOMATIC1111 371c4b990e
Merge pull request #4218 from bamarillo/utils-endpoints
[API][Feature] Utils endpoints
3 years ago
digburn 8eb64dab3e
fix: correct default val of upscale_first to False 3 years ago
Gur b2c48091db fixed api compatibility with python 3.8 3 years ago
Bruno Seoane 7a2e36b583 Add config and lists endpoints 3 years ago
digburn 2ac25ea64f fix: Add required parameter to API extras route 3 years ago
Roy Shilkrot df6a7ebfe8 revert things to master 3 years ago
Roy Shilkrot 509fd1459b Merge remote-tracking branch 'upstream/master' into roy.add_simple_interrogate_api 3 years ago
evshiron 9f4f894d74 allow skip current image in progress api 3 years ago
evshiron 9f104b53c4 preview current image when opts.show_progress_every_n_steps is enabled 3 years ago
evshiron 88f46a5bec update progress response model 3 years ago
evshiron e9c6c2a51f add description for state field 3 years ago
evshiron f62db4d5c7 fix progress response model 3 years ago
evshiron 7f5212fb5f Merge branch 'master' into feat/progress-api 3 years ago
evshiron 6b719c49b1 Merge branch 'master' into feat/progress-api 3 years ago
Bruno Seoane 4609b83cd4 Add PNG Info endpoint 3 years ago