Stability-AI / stability-sdk

SDK for interacting with stability.ai APIs (e.g. stable diffusion inference)
https://platform.stability.ai/
MIT License
2.41k stars 339 forks source link

Diffusion 3 Support on Python SDK #281

Closed ZhimaoLin closed 2 months ago

ZhimaoLin commented 3 months ago

Hi

As Stable Diffusion 3.0 has been released, is there any plan to support Diffusion 3.0 on this Python SDK? If we want to migrate to Diffusion 3.0 using Python now, do I have to call POST directly on https://api.stability.ai/v2beta/stable-image/generate/sd3?

We were very excited to see Diffusion 3.0 released. Hope to migrate to it soon!

Thank you.

pharmapsychotic commented 3 months ago

Hey @ZhimaoLin , SD3 and Stable Image services are only available with the v2 REST API and there's Python code samples using requests library on the platform site https://platform.stability.ai/docs/api-reference#tag/Generate/paths/~1v2beta~1stable-image~1generate~1sd3/post They are not accessible by the gRPC API which the Python SDK wraps.

ZhimaoLin commented 2 months ago

Thank you!