fix(image_gen): Grok Imagine 2.0 no longer upscales by default — opt-in policy restored

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.
This commit is contained in:
Teknium
2026-08-19 03:15:17 -07:00
committed by ethernet
parent 00e5a361b6
commit 9b5e7a3226
+4 -1
View File
@@ -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.