4887 Commits

Author SHA1 Message Date
Russell Richardson
140f5ad4c3
Allow passing firstpass_image to txt2img API
This change allows passing in a base64 encoded image string to the
`/sdapi/v1/txt2img` endpoint via the `firstpass_image` parameter.

Can be useful when applications utilizing the API generate an initial
image and then need that image upscaled using HiRes Fix - by replaying
the request alongside the `firstpass_image` parameter with the base64
image returned by the original request, it bypasses the need to
regenerate the original image since it has already been passed in.

At least, that seems to be the original intent of this parameter (and
works great with this change).
2025-03-12 08:16:23 -04:00
w-e-w
374bb6cc38
Python 3.9 annotation compatibility (#16852) 2025-03-04 11:11:26 -05:00
w-e-w
435b1df2db
remove assert, original run with original args 2025-03-01 00:17:49 +09:00
w-e-w
7fd7fc67f7
add -I to uv BAD_FLAGS 2025-02-28 23:53:11 +09:00
w-e-w
9d1accfea0
fallback to pip if uv failes 2025-02-28 23:53:11 +09:00
w-e-w
c59a2badd2
auto install uv 2025-02-28 23:53:11 +09:00
Haoming
9f670bc7e8 uv hook 2025-02-28 19:25:35 +08:00
w-e-w
32595360f2
fix old hash digits (#16845) 2025-02-15 10:49:48 -05:00
w-e-w
8c7bc08f60
Old hash from cache (#16830)
* use not equal when comparing mtime

* cache partial hash

aka old hash

Co-Authored-By: npc-riddlah <84955385+npc-riddlah@users.noreply.github.com>

---------

Co-authored-by: npc-riddlah <84955385+npc-riddlah@users.noreply.github.com>
2025-02-10 02:14:32 -05:00
w-e-w
57e15ec9b5
Blackwell compatibility (Windows only) (#16817) 2025-01-30 12:36:02 -05:00
w-e-w
f25c3fc9cb
fix sd_vae_explanation (#16748) 2024-12-24 15:43:55 -05:00
Alexander Sachenko
b414c62ce4
removed unnecessary import modules.errors 2024-12-24 15:45:10 +03:00
w-e-w
04903af798
Merge pull request #16604 from Haoming02/ext-updt-parallel
Check for Extension Updates in Parallel
2024-12-18 03:21:48 +09:00
w-e-w
0120768f63
Merge pull request #16687 from Haoming02/dropdown4format
Use gr.Dropdown for Image Formats
2024-11-28 17:39:12 +09:00
w-e-w
b425b97ad6 improve img fromat description 2024-11-28 17:14:03 +09:00
w-e-w
539ea3982d use DropdownEditable
use DropdownEditable so user can input other formats if they require it
make the default png the first on the list
2024-11-28 14:10:44 +09:00
Haoming
65bd61e87c format-dropdown 2024-11-27 10:42:50 +08:00
catboxanon
ca3bedbd02 Honor lossless webp compression option in API 2024-11-01 11:32:52 -04:00
w-e-w
1b16c62608
use shared.hf_endpoint (#16611) 2024-10-30 13:01:32 -04:00
w-e-w
533c7b7b7f
Fix Default system None filter logic (#16309) 2024-10-29 13:13:16 -04:00
w-e-w
5206b938ef
InputAccordion duplicate elem_id handling (#16381) 2024-10-29 11:03:21 -04:00
w-e-w
14c6d6cb3a
Disable Hires checkpoint if same as First pass checkpoint (#16269) 2024-10-29 10:45:45 -04:00
w-e-w
4ec10bcdc1
Fix postprocessing_enable_in_main_ui ScriptPostprocessing elem_id (#16373) 2024-10-29 10:38:55 -04:00
w-e-w
0bf36cf2ad
extra_only / main_ui_only ScriptPostprocessing (#16374) 2024-10-29 10:35:46 -04:00
w-e-w
820fe8d2b5
Allow newline in Extra Network activation text (#16428) 2024-10-29 10:30:08 -04:00
w-e-w
deb3803a3a
image embedding data cache (#16556) 2024-10-29 10:28:21 -04:00
w-e-w
95686227bd limit number of simultaneous updates
shared.opts.concurrent_git_fetch_limit
2024-10-29 20:16:15 +09:00
Haoming
df74c3c638 threading 2024-10-29 14:12:42 +08:00
w-e-w
984b952eb3
Fix DAT models download (#16302) 2024-10-24 09:05:51 -04:00
w-e-w
5865da28d1
Merge pull request #16569 from AUTOMATIC1111/feat/ztsnr-auto
Automatically enable ztSNR based on existence of key in `state_dict`
2024-10-20 11:40:02 +09:00
w-e-w
6a59766313
Add Skip Early CFG to XYZ (#16282)
Co-authored-by: Yevhenii Hurin <evgeny.gurin@gmail.com>
2024-10-19 20:56:12 -04:00
w-e-w
65423d2b33
MIME type text/css (#16406) 2024-10-19 20:52:47 -04:00
w-e-w
d0b27dc906
Merge pull request #16300 from hello2564/fix_NGMS_pr_typo
fix NGMS pr typo
2024-10-20 09:42:21 +09:00
catboxanon
c2ce1d3b9c Automatically enable ztSNR based on existence of key in state_dict 2024-10-19 19:58:13 -04:00
w-e-w
bb4cbaf0cf
Merge pull request #16341 from gutris1/devv
add break-word for geninfo in pnginfo
2024-10-20 08:27:12 +09:00
catboxanon
c462e5a575
Merge pull request #16460 from AUTOMATIC1111/sd-1.5-url 2024-10-19 10:51:16 -04:00
catboxanon
1ae073c052 Support SDXL v-pred models 2024-10-19 06:53:19 -04:00
missionfloyd
c9a06d1093
Use stable-diffusion-v1-5 repo instead 2024-10-08 16:50:39 -06:00
missionfloyd
f57ec2b53b
Update stable diffusion 1.5 URL 2024-09-03 19:58:29 -06:00
gutris1
9677b09b7c
add break-word for geninfo in pnginfo 2024-08-07 17:37:23 +07:00
hello2564
cbaaf0af0e fix NGMS pr typo 2024-07-31 14:55:30 +08:00
AUTOMATIC1111
1d7e9eca09 Merge pull request #16275 from AUTOMATIC1111/fix-image-upscale-on-cpu
fix image upscale on cpu
2024-07-27 15:48:22 +03:00
w-e-w
8e0881d9ab fix image upscale on cpu
for some reason upscale using cpu will fail with
RuntimeError: Inplace update to inference tensor outside InferenceMode
switch from no_grad to inference_mode seems to have fixed it
2024-07-27 21:28:10 +09:00
AUTOMATIC1111
986c31dcfe
Merge pull request #16180 from light-and-ray/do_not_send_image_size_on_paste_inpaint
do not send image size on paste inpaint
2024-07-20 11:47:27 +03:00
AUTOMATIC1111
5096c163c1
Merge pull request #16173 from AUTOMATIC1111/robust-sysinfo
Robust sysinfo
2024-07-20 11:46:45 +03:00
AUTOMATIC1111
7b99e14ab1
Merge pull request #16194 from light-and-ray/fix_cannot_write_mode_P_as_jpeg
fix OSError: cannot write mode P as JPEG
2024-07-20 11:46:24 +03:00
AUTOMATIC1111
7c8a4ccecb
Merge pull request #16202 from light-and-ray/do_not_break_progressbar_on_non-job_actions
[bug] do not break progressbar on non-job actions (add wrap_gradio_call_no_job)
2024-07-20 11:45:57 +03:00
AUTOMATIC1111
5a10bb9aa6
Merge pull request #16235 from v0xie/beta-sampling
Feature: Beta scheduler
2024-07-20 11:43:39 +03:00
AUTOMATIC1111
fa0ba939a7
Merge pull request #16218 from Haoming02/resize-tabs-id
add ids to the resize tabs in img2img
2024-07-20 11:43:03 +03:00
AUTOMATIC1111
e09104a126
Merge pull request #16239 from AUTOMATIC1111/fix-upscale-logic
fix upscale logic
2024-07-20 11:41:34 +03:00