ComfyUI Extension: ComfyUI-EnvVariable

Authored by wtesler

Created

Updated

1 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Minimal ComfyUI custom node that outputs an environment variable value by key.

Looking for a different extension?

Custom Nodes (1)

README

ComfyUI-EnvVariable

Minimal ComfyUI custom node that reads an environment variable by key and outputs it as a string.

<img width="607" height="278" alt="Node Preview" src="https://github.com/user-attachments/assets/26837b08-6c6b-4377-9eaa-a6308646ad50" />

Node

  • Name: Environment Variable
  • Input: key (STRING)
  • Output: value (STRING)

Behavior:

  • Returns os.environ[key] when present.
  • Raises KeyError when the key is missing.

Install

Option 1. Clone into ComfyUI/custom_nodes/:

git clone https://github.com/wtesler/ComfyUI-EnvVariable.git

There are no additional requirements to install.

Option 2. Search and download "ComfyUI-EnvVariable" from Custom Nodes Manager.

Environment Variable Setup

Set the variable either in System Environment Variables or in your ComfyUI launch script (set MY_KEY=...). Then fully close and relaunch ComfyUI so the process receives updated environment values.

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more