Skip to main content

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.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for comfyui-subgraph-blueprints 0.0.11
File Size Uploaded
comfyui_subgraph_blueprints-0.0.11.tar.gz 482.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for comfyui-subgraph-blueprints 0.0.11
File Interpreter ABI Platform
comfyui_subgraph_blueprints-0.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 1.1 MB

Release files / comfyui_subgraph_blueprints-0.0.11.tar.gz

Download URL comfyui_subgraph_blueprints-0.0.11.tar.gz
Size 482.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f9855d0287da002d93db06410e55a085b4bbb3599cb437da042617ed2e8cde07
BLAKE2b-256 checksum
How to use checksums
fbbddb36c56e3d389ab99ce66be7e508f73de9642eedfacfaca51429e5fc49d0
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.11-py3-none-any.whl

Download URL comfyui_subgraph_blueprints-0.0.11-py3-none-any.whl
Size 613.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
206c6866e40d936cbe9e32c8b3a6d32a959ad888c10a1577bd6c9ffc5711bf82
BLAKE2b-256 checksum
How to use checksums
5d30a6447c10b58f8088eec32a0e4a2bffea95c78646ec4eb29d7670e9f25125
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

0.0.13

2 release files

0.0.12

2 release files

This release

0.0.11 This release

2 release files

0.0.10

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page