Replies: 7 comments 6 replies
-
I'm the author of the GIMP stable diffusion plugin https://github.com/blueturtleai/gimp-stable-diffusion. I already checked, if it would be possible to use the SDK. There are two reasons why I were not able to use it:
It should also be pretty easy to port the plugin to the stable diffusion REST API. It currently already uses a REST API to talk to the colab notebook based backend server. |
Beta Was this translation helpful? Give feedback.
-
Hello, Cons of GRPC:
Pros of GRPC:
Since this is a REST API discussion my personal opinion here:
So at the end: it was a good idea in beginning but it didn't worked out which can happen - maybe better fully move to REST for next SD release and abandon GRPC and if streaming is needed just use Websockets. |
Beta Was this translation helpful? Give feedback.
-
I wasn't aware of this discussion thread until just now. It looks a bit stale, but I hope that a REST API is still something that is being considered. There are many, many use cases where GRPC is either vastly more difficult to implement, or actually impossible. (A few examples: Software like Krita and Blender; Any web app!) There are already other services wrapping Stable Diffusion and providing REST API's (one notable example: https://xno.ai/api). This is certainly doable, and it would allow more creativity and faster community implementation/support. Please consider again :-) |
Beta Was this translation helpful? Give feedback.
-
The Stability REST API is coming - will share some additional information next week. |
Beta Was this translation helpful? Give feedback.
-
Unity game is my use case. C# or REST API would be of great help! |
Beta Was this translation helpful? Give feedback.
-
REST API developer preview just dropped: |
Beta Was this translation helpful? Give feedback.
-
Hey guys -- thanks for the awesome work on the SDK and REST API. I'm trying to replicate my results from the SDK with the REST API, but am having trouble getting identical images. Just to be sure before I start dropping code here: if I use the same init image, same settings, and same seed with no clip guidance is it correct that I should be able to get identical images with both the SDK and REST API? |
Beta Was this translation helpful? Give feedback.
-
A common request we've received is to support a REST api. For a variety of reasons this is not something we are planning to support at this time. There's clearly a non-negligible segment of the community that has strong feelings about this and I'd like to open the floor to better understand the variety of use-cases here. By all means: please convince us of why we need to expose a REST API!
Beta Was this translation helpful? Give feedback.
All reactions