comfyui-subgraph-blueprints
Pre-built subgraph blueprints for ComfyUI.
Subgraph Blueprints are reusable workflow components that appear as single nodes in ComfyUI. They abstract complex node configurations into user-friendly creative primitives like "Text to Image" or "Image Edit".
Installation
pip install comfyui-subgraph-blueprints
Blueprint Format
Blueprints use the native ComfyUI subgraph format with definitions.subgraphs:
{
"id": "workflow-uuid",
"nodes": [{"id": -1, "type": "subgraph-uuid", ...}],
"definitions": {
"subgraphs": [{
"id": "subgraph-uuid",
"name": "Text to Image (Flux.1 Dev)",
"inputs": [{"name": "text", "type": "STRING"}, ...],
"outputs": [{"name": "IMAGE", "type": "IMAGE"}],
"nodes": [...],
"links": [...]
}]
}
}
Usage
from comfyui_workflow_templates_core.loader import (
iter_blueprints,
get_blueprint_entry,
get_blueprint_asset_path,
)
import json
# List all available blueprints
for blueprint in iter_blueprints():
print(f"{blueprint.blueprint_id}")
# Load a specific blueprint
entry = get_blueprint_entry("text_to_image_flux_1_dev")
path = get_blueprint_asset_path("text_to_image_flux_1_dev", "text_to_image_flux_1_dev.json")
with open(path) as f:
data = json.load(f)
subgraph = data["definitions"]["subgraphs"][0]
print(f"Name: {subgraph['name']}")
print(f"Inputs: {[i['name'] for i in subgraph['inputs']]}")
print(f"Outputs: {[o['name'] for o in subgraph['outputs']]}")
Available Blueprints
Categories include:
- Text to Image: Flux, Qwen-Image, Chroma, Omnigen2, etc.
- Image Editing: Flux.2 Klein, Qwen, Chrono
- Text to Video: LTX 2.0, Wan 2.2
- Image to Video: Kandinsky5, Wan 2.2
- ControlNet: Qwen-Image, Z-Image-Turbo
- Inpainting/Outpainting: Flux.1 Fill, OneReward, Qwen-Image
Contributing
See the main repository for contribution guidelines: https://github.com/Comfy-Org/workflow_templates
Metadata
Release files for comfyui-subgraph-blueprints 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| comfyui_subgraph_blueprints-0.0.12.tar.gz | 482.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| comfyui_subgraph_blueprints-0.0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.1 MB
Release files / comfyui_subgraph_blueprints-0.0.12.tar.gz
| Download URL | comfyui_subgraph_blueprints-0.0.12.tar.gz |
|---|---|
| Size | 482.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7b42df17e036c98b561d66dce7528343f30a88f7c0b8f96de333440e8d2bf24
|
|
BLAKE2b-256 checksum How to use checksums |
74fb72d9cbc1eb3916f8c7b6f696666d86f49dad6390eac805481861f8be7b42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / comfyui_subgraph_blueprints-0.0.12-py3-none-any.whl
| Download URL | comfyui_subgraph_blueprints-0.0.12-py3-none-any.whl |
|---|---|
| Size | 613.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c53434ce32266c5063201f90229fcda5122a75af99c43d71a647ed539d3adff
|
|
BLAKE2b-256 checksum How to use checksums |
bbf712f31a342a8b324e5d9bbdc4b6bb5b9920be6a0d844ac52e3912cfe364d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|