spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

Support Stable Diffusion

Open ullenboom opened this issue 1 year ago • 2 comments
trafficstars

According to https://docs.spring.io/spring-ai/reference/api/imageclient.html Spring AI only supports two commercial image generators. It would be nice to include Stable Diffusion in the lineup as an alternative, particularly for demonstration purposes. However, I recognize that calling Python programs, as required for Stable Diffusion, involves a more complex process compared to the straightforward REST calls currently in use.

ullenboom avatar May 10 '24 17:05 ullenboom

Contributions welcome - https://stablediffusionapi.com/docs/

markpollack avatar Jul 22 '24 22:07 markpollack

To clarify, you are referring to a commercial product. The company formerly known as Stable Diffusion API, now ModelsLab, provides a cloud-based API service for easy access to Stable Diffusion and other AI models. However, this service cannot be used to access the free local text-to-image generative AI model, Stable Diffusion.

ullenboom avatar Jul 23 '24 06:07 ullenboom

I have implemented the client for StabilityAI’s Stable Diffusion Image Edit - Remove Background. I would appreciate it if you could review it at your convenience. #1344

inpink avatar Sep 09 '24 15:09 inpink