sdwebui-w-horde / sd-webui-stable-horde-worker

Stable Horde Unofficial Worker Bridge as Stable Diffusion WebUI (AUTOMATIC1111) Extension
GNU Affero General Public License v3.0
60 stars 18 forks source link

[Feature]: Add `r2_source` feature #70

Closed MaikoTan closed 1 year ago

MaikoTan commented 1 year ago

Is there existing issue for this?

Feature Description

It looks like all source_image in the response JSON would become an HTTP link rather than the base64 string, when supporting this feature.

Also see: https://github.com/db0/AI-Horde/pull/172

Proposed Solution

Download the source_image rather than use b64decode to decode the image.

Additional Information

No response