Skip to main content
This node generates text responses from an OpenAI model. It sends your text prompt (and optionally images or files) to an OpenAI model and returns the generated text response.

Inputs

ParameterDescriptionData TypeRequiredRange
promptText inputs to the model, used to generate a response (default: empty)STRINGYes-
persist_contextThis parameter is deprecated and has no effect (default: False)BOOLEANYes-
modelThe model used to generate the response (default: gpt-5)COMBOYesgpt-5.5-pro
gpt-5.5
gpt-5
gpt-5-mini
gpt-5-nano
gpt-4.1
gpt-4.1-mini
gpt-4.1-nano
o4-mini
o3
o1-pro
o1
imagesOptional image(s) to use as context for the model. To include multiple images, you can use the Batch Images nodeIMAGENo-
filesOptional file(s) to use as context for the model. Accepts inputs from the OpenAI Chat Input Files nodeOPENAI_INPUT_FILESNo-
advanced_optionsOptional configuration for the model. Accepts inputs from the OpenAI Chat Advanced Options nodeOPENAI_CHAT_CONFIGNo-

Outputs

Output NameDescriptionData Type
output_textThe text response generated by the OpenAI modelSTRING
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 9adc9685d7fc31fba95bf43fa9e041289b6dbb9ab8f5ed30dc85e0acc015fe5c