home/ atoms/ comfyui-workflow-in-png

ComfyUI embeds the full workflow JSON in generated PNG files

When ComfyUI saves an image, it stores the entire workflow graph — including all node parameters and random seeds — as a JSON blob in the PNG metadata (PngInfo). Dragging that PNG onto the ComfyUI interface or using Load restores the workflow exactly as it was when the image was created. This makes generated images self-documenting: the image carries its own recipe. WebP and FLAC output files use the same embedding mechanism.

Examples

Share a PNG from a Flux run with a colleague; they drag it onto ComfyUI and reproduce the exact result with the same seed and parameters.

Assessment

A collaborator sends you a PNG. Name two things you can recover from it and describe the UI gesture to restore the workflow.

“Dragging a generated png on the webpage or loading one will give you the full workflow including seeds that were used to create it.”
corpus · comfyui-modular-node-graph-engine-for-diffusion-pipelines · chunk 13