Skip to content

[Feature]: Support Stability AI Stable Image models (Bedrock) via OpenAI-compatible /v1/images endpoints #17886

@jpdevvv

Description

@jpdevvv

The Feature

Add support for Stability AI’s latest Image Generation & Image Editing models in LiteLLM, exposed via LiteLLM’s existing OpenAI-compatible image endpoints:

"supported_endpoints": [
  "/v1/images/generations",
  "/v1/images/edits"
]

Specifically, this would enable Stability’s new Stable Image serverless models (e.g., upscale, inpaint, outpaint, control, style, erase, etc.) to be accessed through LiteLLM using the same OpenAI-style /v1/images/* interface.

Image

Motivation, pitch

Stability AI recently introduced a new, task-oriented image generation and editing stack (Stable Image models), which is available as serverless models on Amazon Bedrock. These models cover a broad set of image workflows such as:

  • Text → image generation
  • Image → image edits (inpainting, outpainting, object removal)
  • Upscaling (fast / creative / conservative)
  • Structure & sketch control
  • Style transfer and guided generation

Currently, these models are accessible only via provider-specific APIs. Adding support in LiteLLM would allow users to:

  • Access Stability’s latest image models via LiteLLM’s OpenAI-compatible /v1/images/generations and /v1/images/edits APIs

  • Standardize image workflows across providers (OpenAI, Stability, Bedrock) behind a single interface

  • Seamlessly integrate Stability image models into existing systems already built on LiteLLM’s OpenAI-compatible API surface

LiteLLM is hiring a founding backend engineer, are you interested in joining us and shipping to all our users?

No

Twitter / LinkedIn details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions