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.

[Partner Nodes] fix(OpenAI): remove transparent background for GPT Image 2 (#16744)

Alexander Piskun42664106ef63
diff --git a/comfy_api_nodes/nodes_openai.py b/comfy_api_nodes/nodes_openai.py
index a08c451de..b4c5a81b3 100644
--- a/comfy_api_nodes/nodes_openai.py
+++ b/comfy_api_nodes/nodes_openai.py
@@ -533,7 +533,7 @@ class OpenAIGPTImageNodeV2(IO.ComfyNode):
),
IO.DynamicCombo.Option(
"gpt-image-2",
- _gpt_image_2_model_inputs(("auto", "opaque", "transparent"), GPT_IMAGE_QUALITIES),
+ _gpt_image_2_model_inputs(("auto", "opaque"), GPT_IMAGE_QUALITIES),
),
IO.DynamicCombo.Option("gpt-image-1.5", _gpt_image_legacy_model_inputs()),
IO.DynamicCombo.Option("gpt-image-1", _gpt_image_legacy_model_inputs()),