From 7c74ec0f70a5f544a895d2ecafcf722a30a89035 Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Mon, 21 Apr 2025 07:39:52 +0800 Subject: [PATCH] [Minimax] Show video preview and embed workflow in ouput (#7) --- comfy_api_nodes/nodes_api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/comfy_api_nodes/nodes_api.py b/comfy_api_nodes/nodes_api.py index a977bb9b7..810424627 100644 --- a/comfy_api_nodes/nodes_api.py +++ b/comfy_api_nodes/nodes_api.py @@ -279,8 +279,10 @@ class OpenAIGPTImage1(ComfyNodeABC): Uses the proxy at /proxy/openai/images/generations. Returned URLs are short‑lived, so download or cache results if you need to keep them. """ + def __init__(self): - pass + self.output_dir = folder_paths.get_output_directory() + self.type = "output" @classmethod def INPUT_TYPES(cls) -> InputTypeDict: