From 9b5e7a32269fbe478001bfa2a3d5bcb8ede0cd00 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Wed, 19 Aug 2026 03:15:17 -0700 Subject: [PATCH] =?UTF-8?q?fix(image=5Fgen):=20Grok=20Imagine=202.0=20no?= =?UTF-8?q?=20longer=20upscales=20by=20default=20=E2=80=94=20opt-in=20poli?= =?UTF-8?q?cy=20restored?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ceabb030f added the Grok Imagine Image 2.0 catalog entry with upscale=True, violating the Aug 2026 opt-in-only upscaling policy (f06c41522) and breaking test_upscale_defaults_are_all_off on main, which reddened every PR's slice 12/12. --- tools/image_generation_tool.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/image_generation_tool.py b/tools/image_generation_tool.py index daab670c36..f794ca6268 100644 --- a/tools/image_generation_tool.py +++ b/tools/image_generation_tool.py @@ -685,7 +685,10 @@ FAL_MODELS: Dict[str, Dict[str, Any]] = { "prompt", "aspect_ratio", "num_images", "output_format", "resolution", "quality", "sync_mode", }, - "upscale": True, # 1k native is sub-2MP + # Opt-in only (policy: default-on upscaling was disabled everywhere + # Aug 2026; the upscaler is a creative enhancer that can alter fine + # detail). 1k native is sub-2MP — pass upscale=true when needed. + "upscale": False, # Edit endpoint takes `image_urls` (max 3) + the same knobs; # aspect_ratio defaults to "auto" (follows the first input image), # so we don't send it on edits.