Skip to content

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 img2img operation in Dall2 node (#10552)

Alexander Piskundfac94695be9
diff --git a/comfy_api_nodes/nodes_openai.py b/comfy_api_nodes/nodes_openai.py
index c467e840c..b4568fc85 100644
--- a/comfy_api_nodes/nodes_openai.py
+++ b/comfy_api_nodes/nodes_openai.py
@@ -225,7 +225,7 @@ class OpenAIDalle2(ComfyNodeABC):
),
files=(
{
- "image": img_binary,
+ "image": ("image.png", img_binary, "image/png"),
}
if img_binary
else None