ComfyUI Node

Relay Chat

Calls /v1/chat/completions on a relay (OpenAI-compatible). Connect images for vision models or prompt extraction.

By BennettL569·Created a day ago·Updated a day ago· 0
Relay Chat
  • images
  • text
◄relay▾►
◄model►
◄prompt►
◄system►
◄temperature-1.00►
◄max_tokens0►
◄seed0►
◄extra_json►
◄timeout300►
CategoryAPI Relay

Inputs (10)

NameTypeDefaultDescription
relayCOMBOAdd relays in the Relay Manager window (tools/start_manager in the plugin folder). After editing relays.json by hand, press R to refresh.
modelSTRINGModel name on the relay. The Relay Models node lists them
promptSTRING—
systemSTRING—
temperatureFLOAT-1.00-1–2-1 means not sent, using the model's default (some reasoning models only accept that)
max_tokensINT00–10000000 means not sent
seedINT00–4294967295Not sent to the API. It only decides whether to call again: a new value makes a new (billed) call, the same value reuses the last result
extra_jsonSTRINGJSON object merged into the request body, such as {"quality": "high"}. Use null to remove a field
timeoutINT30010–7200—
imagesoptIMAGEOptional. Images are sent to the model too (it must support vision)

Outputs (1)

NameTypeDescription
textSTRING—