Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swarm Backend for SD3-API ? #308

Open
samliu315 opened this issue Apr 17, 2024 · 4 comments
Open

Swarm Backend for SD3-API ? #308

samliu315 opened this issue Apr 17, 2024 · 4 comments
Labels
enhancement New feature or request.

Comments

@samliu315
Copy link

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

image

@samliu315 samliu315 changed the title Swarm-API-Backend for D Swarm-API-Backend for SD3-API ? Apr 17, 2024
@mcmonkey4eva mcmonkey4eva added the enhancement New feature or request. label Apr 17, 2024
@mcmonkey4eva
Copy link
Member

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

@mcmonkey4eva mcmonkey4eva changed the title Swarm-API-Backend for SD3-API ? Swarm Backend for SD3-API ? Apr 18, 2024
mcmonkey4eva added a commit that referenced this issue Apr 18, 2024
mcmonkey4eva added a commit that referenced this issue Apr 18, 2024
mcmonkey4eva added a commit that referenced this issue Apr 18, 2024
@mcmonkey4eva
Copy link
Member

mcmonkey4eva commented Apr 18, 2024

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

@nickknyc
Copy link

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?

@mcmonkey4eva
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

3 participants