Skip to main content

COMFYUI & PRISM PIPELINE PLUGINS

COMFYUI & PRISM PIPELINE PLUGIN

Versioned AI Workflow Tools Built for Production Pipelines

Versioned AI Workflow Tools Built for Production Pipelines

This plugin registers ComfyUI as a Prism App plugin and treats .cui files as Prism scene files so they appear in the Project Browser. Opening a .cui file copies its workflow JSON to the system clipboard, and updated workflows can be copied from ComfyUI back into Prism to save new properly versioned .cui files.
This plugin registers ComfyUI as a Prism App and treats .cui files as Prism scene files so they appear in the Project Browser. Opening a .cui file copies its workflow JSON to the system clipboard, and updated workflows can be copied from ComfyUI back into Prism to save new properly versioned .cui files.

Plugin Features

Workflow Versioning

Track ComfyUI workflows in Prism with clear version history for faster iteration and review

Clipboard-Based Handoff

Move workflows between Prism and ComfyUI quickly using a simple copy-and-paste pipeline.

Pipeline Organization

Keep AI workflow files structured, searchable, and easier to manage across projects.

Application-Aware File Support

Convert ComfyUI workflows from .json to .cui so Prism can track them as pipeline assets.

Prism ComfyUI Plugin

Adds native ComfyUI workflow support to Prism so you can version, browse, and manage .cui files inside your pipeline.

ComfyUI OpenFilePatch

Overrides Prism’s default file-open behavior so .cui workflow files copy directly to the clipboard for fast pasting into ComfyUI.

ComfyUI Prism Custom Node

Adds ComfyUI menu actions for copying workflow JSON to the system clipboard so updated workflows can be saved back into Prism.

1. Prism ComfyUI Plugin

Adds native ComfyUI workflow support to Prism so you can version, browse, and manage .cui files inside your pipeline.

What it does

This is the main Prism-side integration. It registers ComfyUI as an App plugin in Prism, adds .cui as a scene file format, exposes those files in the Project Browser, supports presets, and adds right-click actions for ComfyUI workflows.

Install location

Copy the plugin into:
C:\ProgramData\Prism2\plugins\ComfyUI
The documented folder structure is:
C:\ProgramData\Prism2\plugins\ComfyUI
    Scripts\
        Prism_ComfyUI_init.py
        Prism_ComfyUI_init_unloaded.py
        Prism_ComfyUI_Variables.py
        Prism_ComfyUI_externalAccess_Functions.py
        Prism_ComfyUI_Functions.py
        Prism_ComfyUI_Integration.py
    Resources\
        ComfyUI.ico
    Presets\
        EmptyScene ComfyUI.cui

Install steps

  1. Open Prism.
  2. Go to Prism Settings.
  3. Click the Create New Plugin icon in the top-right corner.
  4. In the create plugin popup:
    • set Name to ComfyUI
    • set Type to Custom
    • set Location to Custom
  5. In the Path field, paste the full path where you want the ComfyUI plugin folder to be created.
  6. Confirm the plugin creation. Prism will create the ComfyUI plugin folder and its default files.
  7. Close Prism.
  8. Delete the generated plugin files in that ComfyUI plugin folder.
  9. Copy the provided plugin files into the matching Scripts, Resources, and Presets folders.
  10. Open Prism again.
  11. Make sure the plugin is enabled.
  12. Restart Prism if needed so the plugin, filters, and menu actions load correctly.

2. ComfyUI OpenFilePatch

Overrides Prism’s default file-open behavior so .cui workflow files copy directly to the clipboard for fast pasting into ComfyUI.

What it does

This is the lightweight Prism patch for opening ComfyUI files. Instead of letting Prism hand .cui files off to Windows file associations, it intercepts the open action, reads the workflow text, copies it to the system clipboard, and lets the user paste it into ComfyUI with Ctrl+V.

Install location

This is installed as a single-file Prism plugin and points to:

C:\ProgramData\Prism2\plugins\

Install steps

  1. Open Prism Settings.
  2. Click the Create New Plugin icon in the top-right corner.
  3. In the create plugin popup:
    • set Name to ComfyUIOpenFilePatch
    • set Type to Single File
    • set Location to Custom
  4. In the Path field, paste the full path to the Prism plugin folder: C:\ProgramData\Prism2\plugins
  5. Confirm the plugin creation. Prism will create a ComfyUIOpenFilePatch.py file.
  6. Replace that generated file with the provided ComfyUIOpenFilePatch.py file.
  7. Make sure the plugin is enabled.
  8. Restart Prism so the plugin, filters, and menu actions load correctly.

    3. ComfyUI Prism Custom Node

    Adds ComfyUI menu actions for copying workflow JSON to the system clipboard so updated workflows can be saved back into Prism.

    What it does

    This is the ComfyUI-side extension. It adds frontend menu actions that copy plain-text workflow JSON or API JSON to the system clipboard, which is important because normal browser copy/paste inside ComfyUI may stay internal to the browser instead of reaching the OS clipboard Prism needs.

    Install location

    Inside your ComfyUI install, create:
    ComfyUI\custom_nodes\PrismClipboardExporter\
    With this structure:
    ComfyUI\
      custom_nodes\
        PrismClipboardExporter\
          __init__.py
          js\
            prism_clipboard_exporter.js

    Install steps

    • Close ComfyUI.
    • Copy the PrismClipboardExporter folder into ComfyUI\custom_nodes\
    • Start ComfyUI again.
    • Reload the browser page.
    • In Settings → Extensions / Manage Extensions, confirm the Prism extension is enabled.
    • Verify the menu appears under Extensions → Prism.

    How to Use

    Save a ComfyUI workflow into Prism

    1. In ComfyUI, go to: File → Extensions → Prism → Copy Workflow JSON (Plain Text)

    This copies the full ComfyUI workflow JSON to your system clipboard.

    Then in Prism:

    1. Go to Scenefiles under the correct Department and Task.
    2. In the files area, right-click and choose Create New Version from Preset.
    3. Select EmptyScene ComfyUI.

    This creates a blank ComfyUI .cui file in Prism.

    1. Right-click the new ComfyUI record in Prism.
    2. Choose Save New Version from Clipboard.

    If the workflow JSON is still in your system clipboard, Prism will create the next version and write that clipboard content into the .cui file.

    Send a saved Prism version back into ComfyUI

    1. In Prism, right-click the ComfyUI record you want to use.
    2. Choose Copy Workflow to Clipboard.
    3. Go to ComfyUI.
    4. Click inside the ComfyUI canvas or window.
    5. Paste the workflow.

    ComfyUI will load the copied workflow from the clipboard.