The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
[Partner Nodes] chore(Google): reroute Gemini Image preview models to release versions (#14917)
Alexander Piskun5697b970173b
diff --git a/comfy_api_nodes/nodes_gemini.py b/comfy_api_nodes/nodes_gemini.pyindex aa992802d..a8eb0a797 100644--- a/comfy_api_nodes/nodes_gemini.py+++ b/comfy_api_nodes/nodes_gemini.py@@ -1133,7 +1133,9 @@ class GeminiImage2(IO.ComfyNode):) -> IO.NodeOutput:validate_string(prompt, strip_whitespace=True, min_length=1)if model == "Nano Banana 2 (Gemini 3.1 Flash Image)":- model = "gemini-3.1-flash-image-preview"+ model = "gemini-3.1-flash-image"+ elif model == "gemini-3-pro-image-preview":+ model = "gemini-3-pro-image"parts: list[GeminiPart] = [GeminiPart(text=prompt)]if images is not None:@@ -1507,7 +1509,7 @@ class GeminiNanoBanana2V2(IO.ComfyNode):validate_string(prompt, strip_whitespace=True, min_length=1)model_choice = model["model"]if model_choice == "Nano Banana 2 (Gemini 3.1 Flash Image)":- model_id = "gemini-3.1-flash-image-preview"+ model_id = "gemini-3.1-flash-image"elif model_choice == "Nano Banana 2 Lite":model_id = "gemini-3.1-flash-lite-image"else: