Nodes/ComfyUI/OpenAI ChatGPT
ComfyUI Node Runs on cloud

OpenAI ChatGPT

Generate text responses from an OpenAI model.

By Comfy-Org·Created 4 years ago·Updated 16 days ago· 121,575
OpenAI ChatGPT
  • images
  • files
  • advanced_options
  • STRING
prompt
persist_contextfalse
model
Categorypartner/text/OpenAI

Inputs (6)

NameTypeDefaultDescription
promptSTRINGText inputs to the model, used to generate a response.
persist_contextBOOLEANfalseThis parameter is deprecated and has no effect.
modelCOMBOThe model used to generate the response
imagesoptIMAGEOptional image(s) to use as context for the model. To include multiple images, you can use the Batch Images node.
filesoptOPENAI_INPUT_FILESOptional file(s) to use as context for the model. Accepts inputs from the OpenAI Chat Input Files node.
advanced_optionsoptOPENAI_CHAT_CONFIGOptional configuration for the model. Accepts inputs from the OpenAI Chat Advanced Options node.

Outputs (1)

NameTypeDescription
STRINGSTRING