From 29f61de01eb014b7f202314af1507c93d8ac2ec0 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Wed, 1 Jul 2026 05:26:51 +0000 Subject: [PATCH] Studio ControlNet: show the picker on the Create tab (workflow id is 'create', not 'txt2img') The ControlNet control gated on workflow === 'txt2img', but the Images workflow tab ids are create/transform/inpaint/extend/upscale/reference/edit -- there is no 'txt2img'. So the picker never rendered even with a ControlNet-capable model loaded. Gate on 'create' (the text-to-image tab) for both the picker and the request wiring. Found via a live Playwright capture of the running Studio. --- studio/frontend/src/features/images/images-page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/studio/frontend/src/features/images/images-page.tsx b/studio/frontend/src/features/images/images-page.tsx index f80c64c849..941c736370 100644 --- a/studio/frontend/src/features/images/images-page.tsx +++ b/studio/frontend/src/features/images/images-page.tsx @@ -1425,7 +1425,7 @@ export function ImagesPage() { // ControlNet: sent only when a model + control image are chosen; v1 conditions plain // text-to-image only, so skip it for image-conditioned workflows. controlnet: - controlnetCapable && controlnetId && controlImage && workflow === "txt2img" + controlnetCapable && controlnetId && controlImage && workflow === "create" ? { id: controlnetId, image: controlImage, @@ -1971,7 +1971,7 @@ export function ImagesPage() { {/* ControlNet: shown when the loaded model supports it, a model is discoverable, and the plain text-to-image workflow is active (v1 conditions txt2img only). Pick a model, add a control image, choose how to derive the map, and set the strength. */} - {controlnetCapable && availableControlNets.length > 0 && workflow === "txt2img" && ( + {controlnetCapable && availableControlNets.length > 0 && workflow === "create" && (