ComfyScript/docs/Transpiler.md at main · lineCode/ComfyScript · GitHub
Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 468 Bytes

Transpiler.md

File metadata and controls

23 lines (19 loc) · 468 Bytes

Transpiler

CLI

Requirement:

python -m pip install click~=8.1

(or pip install -e ".[default,cli]" or pip install "comfy-script[default,cli]" when installing)

Usage:

Usage: python -m comfy_script.transpile [OPTIONS] WORKFLOW

  Transpile workflow to ComfyScript.

Options:
  --api TEXT  Default: http://127.0.0.1:8188/
  --help      Show this message and exit.

Example:

python -m comfy_script.transpile "D:\workflow.json"