pydn/ComfyUI-to-Python-Extension
A powerful tool that translates ComfyUI workflows into executable Python code. observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 81
- Release rhythm 77
- Longevity 80
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1.0
- age_days: 1130
- days_rel: 157
- days_push: 115
- n_releases_24m: 7
Adoption not part of the score
2375 stars · 214 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A ComfyUI extension and CLI tool that translates ComfyUI node-graph workflows into executable Python scripts. It lets users export workflows via a 'Save As Script' UI option or convert saved API-format workflow files from the command line.
Use cases
- convert comfyui workflow to python code
- run stable diffusion generation pipeline as a script
- automate image generation without the comfyui ui
- export comfyui workflow as python script
- batch generate ai art programmatically
- turn node graph into repeatable python pipeline
When to choose
- you build workflows visually in ComfyUI but want to run them headless or in code
- you need repeatable, scriptable image generation pipelines
- you want to experiment with or modify generated workflows in Python
When to avoid
- you only use ComfyUI interactively and never need scripting
- you don't have a ComfyUI installation available, since generated scripts depend on it
- you need a general-purpose workflow engine unrelated to ComfyUI
Facets
plugin · maturity active
developer-tools cli image-processing artificial-intelligence image-processing developer-tools python cross-platform cli comfyui stable-diffusion workflow-export pytorch ai-art code-transpiler code-generation automation
1 source
- readme: https://github.com/pydn/ComfyUI-to-Python-Extension · fetched 2026-08-28 · eebf3ebbf624
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pydn/ComfyUI-to-Python-Extension | main | 79 |
For agents
markdown · JSON · MCP: product_card(name="pydn/ComfyUI-to-Python-Extension")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem