ComfyUI Extension
ComfyUI-ugleh-OpenAI
Minimal OpenAI API nodes for ComfyUI.
Ugleh/ComfyUI-ugleh-OpenAI
Nodes1
On cloudLocal install
Categoryugleh/openai
Stars0
Updated6 months ago
Readme
ComfyUI-ugleh-OpenAI
Minimal OpenAI API nodes for ComfyUI.
Nodes
Ugleh OpenAI - Responses Text
Calls the OpenAI Responses API.
Inputs:
model: choose an OpenAI model (includes GPT‑4o/4.1 and GPT‑5 family)reasoning_effort:low/medium/highinstructions: multi-line textinput: multi-line textmax_output_tokens
Outputs:
text_out
Setup
Using Your API Key
To securely store your OpenAI API key:
- Create a file named
.envin the root folder of your ComfyUI installation. - Add the following line to the
.envfile:
ReplaceOPENAI_API_KEY=your_api_key_hereyour_api_key_herewith your actual OpenAI API key. - Save the file.
This method allows you to keep your API key secure and separate from your code.
Installation and Usage
- Navigate to ComfyUI/custom_nodes folder in the terminal or command prompt.
- Clone the repo using the following command:
git clone https://github.com/Ugleh/ComfyUI-ugleh-OpenAI - Go to
custom_nodes/ComfyUI-ugleh-OpenAIand install dependencies by runningpip install -r requirements.txt - Restart ComfyUI
License
MIT (see LICENSE)