ComfyUI Node
Meta Prompt Extractor
Extract positive and negative prompts from ComfyUI images or workflow JSON files stored anywhere on disk.
Meta Prompt Extractor
- conditioning
- conditioning_negative
- positive_prompt
- negative_prompt
- image
- mask
- path
- width
- height
- resolution
◄image▾►
◄use_conditioningfalse►
◄batch_folder►
◄batch_file_list►
Categoryutils
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| image | COMBO | Absolute path to a file. Use the Browse button. | |
| conditioningopt | CONDITIONING | Optional positive conditioning input. Connect a CLIPTextEncode (or equivalent) node here. When 'use conditioning' is ON the extracted text is forwarded to the positive_prompt output, overriding any file-based extraction. | |
| conditioning_negativeopt | CONDITIONING | Optional negative conditioning input. Connect a CLIPTextEncode (or equivalent) node here. When 'use conditioning' is ON the extracted text is forwarded to the negative_prompt output, overriding any file-based extraction. | |
| use_conditioningopt | BOOLEAN | false | When ON: conditioning inputs take priority over file-based extraction. Turns ON automatically when a conditioning input is connected. Turn OFF to fall back to Browse Files extraction even if conditioning inputs are connected. |
| batch_folderopt | STRING | Absolute or relative path to a folder containing a batch of images. When set, the node will attempt to load and process all supported images in that folder. | |
| batch_file_listopt | STRING | JSON array (string) of file paths to use as an explicit batch. If set, these exact files will be loaded and used instead of enumerating a folder. |
Outputs (8)
| Name | Type | Description |
|---|---|---|
| positive_prompt | STRING | — |
| negative_prompt | STRING | — |
| image | IMAGE | — |
| mask | MASK | — |
| path | STRING | — |
| width | INT | — |
| height | INT | — |
| resolution | STRING | — |