Skip to content

Workflow package API

@stepupgaming/comfy-workflows/wfpack

SymbolPurpose
WORKFLOW_MANIFEST_FILENAME"comfy.workflow.json"
WORKFLOW_PACKAGE_JSON_KEY"comfyWorkflow"
parse / validate manifestThrows ComfyError on bad documents
discoverPackageLocate manifest + IR without executing JS
checkPackageCoherenceParams/outputs/classes vs IR
exposeParamPromote a widget to a parameter
suggestParamsRead-only heuristics
generatePackage / initUsed by cwf init
analyzePortabilityAbsolute paths, checkpoints
deriveNodeClassesClasses used in IR

Consumers should prefer cwf inspect / cwf pack unless they are building another tool.

Manifest · Packages

Released under the MIT License. Unofficial project. Not affiliated with or endorsed by Comfy Org.