ComfyUI Extension: ComfyUI-Liebs-Title

Authored by marklieberman

Created

Updated

0 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

An extension to modify the browser tab title when running ComfyUI workflows.

Looking for a different extension?

Custom Nodes (1)

README

ComfyUI-Liebs-Title

An extension to modify the browser tab title when running ComfyUI workflows.

Features

  • Browser tab title can be set directly using Right Click > Set Browser Tab Title.
  • The title is saved with the graph and will restore when the workflow is re-opened.
  • Use a node to set variables to be used in the title.

Screenshots

| Screenshot | Description | | :---- | :---- | | <img src="./docs/images/context-menu.png" width="200"/> | Set the browser tab title using a menu option added to the right-click context menu. |

Placeholder Variables

The tab title may contain placeholder variables with the format %variableName%. The Set Tab Title Variable node can take any input and create a variable for the tab title.

Built-in Variables

| Variable | Description | | :---- | :---- | | %title% | The original title before formatting by ComfyUI-Liebs-Title |

Setting a Variable

When the prompt is executed, the variable %prefix% will be populated with value Shirt:.

<img src="./docs/images/set-variable-simple.png"/>

Setting Variables with Regular Expression Capturing Groups

Capturing groups from the regular expression will be mapped to variables. Specify the comma separated variable names in the same order as the capturing groups. When the following prompt is executed, the variables %color% and %garment% will be populated with values Red and TShirt.

<img src="./docs/images/set-variable-regex.png"/>

Example Tab Title Formats

| Tab Title Format | Example Result | Notes | | :---- | :---- | :---- | | Make the shirt red | Make the shirt red | | | Make the shirt red - %title% | Make the shirt red - default - ComfyUI | Adding the original tab title. | | Make the shirt red - %title% | Make the shirt red - [67%][67%] KSampler | While the prompt is running. | | %prefix%:%title% | Shirt:default - ComfyUI | %prefix% is provided by a Set Tab Title Variable node. | | %color% - %garment% - %title% | Red - TShirt - default - ComfyUI | %color% and %garment% are provided by a Set Tab Title Variable node. |

Changelog

1.0.6

  • Properly fix variable updates when using multiple tabs in ComfyUI.

1.0.5

  • Bug fixes

1.0.4

  • Use placeholder and variable at time of prompt submission. Fixes title changing when switching between tabs in ComfyUI.

1.0.0

  • Intial release

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more