Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > comfyui-mdsnodes

ComfyUI Extension: comfyui-mdsnodes

Repo Name

comfyui-mdsnodes

Author
marwandsai (Account age: 0 days)
Nodes
View all nodes(1)
Latest Updated
2026-11-03
Github Stars
0.0K

How to Install comfyui-mdsnodes

Install this extension via the ComfyUI Manager by searching for comfyui-mdsnodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui-mdsnodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

comfyui-mdsnodes Description

comfyui-mdsnodes adds custom ComfyUI nodes to select and load models, centralize generation settings, switch and route inputs, edit prompt text, and carry metadata through image-generation workflows.

comfyui-mdsnodes Introduction

comfyui-mdsnodes is a collection of custom nodes for building and organizing image-generation workflows in ComfyUI. The author built these nodes to support The Ultimate Model Tester Workflow, but you can also use individual nodes in your own workflows.

The collection helps with tasks that can otherwise make a workflow difficult to manage: selecting models, sharing settings across different parts of a graph, switching between inputs, working with text, and carrying generation details as metadata. For example, you can use a parameter hub to route sampling settings to other nodes, or a switch to choose between two prompts without reconnecting your workflow.

How comfyui-mdsnodes Works

A ComfyUI workflow passes information from one node to the next through connections. comfyui-mdsnodes adds nodes that help you choose, convert, combine, and route that information.

Think of a large workflow as a studio with several workstations. A parameter hub acts like a control desk: you set values such as steps, CFG, sampler, scheduler, and denoise in one place, then send them where they are needed. A switch acts like a two-way selector, choosing which of two inputs continues through the workflow. Text and metadata nodes act like labels and notes, helping you assemble prompts or keep track of generation details.

Some nodes work with model names, while others load models and pass along the components needed by later nodes. This distinction matters: sending a filename to another node is not the same as loading the model itself.

comfyui-mdsnodes Features

Images and model selection

  • Load Image (With Path) loads an image and provides the decoded image and mask, along with its filename, full path, and directory. The path outputs can help when another part of your workflow needs to know where the source image came from.
  • Top Upscale Models Selector (Auto-DL) lets you select supported upscaling models, including examples such as 4x-UltraSharp and 4xRealWebPhoto. If a selected file is missing, the node can download it when the workflow is queued.
  • ControlNet Select selects a ControlNet model and outputs its filename in two connection formats: a standard string and a wildcard/combo connection.
  • Select Diffusion Model selects a UNET/diffusion model and exposes its filename as both CKPT_NAME and UNET_NAME. This is useful when different downstream nodes expect different name inputs.
  • UNet Name to CKPT Name passes a UNET model filename to nodes that expect a CKPT_NAME input, such as rgthree context nodes. It changes how the name is routed; it does not convert the model file.

Parameter hubs

  • Central parameter hub brings common generation settings together: checkpoint, steps, refiner steps, CFG, sampler algorithm, scheduler curve, and denoise. It is useful when you want several parts of a workflow to receive settings from one central place.

    <img src="images/Node_Central parameter hub.png" alt="Central parameter hub node" width="250">

  • Load Checkpoint Hub Pro and Load Diffusion Model Hub Pro combine model loading with parameter routing. They pass along MODEL, CLIP, and VAE, as well as steps, refiner steps, CFG, sampler, scheduler, denoise, positive and negative prompts, and metadata. They also add the model’s AutoV2 hash, used by Civitai, to the metadata.

    <img src="images/Node_LoadCheckpointHubPro.png" alt="Load Checkpoint Hub Pro node" width="250">

Use a central hub when you mainly need to distribute settings. Use one of the Hub Pro nodes when you also want the hub to load a checkpoint or diffusion model and route its components.

Text and value tools

  • Merge Two Strings joins two text inputs. You can add a delimiter between them when both contain text; missing or None inputs are treated as empty.

  • Convert to String turns incoming data into standard text so it can be passed to nodes expecting a string.

  • String Replace and String Replace (Multiple) perform one or up to eight sequential search-and-replace operations. They can help you reuse a prompt template while changing selected words or phrases.

    <img src="images/Node_MarStrReplaceMultiple.png" alt="String Replace (Multiple) node" width="250">

  • Text (Multiline) Dual gives you two separate multiline text boxes and outputs both strings. You might use them to keep two longer pieces of text available in one place.

  • String Selector by Key (8 Strings) returns a value associated with a matching key from up to eight key/value slots. This can help you select a saved piece of text by name.

    <img src="images/Node_MarKeyValueSelector8.png" alt="String Selector by Key (8 Strings) node" width="250">

  • Ratio Combobox offers percentage presets of 10%, 25%, 50%, and 100%, then outputs the chosen value as a decimal FLOAT. For example, choosing 50% outputs 0.5. This is helpful when a downstream input expects a decimal rather than a percentage label.

Metadata tools

In this collection, metadata is text made up of keys and values, such as Key1 [Value1]; Key2 [Value2];. You can use it to carry structured details through a workflow.

  • MetaData Append adds a key and value.
  • MetaData Remove removes a key.
  • MetaData Extract retrieves the value associated with a specified key.
  • MetaData Convert to EXTRA_METADATA converts the collection’s metadata text into the mapping format expected by EXTRA_METADATA.
  • MetaData Append (Switch) chooses a value using a toggle before appending it. It skips the entry if the selected value is empty.
  • MetaData Check Key & Value checks whether a particular key/value pair is present.

For example, you could append a label for a workflow variation, then extract that label later where another node needs it.

Switches and constants

Switch nodes choose between two inputs using a boolean toggle. The collection includes Integer Switch, String Switch, String Switch (Multiline), Float Switch (2 decimal), and Model Switch. Choose the switch that matches the kind of information you are routing. A multiline string switch, for instance, is suited to choosing between longer prompts; a model switch routes between model pipelines.

Constant and parameter nodes provide convenient values to connect elsewhere in a workflow. They include Integer, Float (No Dec), Float (1 Dec), Float (2 Dec), and controls for Guide Size, Denoise, Feather Radius, and BBox Crop Factor. The float variants let you choose how many decimal places you need: a whole-number value for Float (No Dec), or finer adjustments with the one- and two-decimal versions.

comfyui-mdsnodes Models

comfyui-mdsnodes provides nodes for selecting or loading models; the provided documentation does not describe a separate set of models bundled with the extension.

  • Choose Top Upscale Models Selector (Auto-DL) when your workflow needs one of its supported upscaling models. The documented examples are 4x-UltraSharp and 4xRealWebPhoto; the best choice depends on the image and the look you want.
  • Choose ControlNet Select when another node needs the filename of a selected ControlNet model.
  • Choose Select Diffusion Model when you need to pass a selected UNET/diffusion model’s filename to nodes expecting UNET_NAME or CKPT_NAME.
  • Choose Load Checkpoint Hub Pro or Load Diffusion Model Hub Pro when you need to load a model and route its components alongside your generation settings.

The supplied information does not specify the full list of selectable models or compare their visual results. Your available choices will depend on the models present in your ComfyUI setup and, for the auto-download selector, the models that node supports.

Troubleshooting comfyui-mdsnodes

A connected node does not accept the value I am sending. What should I check?

  1. Check what kind of input the receiving node expects: for example, a model component, a filename, a string, an integer, or a float.
  2. Check what the comfyui-mdsnodes node actually outputs. Select Diffusion Model sends a filename; the Hub Pro nodes load and route model components.
  3. If a node expects CKPT_NAME but you have a UNET filename, try UNet Name to CKPT Name for that name connection.
  4. If a node expects text, Convert to String may help convert the incoming value.

Why does Ratio Combobox output 0.5 when I choose 50%?
It expresses percentages as decimal float values. In the same way, 10% becomes 0.1 and 100% becomes 1.0. Check whether the receiving node expects a decimal value before connecting it.

Why did Merge Two Strings omit the delimiter?
The optional delimiter is used when both strings contain text. If one input is empty or missing, the node treats it as empty rather than adding a separator by itself.

Why is my metadata value missing?

  1. Check that the key you are extracting is the same key you appended.
  2. If you used MetaData Append (Switch), check which value the toggle selected.
  3. Check whether that selected value was empty; the switch version skips empty values.
  4. If the next node expects EXTRA_METADATA, use MetaData Convert to EXTRA_METADATA to produce that format.

Will selecting a diffusion model filename load the model?
No. Select Diffusion Model routes the selected filename. Use an appropriate model-loading node, such as Load Diffusion Model Hub Pro, when your workflow needs the loaded model components.

Learn More about comfyui-mdsnodes

  • The Ultimate Model Tester Workflow on Civitai is the workflow the author built these nodes to support. It is a useful starting point for seeing how the collection fits into a larger model-testing setup.
  • The node images above show what several controls look like in ComfyUI, including the parameter hub, checkpoint hub, multiple string replacements, and key-based string selection.

comfyui-mdsnodes Related Nodes

RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

comfyui-mdsnodes detailed guide | ComfyUI