QiQ / Forum

Workflows·3 min read·QiQ guide

How to find the prompt and workflow behind a ComfyUI image.

Start with the original PNG, check what metadata survived, and know when the recipe cannot be recovered.

The short answer

Check the original image for embedded ComfyUI workflow data. If it is present and supported, you can inspect the recorded configuration. If it is absent, the image pixels do not reveal the original prompt or workflow.

Start with the original file

A saved image can be both the result and a record of how it was made. ComfyUI can embed workflow information in its outputs, but that information is optional and can be lost when another application rewrites the file [1].

Look for the original output before trying a downloaded preview, screenshot or edited copy. Do not assume every copy has the same metadata because it looks the same.

Inspect what is actually recorded

Look for the prompt, checkpoint, LoRAs and sampling settings. For a supported multi-stage workflow, check which settings belong to the base stage and which belong to the refiner.

Treat the record as something to review. It may be incomplete, altered or use nodes your reader does not understand. Finding a model name in a file does not prove that the model is installed or that the file’s history is authentic.

If the workflow will not reopen

Separate missing metadata from missing dependencies. A workflow may be recorded but require models, inputs or custom nodes that your setup does not have. ComfyUI’s documentation explains that those dependencies are not bundled into the workflow metadata [1].

If the data is absent, ask for the original image or a separate workflow export. Avoid treating a guessed prompt as a recovered original.

Keep a reusable record before editing

Keep the original output and save the useful composition while it is easy to identify. Preserve a separate workflow file when that is part of your normal ComfyUI process.

This keeps the project useful even if the copy you publish loses its generation details. Choose deliberately whether you want to share the workflow with the image or keep it in your working files.

Turn a kept image into your next composition.

When a PNG contains supported ComfyUI workflow data, QiQ’s analysis brings its prompts, models, LoRA strengths and sampling settings into a readable view. Recognised base and refiner stages appear separately, so you can see how the configuration was put together.

You can take the supported composition into Composer to try a new direction, or save it to Prompt Center for later. The image you kept becomes a practical starting point for your next piece, with the recorded choices available to work from.

Explore QiQ

Sources and context

  1. Official ComfyUI documentationHow ComfyUI stores and reloads workflow metadata ↗
  2. ComfyUI issue reportA reported metadata-loss path during mask editing ↗