ComfyUI: UI workflow → API prompt

ComfyUI's Save button — and every workflow shared on CivitAI, OpenArt, Discord or embedded in a PNG — produces the UI format. POST /prompt only accepts the API format, and the only official converter is a button inside a browser you are not running. This converts it here, in your browser, keeping the five things naive converters drop.

BehaviourWhy it matters
Reroute bridgingReroutes chain. Links must resolve through them transitively, or every downstream input points at a node that will not exist.
bypass & mutemode 2 and 4 mean the author disabled that node. Emitting it queues work they deliberately turned off.
seed-control widgetrandomize sits between seed and the next input but is not an API input. Miss it and steps becomes the string "randomize".
dynamic widgetsPower Lora Loader (rgthree) stores LoRAs as dicts that must expand to lora_1..n, with disabled ones dropped.
divergent widget orderSome third-party samplers declare widgets in a UI order that does not match object_info.
loading Python runtime…