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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

comfyui_subgraph_blueprints-0.0.10.tar.gz (352.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

comfyui_subgraph_blueprints-0.0.10-py3-none-any.whl (458.1 kB view details)

Uploaded Python 3

File details

Details for the file comfyui_subgraph_blueprints-0.0.10.tar.gz.

File metadata

File hashes

Hashes for comfyui_subgraph_blueprints-0.0.10.tar.gz
Algorithm Hash digest
SHA256 94928fcf942d3983577799d5d97915904ada5ffcdf3bb8dab87d556d3b828651
MD5 93b3140e1b8ff8a85ea84318a1300f9a
BLAKE2b-256 20171e87efa1165e4a3e9dc6365b2d1d5d005adc44b4e55ded9a8db8ff8b4720

See more details on using hashes here.

File details

Details for the file comfyui_subgraph_blueprints-0.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for comfyui_subgraph_blueprints-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 e5b1a5ece3b757c2eaf93502460ce10ec98e61fa94f775bf3dd072f69c58b0a9
MD5 49c2a0a63dd66a5a72beea47d912ccfb
BLAKE2b-256 7c52246d121e4d6d1765fc5cc5485f733dffd974739fc6b13a99ca47c0ac93ef

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.2

2 files

0.0.1

2 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