flowzip_to_api
Converts FlowZip or litegraph graphs into API/prompt format for workflow submission. Auto-inflates and maps widget values to inputs using live object info.
Instructions
Convert FlowZip (or litegraph) into API/prompt format ready for submit_workflow.
Inflates FlowZip if needed, then maps the litegraph to the flat API graph using the live object_info (resolves links, maps widget values to named inputs). This is the bridge for authoring/adapting graphs compactly and running them.
Best-effort: subgraph instances and unknown nodes are skipped and reported; widget drift between an old template and a newer node shows up as a node_errors when you submit_workflow the result — read it, fix that node, re-submit. Review the API graph before running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowzip | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |