New Tool Radar

AI Image & Voice

How to Save and Load a ComfyUI Workflow as JSON

Save a ComfyUI workflow as a JSON file, load it back later, and recover a workflow from any image ComfyUI generated.

Schematic diagram with four steps: save the workflow as JSON, keep the file safe, load it back from the menu, or drag a generated image onto the canvas to recover it.

ComfyUI workflows are plain JSON files, so you can save one, share it, version it and load it back exactly as it was — nodes, connections, prompts and seeds included. That makes a workflow a file you can keep, not just a screen layout you have to rebuild.

Save the workflow, load it back, or recover it from an image

With the workflow on the canvas, use the menu to save it as a .json file and keep it somewhere safe, for example next to the model files or in a version-controlled folder. To load it later, open the same menu and pick the file: the whole graph reappears. You can also drag any image, video, audio or 3D file made with ComfyUI onto the canvas to get back the full workflow that made it, seeds included.

Save: menu -> Save workflow as workflow.json
Load: menu -> Load workflow from workflow.json
Recover: drag a ComfyUI image onto the canvas

A workflow JSON only describes the graph — it does not include the model files, so the checkpoint, VAE, LoRA and ControlNet files still have to be present in their folders on the machine that loads it. If a loaded workflow shows red nodes, a custom node pack it needs is missing.

Try it: four checks

Check What you should see If you do not see it
File saved A .json file appears where you saved it Use the workflow save menu, not a screenshot
Loads back Loading the file rebuilds the same graph Check the file was saved from the same workflow
Seeds kept The sampler seed matches the saved value Compare the KSampler seed field
Image recovers it Dragging a generated image restores the workflow Use an image actually made by ComfyUI

Expected result. We checked the ComfyUI README, which says workflows save and load as JSON and that dragging generated media onto the canvas recovers the full workflow with seeds. We did not save or load a workflow on this machine.

Limits

This guide covers saving, loading and recovering a workflow only. A workflow that needs custom nodes will show red nodes until those packs are installed. Model files are not included in the JSON. We did not test saving or loading ourselves.

Sources

See all
AI Image & Voice

How to Remove a Background in Canva

Remove a photo background in Canva with Background Remover, then fix the edges with the Erase and Restore brushes.