ComfyUI Node
OpenAI Responses API Node
A ComfyUI node in BillBum_API with 13 inputs and 4 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | Text prompt for the Responses API | |
| model | STRING | gpt-4o | Model ID, e.g. gpt-4o, gpt-5.5, o3 |
| api_url | STRING | https://api.openai.com/v1 | OpenAI-compatible API base URL |
| api_key | STRING | YOUR_API_KEY_HERE | — |
| seed | INT | 00–18446744073709550000 | — |
| temperature | FLOAT | -1.00-1–2 | -1 = none (use model default); 0~2 = custom temperature |
| instructions | STRING | System/developer instructions inserted into the model context | |
| enable_image_generation | BOOLEAN | false | Enable the image_generation tool for GPT Image generation/editing |
| imageopt | IMAGE | Input image(s) for vision or image editing/reference. Supports batch input (multiple images). | |
| maskopt | MASK | Optional mask for image editing (areas to edit) | |
| previous_response_idopt | STRING | Previous response ID for multi-turn conversation | |
| reasoning_effortopt | COMBO | none | Reasoning effort for o-series/gpt-5 models (none = disabled) |
| image_gen_optionsopt | STRING | Optional 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)
| Name | Type | Description |
|---|---|---|
| text_output | STRING | — |
| images | IMAGE | — |
| response_id | STRING | — |
| revised_prompt | STRING | — |