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-yaser-nodes

ComfyUI Extension: comfyui-yaser-nodes

Repo Name

comfyui-yaser-nodes

Author
yaserjaradeh (Account age: 4398 days)
Nodes
View all nodes(1)
Latest Updated
2025-10-17
Github Stars
0.01K

How to Install comfyui-yaser-nodes

Install this extension via the ComfyUI Manager by searching for comfyui-yaser-nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui-yaser-nodes 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-yaser-nodes Description

comfyui-yaser-nodes lets ComfyUI workflows switch between connected text, image, or latent inputs and upscale images with scale-specific models using memory-efficient tiles that shrink when GPU memory runs low.

comfyui-yaser-nodes Introduction

comfyui-yaser-nodes is a collection of custom nodes for ComfyUI. It helps you do two things in an image-making workflow: choose which connected input moves to the next step, and upscale an image using a model chosen for your desired scale.

The Conditional Selection Node is useful when you want to try several prompts, images, or other inputs without rebuilding the rest of your workflow. The Iterative Upscale with Models Node gives you a place to choose an upscale factor and connect models for different scales. It uses ComfyUI’s tiled scaling to manage memory and can reduce tile size automatically if GPU memory runs short.

How comfyui-yaser-nodes Works

A ComfyUI workflow passes information between nodes through cables. Think of the Conditional Selection Node as a switch: you connect several possible inputs, then set selection_index to decide which one passes through. The count starts at 0, so an index of 0 selects the first connected input, 1 selects the second, and so on. As you connect inputs, the node adds more slots for additional choices.

The upscaling node works with an image and connected upscale models. You choose a scale factor from 1, 2, 4, or 8, and the node uses the corresponding model input. Tiled scaling processes the image in smaller pieces to use memory more efficiently. If there is not enough GPU memory, the node attempts to continue with smaller tiles.

comfyui-yaser-nodes Features

Conditional Selection Node

Search for Conditional Selection Node in ComfyUI’s node menu. Connect your first option, then use the new input slots that appear as you connect more cables. Set selection_index to the option you want at the output.

The node supports ComfyUI data types such as images, latents, and text. For example, you could connect an original image and an edited image, then change the index to compare how each one behaves in the same downstream workflow. You could also connect different prompt options and switch between them without rewiring the later nodes.

Keep track of the input order when changing the index: the number identifies a slot, not the content or name of the connected item.

Iterative Upscale with Models Node

Search for Iterative Upscale with Models Node in the node menu. Connect the image to image, and connect upscale models to the scale-specific inputs: model1x, model2x, model4x, and model8x. Then choose 1, 2, 4, or 8 from the scale-factor dropdown.

Use a model intended for the selected factor when possible. For example, connect a 4x model to model4x when planning a 4x upscale. The original readme notes one important exception: when you select 1x, you can use any model, and the output follows that model’s native scale. Do not assume the result will remain at the original image dimensions.

The node uses ComfyUI’s tiled scaling for memory efficiency and automatically reduces tile size if GPU memory is insufficient. That can help with larger images, though an upscale may still fail if the image or model requires more memory than your system has available.

comfyui-yaser-nodes Models

The extension does not list or provide named upscale models in the supplied documentation. Instead, it accepts models you have loaded in ComfyUI through its four model inputs:

InputIntended use
model1xModel input used when you select 1x; the output follows the connected model’s native scale.
model2xModel intended for a 2x upscale.
model4xModel intended for a 4x upscale.
model8xModel intended for an 8x upscale.

Choose models that match their intended scale factor for the best results. Your upscale models should be available in ComfyUI’s models/upscale_models/ directory.

Troubleshooting comfyui-yaser-nodes

The nodes do not appear in the menu

  1. Restart ComfyUI completely, then search for the node names again.
  2. Check that the extension folder is inside ComfyUI’s custom_nodes directory.
  3. Check that the extension files are present and have not been corrupted.
  4. Look at the ComfyUI console for an error message that may explain why the nodes did not load.

New input slots do not appear

  1. Connect a cable to an existing slot on the Conditional Selection Node. New slots appear as inputs are connected.
  2. Check that the extension’s web directory and JavaScript file are present.
  3. Clear your browser cache and reload ComfyUI.
  4. If the problem continues, check that ComfyUI is serving the extension’s web files.

Upscaling fails or runs out of memory

  1. Check that the connected upscale model is compatible with ComfyUI and is in a supported format such as .pth or .safetensors.
  2. Confirm that the model is available in ComfyUI’s models/upscale_models/ directory.
  3. Try a smaller input image if you see an out-of-memory error. The node can reduce tile size automatically, but that may not resolve every memory shortage.
  4. Close other applications using your GPU and try again.

Frequently asked questions

Can I use the Conditional Selection Node with text instead of images?
Yes. The original documentation says it supports ComfyUI data types including text, images, and latents.

Why does selection_index start at 0?
The node uses zero-based numbering: 0 means the first input, 1 means the second, and so forth.

Does the extension include upscale models?
No models are listed in the supplied documentation. The upscaling node is designed to use models loaded in ComfyUI and connected to its model inputs.

Will selecting 1x keep my image at its original size?
Not necessarily. According to the original readme, the output at 1x follows the connected model’s native scale.

Learn More about comfyui-yaser-nodes

  • ComfyUI: Learn more about the node-based application in which this extension runs.
  • comfyui-yaser-nodes repository: Review the extension’s source and documentation. For a reproducible problem, you can open a GitHub issue with your ComfyUI version, the steps that led to the issue, relevant screenshots, and any console error messages.

comfyui-yaser-nodes 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-yaser-nodes detailed guide | ComfyUI