From 19f15f4ba467b836a0caa0113279f5d6bd26acbb Mon Sep 17 00:00:00 2001 From: gabiburtman <102729750+gabiburtman@users.noreply.github.com> Date: Tue, 9 Sep 2025 19:54:21 +0300 Subject: [PATCH] Update shot_by_text_node.py --- nodes/shot_by_text_node.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nodes/shot_by_text_node.py b/nodes/shot_by_text_node.py index 967df63..fc7e120 100644 --- a/nodes/shot_by_text_node.py +++ b/nodes/shot_by_text_node.py @@ -27,7 +27,7 @@ class ShotByTextNode(): self.api_url = "https://engine.prod.bria-api.com/v1/product/lifestyle_shot_by_text" # Eraser API URL # Define the execute method as expected by ComfyUI - def execute(self, image, api_key, scene_description, optimize_description, mode, content_moderation): + def execute(self, image, api_key, scene_description, mode, content_moderation): if api_key.strip() == "" or api_key.strip() == "BRIA_API_TOKEN": raise Exception("Please insert a valid API key.") @@ -41,7 +41,6 @@ class ShotByTextNode(): "file": image_base64, "scene_description": scene_description, "mode": mode, - "optimize_description": optimize_description, "placement_type": "original", "original_quality": True, "sync": True,