mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
Add direct Stability AI REST API support for image generation endpoints. This enables using Stability's SD3, SD3.5, and Stable Image models via LiteLLM's OpenAI-compatible interface. Changes: - Add STABILITY provider to LlmProviders enum - Create StabilityImageGenerationConfig with multipart/form-data support - Add OpenAI size to Stability aspect_ratio mapping - Register provider in ProviderConfigManager - Add 9 Stability models to model_prices_and_context_window.json - Add documentation at docs/providers/stability.md - Add 25 unit tests Supported models: - stability/sd3, sd3-large, sd3-large-turbo, sd3-medium - stability/sd3.5-large, sd3.5-large-turbo, sd3.5-medium - stability/stable-image-ultra, stable-image-core |
||
|---|---|---|
| .. | ||
| blog | ||
| docs | ||
| img | ||
| release_notes | ||
| src | ||
| static | ||
| .gitignore | ||
| .trivyignore | ||
| babel.config.js | ||
| Dockerfile | ||
| docusaurus.config.js | ||
| index.md | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| sidebars.js | ||
Website
This website is built using Docusaurus 2, a modern static website generator.
Installation
$ yarn
Local Development
$ yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
$ yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
Using SSH:
$ USE_SSH=true yarn deploy
Not using SSH:
$ GIT_USER=<Your GitHub username> yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.