Replace Background And Relight API Pricing
stability/replace-background-and-relight- Price
- $0.008 per image
As of November 24, 2026, Replace Background And Relight costs $0.008 per image on Stability AI.
Replace Background And Relight pricing by provider
1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Per image | Context |
|---|---|---|---|
| Stability AI | stability/replace-background-and-relight | $0.008 | – |
What Replace Background And Relight costs in practice
Generating 1,000 images
| Stability AI | $8.00 |
Use Replace Background And Relight with LiteLLM
Call Replace Background And Relight through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/images/edits. LiteLLM tracks the cost of every request at these prices.
from litellm import image_edit
response = image_edit(
model="stability/replace-background-and-relight",
image=open("image.png", "rb"),
prompt="Describe your edit",
)model_list:
- model_name: replace-background-and-relight
litellm_params:
model: stability/replace-background-and-relight
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/images/edits \ -H "Authorization: Bearer $LITELLM_API_KEY" \ -F model="replace-background-and-relight" \ -F image=@image.png \ -F prompt="Describe your edit"
Replace Background And Relight FAQ
How much does Replace Background And Relight cost?
Replace Background And Relight costs $0.008 per image on Stability AI.
Which providers offer Replace Background And Relight?
Replace Background And Relight is available from Stability AI through LiteLLM, using the model name stability/replace-background-and-relight.
How do I call Replace Background And Relight with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="stability/replace-background-and-relight", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/images/edits from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
When did LiteLLM add Replace Background And Relight?
Replace Background And Relight was added to LiteLLM's model price file in December 2025.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change.
LiteLLM docs: Stability AI.
Provider pages: Stability AI.