StableSwarmUI icon indicating copy to clipboard operation
StableSwarmUI copied to clipboard

Swarm Backend for SD3-API ?

Open samliu315 opened this issue 10 months ago • 4 comments

Does StableSwarmUI already support SD3-api ? Where can I find sapi_key.dat? It's not under the data folder.

image

samliu315 avatar Apr 17 '24 16:04 samliu315

Nope, being worked on rn, expect an update soon!

mcmonkey4eva avatar Apr 17 '24 22:04 mcmonkey4eva

The Comfy Stability-API nodes are now included out of the box in Swarm (https://github.com/Stability-AI/ComfyUI-SAI_API)

So you can use a "Stability SD3" node to generate using SD3 in comfy.

There's a handler under "user" that handles API keys easily for you: image (Only applies to usage in Generate or Simple tab, requires you add an input with id api_key_override)

And here's a workflow that hooks up SD3 text-to-image as a simple interface (compatible with the Simple tab currently hidden under the "Experimental" server setting, but also can be used in the generate tab) sd3.json

Here's an image2image one too: sd3img2img.json

mcmonkey4eva avatar Apr 18 '24 07:04 mcmonkey4eva

Are we going to get functionality that allows us to simply change https://api.stability.ai/v1 to https://api.stability.ai/v2beta in the Backend config for StabilityAPI?

nickknyc avatar Apr 19 '24 13:04 nickknyc

Not sure what'll happen with the StabilityAPI backend atm - either will be scrapped (in favor of the comfy node setup) or rewritten entirely. Right now it's designed for the much more predictable/static v1 API, whereas the v2 API is more of a series of completely distinct APIs joined together, ie it needs unique handling for each end point.

mcmonkey4eva avatar Apr 19 '24 15:04 mcmonkey4eva