Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(bfl): add mask to supported params for inpainting

Chesarsfac6c068a05e
diff --git a/litellm/llms/black_forest_labs/image_edit/transformation.py b/litellm/llms/black_forest_labs/image_edit/transformation.py
index dbb657e5462..35b62a1e415 100644
--- a/litellm/llms/black_forest_labs/image_edit/transformation.py
+++ b/litellm/llms/black_forest_labs/image_edit/transformation.py
@@ -55,6 +55,7 @@ class BlackForestLabsImageEditConfig(BaseImageEditConfig):
Note: BFL uses different parameter names, these are mapped in map_openai_params.
"""
return [
+ "mask",
"seed",
"output_format",
"safety_tolerance",