Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

Plush-for-ComfyUI

> AI 编程
Open source

Custom node for ComfyUI/Stable Diffustion

197 stars0 likes0 views
WebsiteGitHub

About

Custom node for ComfyUI/Stable Diffustion

Plush-for-ComfyUI


  • How to use Advanced Prompt Enhancer with OpenRouter and other remote AI services that are not preconfigured.

  • Click here if you need to setup your API key or an optional Open-source key in an Plush compatible evironment variable

  • Prompt and Image examples from the Style_Prompt and Style_Prompt + OAI Dall-e3 node(s)

  • General ComfyUI Manual


Updates:

06/21/2025 @5:24pm PST No version change

  • Fixed Connection Error bug when using Ollama.

05/11/2025 @5:24pm PST Version 1.22.2

  • New Node: GPT Image: GPT Image uses the gpt-image-1 model which is OpenAI's most advanced text to image generation model. It's also their most advanced image editing model (at this point it only outputs image(s)). You will need a paid OpenAI API Key to use it and your OpenAI account will need to be ID Verified. Store this key in the OpenAI Environment Variable (OPENAI_API_KEY).
  • Help.json
    • Updated to reflect changes detailed above.

03/20/2025 @8:04pm PST Version 1.22.1

  • New Node: Imagen Image: Imagen 3 is Google's most advanced text to image generation model (at this time it only accepts textual input and only outputs an image). You will need a paid Vertex/Google Cloud API Key to use it. To obtain this key you must have or make a Google Cloud account and make or have an active project in it. You must attach a Payment method to this account, then activate Vertex and active the Imagen model. You can store this key in a custom Environment Variable (for example: VERTEX_API_KEY) and access that variable by attaching the Custom API Key node to the Imagen Image node.
  • New Node: Gemini Image: This node uses the latest Gemimi-Flash models that are capable of multimodal input (e.g. text and images) and multimodal output. This node will allow you to output both text and images from a single prompt. The node requires a standard Google Gemini API key which can be put either in GEMINI_API_KEY Environment Variable, or a custom Environment variable. Custom Environment Variables can be accessed by attaching the Custom API Key node.
  • A Note about these new Google models: These models are new and have fairly strict Safety limits on them. I have tried to provide feedback for you in situations where your image generation might fail. This will be shown in the troubleshooting output. Typically as these models mature the provider will relax some of the Safety checks, but for now you'll have to be patient with these models. In particular words that might connote children: young, child, boy, girl, baby will often trigger a failure on Safety check.
  • Help.json
    • Updated to reflect changes detailed above.

03/05/2025 @2:09pm PST Version 1.21.25

  • The Advanced Prompt Enhancer and AI Chooser nodes have had their UI's modified. After updating the suite make sure you use the ComfyUI Node popup menu and select Reload Node for any existing workflows that use these nodes so you don't get any errors.
  • You can now input multiple images: The image input of the Advanced Prompt Enhancer and Style Prompt nodes now accept multiple images. To use this feature you'll have to first batch the images using the standard ComfyUI node: Batch Images. This node is built-in to ComfyUI and doesn't require a download. Just a warning this will increase your input tokens by a lot. Some services and models can't accept more than one image. Even with models that do accept more than one, I'd caution against sending more than two. One use of this is to create a prompt that combine elements of both images.
  • Gemini is now a first-class AI Service in both Advanced Prompt Enhancer and AI Chooser There's a field that presents the full list of Gemini models and Gemini can be selected directly in the AI_Service field in both nodes. To use this service you'll need to have a Gemini API key and store it in a variable named: GEMINI_API_KEY
  • Help.json
    • Updated to reflect changes detailed above.

02/18/2025 @4:37pm PST Version 1.21.24

  • Misc Code changes
  • Expanded Remote Inference Services for Load Remote Models node
  • Misc_urls.json is now the file that contains the path to get Ollama models and can be changed for custom configs.
    • This is now an untracked file so your customizations will not be overwritten.

01/28/2025 @5:00pm PST Version 1.21.23

  • [new node] Remove Text Block Node for removing unwanted text
    • If you're using a thinking model that displays all its thoughts, you can use this to remove that text and just output the prompt or whatever you want.
    • The new DeepSeekR1 is now more widely available, and its llama 70b distill is available on Groq for free. These models output their Test-time Reasoning typically within tags: . This node allows you to specify the text you want to remove by entering the opening and closing tags.
  • [new node] Load Saved Files
    • Plush lets you name and save two types of files: Parameter files & Image meta data output files. This node allows you to find and load these files into whatever node you want. So if you saved a parameter setup for a particular model using the save file feature in Plush, you can load it back up when you use that model again. [see /Plush-for-ComfyUI/Example_Workflows/How_to_retrieve_and_use_saved_parameter_files.png for an example of how this works].

01/07/2025 @8:00pm PST Version 1.21.22

  • [new node] Custom API Key node, attaches to Advanced Prompt Enhancer
    • User can create their own named Enviroment Variable to contain the API key they want to use. This node allows you to extract the key from that environment variable and pass it to Advanced Prompt Enhancer.
    • This is restricted to AI Services that require a URL (Those with names ending in '(URL)'). This can't be used for: ChatGPT/OpenAI, Anthropic or Groq.
  • [new node] Load Remote Models node, Utility node
    • User can automatically load models from the OpenRouter remote service into the Optional_Models drop-down using filters and sort. This node requires that the Custom API Key node be attached and the appropriate Env. Variable name entered.
  • [new node} Text (Any) node, attaches to any input type.
    • A simple text node that will attach to any type of input. If you want to convert Optional Models to an input and type in single model names rather than a drop down, use this node.
  • Help.json
    • Updated to reflect changes detailed above.

12/06/2024 @10:16am PST Version 1.21.21

  • Advance Prompt Enhancer (APE), Ollama unload models
    • User can select how long Ollama keeps its model(s) alive after the APE inference run is complete. This can be used to manage RAM/VRAM. See the help output on APE for more details.
    • [Thanks to @9nate-drake for suppling most of the code]
  • Help.json
    • Updated to reflect changes detailed above.

11/23/2024 @7:49am PST Version 1.21.20

  • Advance Prompt Enhancer (APE), Retries
    • User can select the number of Tries the node will make to connect and generate output from an AI Service. APE will indicate a failure and display the error in the troubleshooting output if the process fails after the indicated number of attempts.
    • Names of items in the AI_service pull down menu have been changed to better reflect that they apply to remote and local services, this may cause errors when you use the updated node in existing workflows. To fix this simply select a new item name from the pull down menu and run your workflow.
  • Help.json
    • Updated to reflect changes detailed above.

10/20/2024 @5:04pm PST Version 1.21.19

  • New Utility nodes:
    • Type Converter: Converts various data types from a string. Also can cross-reference equivalent data type
    • Image Mixer and Random Image Output: Two randomizing nodes that can randomly change the order of images or randomly present an image to another node from a group of images.
  • Advance Prompt Enhancer (APE), Context Output
    • Allows chaining of successive prompt/response interactions between APE nodes, allow each successive node to be aware of earlier node's interactions i.e. Nodes linked in this manner share their context.
  • Advanced Prompt Enhancer, the old Parameters node has been removed from the Suite
  • Help.json
    • Updated to reflect changes detailed above.

10/16/2024 @9:24pm PST Version 1.21.18.1

  • New node Add Parameters:
    • I've added another version of the node to add parameters called: Add Parameters. This node takes text entered into a text area. See the Example Workflow: .../Plush-for_ComfyUI/Example_Workflows/How_to_use_addParameters.png file for more details.
  • New nodes: Random Output & Random Mixer
    • These nodes allow you to send output to different inputs randomly. See the Example Workflow: .../Plush-for_ComfyUI/Example_Workflows/How_to_use_RandomizedUtilityNodes.png for more information.
  • Help.json
    • Updated to reflect changes detailed above.

10/14/2024 @5:28pm PST Version 1.21.18

  • New node Additional Parameter:
    • This node will allow you to add inference parameters to Advanced Prompt Enhancer (APE) that don't appear in the UI. Parameters like top_p and response_format can allow you to have more control over the inference process. These nodes can be daisy chained which will allow you add mulitiple parameters per run. Find a list of OpenAI parameters and their information at the link. You should check the documentation of whichever service and model you're using to make sure the parameters you want to use can be applied. You can find a Workflow Example of how to use this new node and the Extract JSON data node mentioned below here: .../custom_nodes/Plush-for-ComfyUI/Example_Workflows/How_to_use_additionalParameters.png
  • *New node Extract JSON data:
    • This node allows you extract data from a string JSON by specifying the keys you want to query. It can be used in tandem with the new Additional Parameter node that adds: response_format or the Additional Parameter node's menu item: OpenAI JSON Format to force JSON output from your model. This output can then be queried using the Extract JSON data node. You can find a Workflow Example of how to use this new node here: .../custom_nodes/Plush-for-ComfyUI/Example_Workflows/How_to_use_additionalParameters.png
  • Help.json
    • Updated to reflect changes detailed above.

9/28/2024 @12:03pm PST Version 1.21.16

  • Update to Advanced Prompt Enhancer, bug fix user-entered models are now in the opt_models.txt file:
    • The file: optional_models.txt was being overwritten when updating the installation using the ComfyUI Manager, although it stayed intact when being updated by a standard git pull. Since most people update using the manager, I've decided to use an untracked file: opt_models.txt that will now hold your user-entered model names.
    • The new file opt_models.txt in the /Plush-for-ComfyUI directory is created during first startup after updating or installing the Plush node suite. It will not appear until after your first restarted of ComfyUI.
    • The new file

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythonanthropicanthropic-claudechatgptcomfyui

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.