Pre-built subgraph blueprints for ComfyUI
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file comfyui_subgraph_blueprints-0.0.4.tar.gz.
File metadata
- Download URL: comfyui_subgraph_blueprints-0.0.4.tar.gz
- Upload date:
- Size: 201.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8fcee6e694075e741bbb5695dd80dbc4ae0f0c36ffc782df5e913bec114a8f0
|
|
| MD5 |
3f933adeb1bf87a1f5e4aef564977984
|
|
| BLAKE2b-256 |
91b2d4bd2cef97f82c0690f3086eb33486678062dbe79a369c1b739d02b28961
|
File details
Details for the file comfyui_subgraph_blueprints-0.0.4-py3-none-any.whl.
File metadata
- Download URL: comfyui_subgraph_blueprints-0.0.4-py3-none-any.whl
- Upload date:
- Size: 263.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cff449049aa6af3e3b3c11603796367dfa8f9f49023621c8210a6667155eea2
|
|
| MD5 |
f52d7b1deb45d0815c9ba5307ab09eea
|
|
| BLAKE2b-256 |
970358a8b424b55e25831ba335063b07044bb032cecf10267c1108247b95dcd4
|