Commit Graph

161 Commits (f5c037a7350a8a778e412ced3e53fec8dccb60ce)

Author SHA1 Message Date
Vladimir Mandic 3bbcc33181 add detailer
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-07 09:32:56 -04:00
Vladimir Mandic 04a5071249 face-hires -> detailer refactor
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-06 11:23:33 -04:00
Vladimir Mandic 2427f922ae update changelog 2024-09-04 16:45:44 -04:00
Vladimir Mandic bb7f84b99b better api defaults 2024-08-28 10:58:54 -04:00
Vladimir Mandic 72f6cf6a1f add ms florence 2024-06-23 08:50:08 -04:00
Vladimir Mandic 4122c6fbce fix api ip-adapter 2024-06-18 08:37:14 -04:00
Vladimir Mandic f2610c3936 ip adapter masking 2024-04-18 12:43:51 -04:00
Vladimir Mandic bd7ba768b1 add ip_adapter to api and fix control 2024-03-29 10:26:29 -04:00
Vladimir Mandic 89e9debbcd control api 2024-03-27 11:33:29 -04:00
Vladimir Mandic 1227e76128 initial control api draft 2024-03-26 19:30:31 -04:00
Vladimir Mandic 902f02300d add vqa api 2024-03-26 09:24:01 -04:00
Vladimir Mandic c29b76fde3 cleanup api 2024-03-02 08:59:35 -05:00
Vladimir Mandic c7d5096f7e add preprocess api 2024-03-01 12:52:10 -05:00
Vladimir Mandic 3604213e1c legacy cleanups 2024-02-22 09:57:09 -05:00
Vladimir Mandic 8f1f538bc9 add api compatibility layer for civitai 2024-01-30 16:19:03 -05:00
Enes Sadık Özbek 625d29d4fa Fix face script not showing up unless experimental 2024-01-30 09:35:29 -05:00
Enes Sadık Özbek a76647c806 Fix referencing old faceid model in api models 2024-01-30 09:35:29 -05:00
Enes Sadık Özbek 80bd17dc76 Update API for latest face module 2024-01-30 09:35:29 -05:00
Vladimir Mandic b79d8ea6c3 cleanup api model defs 2024-01-28 10:25:26 -05:00
Vladimir Mandic 7e447222a1 refactor api 2024-01-28 10:13:09 -05:00
Enes Sadık Özbek 8805a12caa
Fix FaceID API not working because of wrong type 2024-01-17 02:05:01 +03:00
Enes Sadık Özbek fd07c6eda8
Update ranges of FaceID API parameters 2024-01-16 23:39:29 +03:00
Vladimir Mandic 94fc37695d
Merge pull request #2726 from Trojaner/api/ipadapters
Add FaceID mode API parameter
2024-01-16 15:25:57 -05:00
Enes Sadık Özbek 704d5300de
Add FaceID mode API parameter 2024-01-16 23:23:34 +03:00
Disty0 42845b344c Cleanup 2024-01-09 16:07:43 +03:00
Vladimir Mandic 3a79d502b6
Merge pull request #2697 from Trojaner/api/ipadapters
Update FaceID api params
2024-01-09 07:32:41 -05:00
Enes Sadık Özbek 9d2446f359
Fix model descriptions for FaceID 2024-01-08 22:47:19 +03:00
Enes Sadık Özbek f1b6971f7e
Update FaceID api params 2024-01-08 22:45:16 +03:00
Vladimir Mandic 119424399f controle module enable scripts and extensions 2024-01-07 17:55:00 -05:00
Enes Sadık Özbek 6077bd01df
Fix API docs typo 2023-12-31 01:00:17 +03:00
Enes Sadık Özbek 88a86b901f
Add ip_adapter and face_id fields for txt2img/ímg2img APIs 2023-12-31 00:49:41 +03:00
Enes Sadık Özbek 17e8fbfe92
Fix png-info and extensions endpoints 2023-12-18 18:29:08 +03:00
Enes Sadık Özbek 350cd17465
Implement remaining API changes 2023-12-18 18:09:25 +03:00
Enes Sadık Özbek 5b61d849b8
[Breaking change] Align some APIs with AUTOMATIC1111
* /refresh-vaes -> /refresh-vae
* /sd_models response [name -> model_name]
2023-12-18 15:21:06 +03:00
Vladimir Mandic 36324361bd refactor en folder handling 2023-09-21 11:58:24 -04:00
Vladimir Mandic cb43af03a2 get api extra-networks 2023-09-16 16:45:11 -04:00
Vladimir Mandic d3177fc560 fix api typing for scripts 2023-09-15 10:09:06 -04:00
Vladimir Mandic 7bda411738 improve styles, better logging 2023-09-09 13:47:46 -04:00
Vladimir Mandic d41baddf50 add styles to extra networks 2023-09-03 15:00:48 -04:00
Marcin Dzierwa 0611b1e4d9 added /sdapi/v1/sd-vae endpoint 2023-08-04 18:58:47 +02:00
Vladimir Mandic a79b8c86c2 cleanup before merge 2023-07-08 12:20:37 -04:00
Vladimir Mandic 5a341b1182 add log monitoring 2023-06-28 10:35:15 -04:00
Vladimir Mandic 9334b2f21c jumbo merge part three 2023-06-14 13:54:23 -04:00
Vladimir Mandic cb307399dd jumbo merge 2023-06-13 11:59:56 -04:00
Vladimir Mandic 1360c6422a add fp16 test 2023-05-08 09:27:50 -04:00
Vladimir Mandic cd580866a7 fix awalys on script args 2023-04-29 12:37:36 -04:00
Vespinian 5546e71a10 Fixed whitespace 2023-03-11 12:35:20 -05:00
Vespinian 46f9fe3cd6 Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webui 2023-03-11 12:33:35 -05:00
Vespinian 2174f58dae Changed alwayson_script_name and alwayson_script_args api params to 1 alwayson_scripts param dict 2023-03-11 12:21:33 -05:00
AUTOMATIC1111 8ec0442dcd
Merge pull request #8322 from yeataro/master
add: /sdapi/v1/scripts in API
2023-03-11 13:43:34 +03:00
AUTOMATIC 3531a50080 rename fields for API for saving/sending images
save images to correct directories
2023-03-11 13:22:59 +03:00
Vladimir Mandic b012d70f15
update using original defaults 2023-03-04 17:51:37 -05:00
Yea chen c48bbccf12 add: /sdapi/v1/scripts in API
API for get scripts list
2023-03-04 11:46:07 +08:00
Vladimir Mandic f8e219bad9
allow api requests to specify do not send images in response 2023-03-03 09:00:52 -05:00
Vladimir Mandic 23d4fb5bf2
allow saving of images via api 2023-03-03 08:29:10 -05:00
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
2023-02-27 21:51:20 -05:00
AUTOMATIC 6f31d2210c support detecting midas model
fix broken api for checkpoint list
2023-01-27 11:54:19 +03:00
AUTOMATIC 602a1864b0 also return the removed field to sdapi/v1/upscalers because someone might have relied on it existing 2023-01-24 10:09:30 +03:00
AUTOMATIC 42a70d7477 repair sdapi/v1/upscalers returning bogus results 2023-01-24 10:05:45 +03:00
AUTOMATIC a95f135308 change hash to sha256 2023-01-14 09:56:59 +03:00
Vladimir Mandic 39ea251945
add textinfo to progress response 2023-01-11 10:23:51 -05:00
Vladimir Mandic 2275f130bf
relax reponse type check enforcement 2023-01-09 21:23:58 -05:00
AUTOMATIC1111 b1d976dca2
Merge pull request #6466 from vladmandic/api-get-memory
Implement API get-memory
2023-01-10 02:02:19 +03:00
noodleanon d38ede71d5
Added script support in txt2img endpoint 2023-01-07 14:21:31 +00:00
noodleanon 50e2536279
Merge branch 'AUTOMATIC1111:master' into img2img-api-scripts 2023-01-07 14:18:09 +00:00
Vladimir Mandic 47534577ed
api-get-memory 2023-01-07 07:51:35 -05:00
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
noodleanon b5253f0dab
allow img2img api to run scripts 2023-01-05 21:21:48 +00:00
Suffocate 1288a3bb7d Use the read_info_from_image function directly 2023-01-04 20:36:30 +00: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
Vladimir Mandic 5f1dfbbc95 implement train api 2022-12-24 18:02:22 -05:00
Jim Hays c0355caefe Fix various typos 2022-12-14 21:01:32 -05:00
AUTOMATIC1111 84a6f211d4
Merge pull request #4358 from bamarillo/master
[API][Feature] Add Skip endpoint
2022-11-19 14:50:02 +03: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 99b05addb1 Fix options endpoint not showing the full list of options 2022-11-05 18:46:47 -03: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
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
Bruno Seoane 7a2e36b583 Add config and lists endpoints 2022-11-03 00:51:22 -03:00
digburn 2ac25ea64f fix: Add required parameter to API extras route 2022-11-02 21:52:23 +00:00
Roy Shilkrot df6a7ebfe8 revert things to master 2022-10-31 11:50:33 -04:00
Roy Shilkrot 509fd1459b Merge remote-tracking branch 'upstream/master' into roy.add_simple_interrogate_api 2022-10-31 11:45:52 -04:00
evshiron 9f4f894d74 allow skip current image in progress api 2022-10-30 06:03:32 +08:00
evshiron 9f104b53c4 preview current image when opts.show_progress_every_n_steps is enabled 2022-10-30 05:19:17 +08:00
evshiron 88f46a5bec update progress response model 2022-10-30 05:04:29 +08:00
evshiron e9c6c2a51f add description for state field 2022-10-30 04:02:56 +08:00
evshiron f62db4d5c7 fix progress response model 2022-10-30 03:56:44 +08:00
evshiron 7f5212fb5f Merge branch 'master' into feat/progress-api 2022-10-30 03:49:00 +08:00
evshiron 6b719c49b1 Merge branch 'master' into feat/progress-api 2022-10-30 03:45:29 +08:00
Bruno Seoane 4609b83cd4 Add PNG Info endpoint 2022-10-29 16:09:19 -03:00
Roy Shilkrot bdc9083798 Add a barebones interrogate API 2022-10-27 15:20:15 -04:00
Bruno Seoane b2e0d8ba78 Remove folder endpoint 2022-10-26 09:54:26 -03:00
Bruno Seoane 8320963dcb Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webui 2022-10-26 09:50:26 -03:00
Stephen b46c64c6e5 clean 2022-10-26 09:46:17 +03:00