Commit graph

106 commits

Author SHA1 Message Date
AUTOMATIC1111
983167e621
Merge pull request #6448 from aednzxy/patch-2
increase upscale api validation limit
2023-01-07 12:34:42 +03:00
Dean Hopkins
82c1f10b14 increase upscale api validation limit 2023-01-06 22:10:03 +00:00
Suffocate
1288a3bb7d Use the read_info_from_image function directly 2023-01-04 20:36:30 +00:00
Vladimir Mandic
11b8160a08
fix typo 2023-01-04 06:36:57 -05:00
AUTOMATIC
3bd737767b disable broken API logging 2023-01-04 14:20:32 +03:00
AUTOMATIC1111
a8ad8666cd
Merge pull request #6261 from vladmandic/api-logging
add api logging
2023-01-04 14:04:11 +03:00
AUTOMATIC
4ec6470a1a fix checkpoint list API 2023-01-04 13:26:23 +03:00
Vladimir Mandic
cec209981e
log only sdapi 2023-01-03 10:58:52 -05:00
Vladimir Mandic
aaa4c2aacb
add api logging 2023-01-03 09:45:16 -05:00
Philpax
c65909ad16 feat(api): return more data for embeddings 2023-01-02 12:21:48 +11:00
Philpax
b5819d9bf1 feat(api): add /sdapi/v1/embeddings 2023-01-02 10:18:11 +11:00
AUTOMATIC
fef98723b2 set sd_model for API later, inside the lock, to prevent multiple requests with different models ending up with incorrect results #5877 #6012 2022-12-31 12:44:26 +03:00
Philpax
5be9387b23 fix(api): only begin/end state in lock 2022-12-25 21:45:44 +11:00
Vladimir Mandic
5f1dfbbc95 implement train api 2022-12-24 18:02:22 -05:00
Philpax
6247f21a63 fix(api): don't save extras output to disk 2022-12-24 22:04:53 +11:00
AUTOMATIC1111
adab48cb1b
Merge pull request #5637 from aednzxy/patch-1
API endpoint to refresh checkpoints
2022-12-24 12:19:43 +03:00
Jim Hays
c0355caefe Fix various typos 2022-12-14 21:01:32 -05:00
Dean Hopkins
960293d6b2
API endpoint to refresh checkpoints
API endpoint to refresh checkpoints
2022-12-11 19:16:44 +00:00
ywx9
9539c2045a Bug fix 2022-12-09 23:03:06 +09:00
AUTOMATIC
b2f17dd367 prevent include_init_images from being passed to StableDiffusionProcessingImg2Img in API #4989 2022-12-03 09:15:24 +03:00
AUTOMATIC1111
554787231a
Merge pull request #5117 from aliencaocao/fix_api_sampler_name
Fix api ignoring sampler_name settings
2022-11-27 16:51:47 +03:00
AUTOMATIC1111
b24aed0b69
Merge pull request #4960 from Hugo-Matias/master
fix null negative_prompt on get requests
2022-11-27 16:36:29 +03:00
Billy Cao
06ada734c7 Prevent warning on sampler_index if sampler_name is being used 2022-11-27 21:19:47 +08:00
Billy Cao
3cf93de24f Fix sampler_name for API requests are being ignored 2022-11-27 21:12:37 +08:00
Sena
fcd75bd874
Fix other apis 2022-11-24 13:10:40 +08:00
Sena
75b67eebf2
Fix bare base64 not accept 2022-11-23 17:43:58 +08:00
Rogerooo
c27a973c82 fix null negative_prompt on get requests
Small typo that causes a bug when returning negative prompts from the get request.
2022-11-22 14:02:59 +00:00
AUTOMATIC
c81d440d87 moved deepdanbooru to pure pytorch implementation 2022-11-20 16:39:20 +03:00
AUTOMATIC1111
41e242b220
Merge pull request #4733 from MaikoTan/api-authorization
feat: add http basic authentication for api
2022-11-19 15:20:03 +03:00
AUTOMATIC
5a6387e189 make it possible to change models etc by editing options using API 2022-11-19 15:15:24 +03:00
Maiko Tan
336c341a7c
Merge branch 'master' into api-authorization 2022-11-19 20:13:07 +08:00
AUTOMATIC1111
84a6f211d4
Merge pull request #4358 from bamarillo/master
[API][Feature] Add Skip endpoint
2022-11-19 14:50:02 +03:00
AUTOMATIC
cdc8020d13 change StableDiffusionProcessing to internally use sampler name instead of sampler index 2022-11-19 12:01:51 +03:00
Maiko Sinkyaet Tan
8f2ff861d3
feat: add http basic authentication for api 2022-11-15 16:12:34 +08:00
snowmeow2
67c8e11be7 Adding DeepDanbooru to the interrogation API 2022-11-07 02:32:06 +08:00
AUTOMATIC1111
07d1bd4267
Merge branch 'master' into roy.add_simple_interrogate_api 2022-11-06 11:27:54 +03:00
Bruno Seoane
7f63980e47 Remove unnecesary return 2022-11-05 19:09:13 -03:00
Bruno Seoane
3c72055c22 Add skip endpoint 2022-11-05 19:05:15 -03:00
Bruno Seoane
0ebf66b575 Fix set config endpoint 2022-11-05 19:00:47 -03:00
Bruno Seoane
99b05addb1 Fix options endpoint not showing the full list of options 2022-11-05 18:46:47 -03:00
AUTOMATIC1111
2e604233fd
Merge pull request #4329 from Blucknote/patch-1
Python 3.8 typing compatibility
2022-11-05 17:23:22 +03:00
evshiron
b6cfaaa20b Merge branch 'master' into fix/encode-pnginfo 2022-11-05 22:12:20 +08:00
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```
2022-11-05 17:06:56 +03:00
Billy Cao
ebce0c57c7 Use typing.Optional instead of | to add support for Python 3.9 and below. 2022-11-05 11:38:24 +08:00
evshiron
73e1cd6f53 Merge branch 'master' into fix/encode-pnginfo 2022-11-05 01:43:02 +08:00
AUTOMATIC
116bcf730a disable setting options via API until it is fixed by the author 2022-11-04 16:49:05 +03:00
AUTOMATIC1111
e9c767d8db
Merge branch 'master' into 7flash/fix-api-compatibility 2022-11-04 11:00:32 +03:00
AUTOMATIC1111
371c4b990e
Merge pull request #4218 from bamarillo/utils-endpoints
[API][Feature] Utils endpoints
2022-11-04 10:46:51 +03:00
digburn
8eb64dab3e
fix: correct default val of upscale_first to False 2022-11-04 00:35:18 +00:00
Gur
b2c48091db fixed api compatibility with python 3.8 2022-11-04 06:55:03 +08:00