My custom nodes for ComfyUI. Just download the python script file and put inside ComfyUI/custom_nodes folder
Prompt editing
[a: b :step] --> replcae a by b at step
[a:step] --> add a at step
[a::step] --> remove a at step
Alternating Tokens
<a|b> --> alternate between a and b for all steps (could add more tokens)
note: to stop alternating at a certain step, use prompt editing e.g. an [<orange|apple>: apple :10] on a table
Word as Image
This node basically allows for user text input to be converted to an image of a black background and white text to be used with depth controlnet or T2I adapter models.