This article will introduce how to use OpenAI Chat Partner nodes in ComfyUI to complete conversational functions
OpenAI is a company focused on generative AI, providing powerful conversational capabilities. Currently, ComfyUI has integrated the OpenAI API, allowing you to directly use the related nodes in ComfyUI to complete conversational functions.In this guide, we will walk you through completing the corresponding conversational functionality.
To use the API nodes, you need to ensure that you are logged in properly and using a permitted network environment. Please refer to the API Nodes Overview section of the documentation to understand the specific requirements for using the API nodes.
Workflows in this guide can be found in the Workflow Templates.
If you can’t find them in the template, your ComfyUI may be outdated. (Desktop version’s update will delay sometime)If nodes are missing when loading a workflow, possible reasons:
You are not using the latest ComfyUI version (Nightly version)
Some nodes failed to import at startup
The Desktop is base on ComfyUI stable release, it will auto-update when there is a new Desktop stable release available.
So, if you find any core node missing in this document, it might be because the new core nodes have not yet been released in the latest stable version. Please wait for the next stable release.
Currently, the file input node OpenAI Chat Input Files requires files to be uploaded to the ComfyUI/input/ directory first. This node is being improved, and we will modify the template after updates
The workflow provides an example using Batch Images for input. If you have multiple images that need AI interpretation, you can refer to the step diagram and use right-click to set the corresponding node mode to Always to enable it