Workflow records · Controlled example

Two ComfyUI graph records in one PNG

One PNG contains a two-node editor workflow and a separate two-node API graph. Neither is executed during inspection.

Are ComfyUI workflow JSON and API prompt JSON the same record?

No. The workflow field stores an editor graph; the prompt field stores API class types and inputs. This example returns both records, each containing LoadImage and SaveImage nodes, with no single saved text prompt.

How the case was made

We attach two hand-built JSON records to a code-drawn PNG. The workflow parser must return both fields and two nodes for each. The saved-prompt parser separately returns null.

Code-drawn geometric test image used for the controlled metadata examples
The same code-drawn source picture is used across the fixtures. The saved demonstration prompts do not describe how these pixels were made.

Files and observed output

  • workflow-records.png · 14,013 bytesSHA-256: 427aa019b768aaaeb2fb59724a4e49772e041ee6091f47cffc7ec6a35867dc08
  • without-records.png · 13,179 bytesSHA-256: acdc3a0a5e011cf57af9bf0f1da74c75c2d280a2cc9af9297410c529f86932cf
Recorded result
[
  {
    "field": "workflow",
    "nodes": 2,
    "node_types": [
      "LoadImage",
      "SaveImage"
    ]
  },
  {
    "field": "prompt",
    "nodes": 2,
    "node_types": [
      "LoadImage",
      "SaveImage"
    ]
  }
]

Observations recorded 2026-09-19 using Node v23.11.0 and sharp 0.35.4. JSON seed values are strings to retain integer precision. A null prompt means the reader did not return a supported saved prompt.

Reproduce this result

  1. Download the files above and verify their SHA-256 hashes.
  2. Open the linked isGenAI tool and choose the corresponding file, or the before/after pair for comparisons.
  3. Compare the returned fields with the recorded output. Different tool versions or altered files can produce different results.

The standalone reproduction script creates the fixture variants and compares bytes and pixels. The complete JSON observations also include parser results. Use the workflow and comparison API examples to inspect downloaded files programmatically.

Read the format guide and its primary sources.

What this result does not establish

The graph did not generate the displayed picture. These are controlled metadata records; inspecting them does not install nodes, download models or establish that a workflow will execute successfully.

Files and observations: CC0-1.0. Cite this case URL and include its method and limits. Report a reproducibility issue.