spring-ai
spring-ai copied to clipboard
Support Stable Diffusion
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.
Contributions welcome - https://stablediffusionapi.com/docs/
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.
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