Commit Graph

121 Commits

Author SHA1 Message Date
Vespinian
49bbdbe447 small diff whitespace cleanup 2023-03-11 14:34:56 -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
Yea Chen
f85a192f99
Update modules/api/api.py
Suggested change by @akx

Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-03-07 04:04:35 +08: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
c6c2a59333 comment clarification 2023-02-27 23:45:59 -05:00
Vespinian
a39c4cf766 small refactor of api.py 2023-02-27 23:27:33 -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
minux302
33947a3c66 fix arg for hypernetwork train api 2023-02-10 17:58:35 +09:00
AUTOMATIC
d2ac95fa7b remove the need to place configs near models 2023-01-27 11:28:12 +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
Vladimir Mandic
45e270dfc8
add image decod exception handling 2023-01-23 17:11:22 -05:00
Vladimir Mandic
6e1b296baf
api-image-format 2023-01-23 10:10:59 -05:00
AUTOMATIC
b5230197a6 rework extras tab to use script system 2023-01-23 09:24:43 +03:00
AUTOMATIC
6d805b669e make CLIP interrogator download original text files if the directory does not exist
remove random artist built-in extension (to re-added as a normal extension on demand)
remove artists.csv (but what does it mean????????????????????)
make interrogate buttons show Loading... when you click them
2023-01-21 09:14:27 +03:00
AUTOMATIC
40ff6db532 extra networks UI
rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
2023-01-21 08:36:07 +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
AUTOMATIC1111
b1d976dca2
Merge pull request #6466 from vladmandic/api-get-memory
Implement API get-memory
2023-01-10 02:02:19 +03:00
Vladimir Mandic
95727312ca
remove bytes -> gb conversion 2023-01-09 16:54:12 -05:00
AUTOMATIC
137ce534b2 remove some code duplication
remove calls to locals()
add a test for img2img with script
2023-01-08 16:14:38 +03:00
noodleanon
6d0cc1e239
Corrected is_img2img param 2023-01-08 11:03:48 +00:00
noodleanon
d38ede71d5
Added script support in txt2img endpoint 2023-01-07 14:21:31 +00:00
Vladimir Mandic
47534577ed
api-get-memory 2023-01-07 07:51:35 -05: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
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