Stability-AI/stability-sdk
SDK for interacting with stability.ai APIs (e.g. stable diffusion inference)
What it solves
This project provides a set of client implementations to interact with the Stability API, allowing users to generate, upscale, and animate images using Stability AI's models via a gRPC-based interface.
How it works
The SDK wraps the gRPC API, providing both a Python API class and a command-line interface (CLI). Users can send prompts and parameters (such as height, width, and style presets) to the Stability API to receive generated images or process existing images for upscaling.
Who it’s for
Developers and artists who want to integrate Stability AI's image generation and animation capabilities into their own applications or use them via the command line.
Highlights
- Command Line Interface: Supports image generation, upscaling, and animation with detailed parameter control (e.g., CFG scale, samplers, and style presets).
- Animation UI: Includes an optional GUI for animation tasks.
- Cross-Language Support: Provides protobuf definitions to allow developers to compile stubs for languages other than Python.
- Flexible Generation: Supports initial images, mask images, and various style presets like cinematic, anime, and photorealistic.
Related
- Project
- Project
- Project
- Project
- Project