comfyui_convert_workflow
Convert a ComfyUI UI-format workflow into an API-format file for direct use, resolving Set/Get nodes, reroutes, and bypassed nodes without running the workflow first.
Instructions
Convert a UI-format workflow saved in ComfyUI (e.g. "comfyui:MY_FLOW.json") to API format and save it as workflows/api/.json, without having to run it first. Resolves Set/Get nodes, reroutes and bypassed nodes. Not for workflows with subgraphs.
Args: include_bypassed: Treat bypassed nodes as active (e.g. optional LoadImage slots that are bypassed in the editor but should exist in the API version).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| workflow | Yes | ||
| overwrite | No | ||
| include_bypassed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||