AUTOMATIC1111
11d23e8ca5
remove Train/Preprocessing tab and put all its functionality into extras batch images mode
2023-12-02 18:01:11 +03:00
a666
b6c1a1bbbf
Fix some deprecated types
2023-08-29 00:54:57 -06:00
AUTOMATIC1111
72ee347eab
update pnginfo checkpoint to return dict with parsed values
2023-08-26 06:52:18 +03:00
SpenserCai
3369fb27df
support installed extensions list api
2023-08-25 22:15:35 +08:00
AUTOMATIC1111
c7c16f805c
repair /docs page
2023-08-14 09:49:51 +03:00
w-e-w
6305632493
use "Any" type when type is None
2023-07-26 17:20:04 +09:00
AUTOMATIC1111
7f7db1700b
linter fix
2023-07-18 18:16:23 +03:00
AUTOMATIC1111
b270ded268
fix the issue with /sdapi/v1/options failing (this time for sure!)
...
fix automated tests downloading CLIP model
2023-07-18 18:10:04 +03:00
AUTOMATIC1111
ed82f1c5f1
lint
2023-07-18 15:55:23 +03:00
AUTOMATIC1111
420cc8f68e
also make None a valid option for options API for #11854
2023-07-18 11:48:40 +03:00
Aarni Koskela
ba70a220e3
Remove a bunch of unused/vestigial code
...
As found by Vulture and some eyes
2023-06-05 22:43:57 +03:00
ramyma
4faaf3e723
Add endpoint to get latent_upscale_modes for hires fix
2023-06-04 17:05:29 +03:00
James
42e020c1c1
Added VAE listing to web API.
2023-05-29 22:25:43 +01:00
AUTOMATIC
f6fc7916c4
add /sdapi/v1/script-info api
2023-05-17 22:43:24 +03:00
Aarni Koskela
49a55b410b
Autofix Ruff W (not W605) (mostly whitespace)
2023-05-11 20:29:11 +03:00
AUTOMATIC
96d6ca4199
manual fixes for ruff
2023-05-10 08:25:25 +03: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