The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
fix(api-nodes-gemini): always force enhance_prompt to be True (#11503)
Alexander Piskun0d2e4bdd44f6
diff --git a/comfy_api_nodes/nodes_veo2.py b/comfy_api_nodes/nodes_veo2.pyindex e165b8380..13a6bfd91 100644--- a/comfy_api_nodes/nodes_veo2.py+++ b/comfy_api_nodes/nodes_veo2.py@@ -168,6 +168,8 @@ class VeoVideoGenerationNode(IO.ComfyNode):# Only add generateAudio for Veo 3 modelsif model.find("veo-2.0") == -1:parameters["generateAudio"] = generate_audio+ # force "enhance_prompt" to True for Veo3 models+ parameters["enhancePrompt"] = Trueinitial_response = await sync_op(cls,@@ -291,7 +293,7 @@ class Veo3VideoGenerationNode(VeoVideoGenerationNode):IO.Boolean.Input("enhance_prompt",default=True,- tooltip="Whether to enhance the prompt with AI assistance",+ tooltip="This parameter is deprecated and ignored.",optional=True,),IO.Combo.Input(