From fac6c068a05e7e74df3259add1219aebb8d626cf Mon Sep 17 00:00:00 2001 From: Chesars Date: Wed, 4 Mar 2026 23:17:15 -0300 Subject: [PATCH] fix(bfl): add mask to supported params for inpainting mask was missing from get_supported_openai_params, causing it to be dropped before reaching transform_image_edit_request where it is already handled correctly for flux-pro-1.0-fill inpainting. --- litellm/llms/black_forest_labs/image_edit/transformation.py | 1 + 1 file changed, 1 insertion(+) 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",