Current location: Home> Ai Course> AI Basics

How to import a ComfyUI workflow? ComfyUI workflow import and export method

Author: LoRA Time: 12 Mar 2025 1010

ComfyUI supports workflow templated storage and reuse, and users can save common processes as JSON files. The following will introduce the import and export methods of ComfyUI workflow.

How to import a ComfyUI workflow

1. Importing the workflow of ComfyUI is very simple. After starting ComfyUI, just drag and drop the corresponding picture or json file to the ComfyUI interface.

2. You can also use menu or shortcut key Ctrl (Command) + O to import the workflow.

ComfyUI Menu Panel - Import

How to export ComfyUI's workflow

1. Save the picture output of the corresponding workflow. When you save the corresponding picture, the corresponding workflow will be exported normally, but remember that if you use compression software or send it out through the network, the corresponding metadata information will be lost.

2. Save the json file for the corresponding workflow

ComfyUI Menu Panel - Import

Use export in the menu to export the corresponding workflow as a json file

However, since ComfyUI is still being updated frequently, some old versions of json files may not be used normally in the new version of ComfyUI

There are usually two ways to save the workflow of ComfyUI:

1. Json format picture: contains detailed node configuration information

2. PNG pictures with metadata: All pictures generated through ComfyUI will contain metadata information, so you only need to save the corresponding pictures and import them directly in ComfyUI.