ComfyUI Node

OpenAI Responses API Node

A ComfyUI node in BillBum_API with 13 inputs and 4 outputs.

By AhBumm·Created 2 years ago·Updated 3 months ago· 11
OpenAI Responses API Node
  • image
  • mask
  • text_output
  • images
  • response_id
  • revised_prompt
prompt
modelgpt-4o
api_urlhttps://api.openai.com/v1
api_keyYOUR_API_KEY_HERE
seed0
temperature-1.00
instructions
enable_image_generationfalse
previous_response_id
reasoning_effortnone
image_gen_options
CategoryBillBum_API

Inputs (13)

NameTypeDefaultDescription
promptSTRINGText prompt for the Responses API
modelSTRINGgpt-4oModel ID, e.g. gpt-4o, gpt-5.5, o3
api_urlSTRINGhttps://api.openai.com/v1OpenAI-compatible API base URL
api_keySTRINGYOUR_API_KEY_HERE
seedINT00–18446744073709550000
temperatureFLOAT-1.00-1–2-1 = none (use model default); 0~2 = custom temperature
instructionsSTRINGSystem/developer instructions inserted into the model context
enable_image_generationBOOLEANfalseEnable the image_generation tool for GPT Image generation/editing
imageoptIMAGEInput image(s) for vision or image editing/reference. Supports batch input (multiple images).
maskoptMASKOptional mask for image editing (areas to edit)
previous_response_idoptSTRINGPrevious response ID for multi-turn conversation
reasoning_effortoptCOMBOnoneReasoning effort for o-series/gpt-5 models (none = disabled)
image_gen_optionsoptSTRINGOptional JSON to override defaults for the image_generation tool. Leave empty to use API defaults. Example: {"quality":"high","size":"1024x1536","background":"transparent","output_format":"png"} Supported keys: quality, size, background, output_format, output_compression, n, input_fidelity, moderation. The 'type' field cannot be overridden.

Outputs (4)

NameTypeDescription
text_outputSTRING
imagesIMAGE
response_idSTRING
revised_promptSTRING