ComfyUI > Nodes > ComfyUI OpenRouter Node

ComfyUI Extension: ComfyUI OpenRouter Node

Repo Name

ComfyUI-Openrouter_node

Author
gabe-init (Account age: 322 days)
Nodes
View all nodes(1)
Latest Updated
2026-04-08
Github Stars
0.05K

How to Install ComfyUI OpenRouter Node

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

ComfyUI OpenRouter Node is a custom node for ComfyUI enabling interaction with OpenRouter's chat/completion API, granting access to diverse models for enhanced functionality.

ComfyUI-Openrouter_node Introduction

The ComfyUI-Openrouter_node is a powerful extension designed to enhance your experience with ComfyUI by allowing seamless interaction with OpenRouter's API. This extension provides access to a wide array of models, enabling you to perform tasks such as text generation, image understanding, and more. Whether you're an AI artist looking to generate creative content or someone interested in exploring the capabilities of language models, this extension offers a user-friendly interface to harness the power of advanced AI models. By integrating with OpenRouter, it solves the problem of accessing multiple models through a single platform, making it easier for you to experiment and create without needing extensive technical knowledge.

How ComfyUI-Openrouter_node Works

At its core, the ComfyUI-Openrouter_node functions as a bridge between ComfyUI and OpenRouter's API. Imagine it as a translator that takes your inputs—like text prompts or images—and communicates them to sophisticated AI models hosted on OpenRouter. These models then process your inputs and return outputs, such as generated text or analyzed images, which the node presents back to you. This process is akin to having a conversation with a knowledgeable assistant who can understand and respond to a variety of requests, from generating creative writing to analyzing visual content.

ComfyUI-Openrouter_node Features

  • Access to Multiple Models: You can choose from a variety of models available on OpenRouter, each suited for different tasks, ensuring you have the right tool for your creative needs.
  • Support for Multiple Image Inputs: The node supports up to 10 image inputs, allowing you to work with multimodal models that can process multiple images simultaneously.
  • Image Generation: With models like google/gemini-2.5-flash-image-preview (Nano-Banana), you can generate images based on textual descriptions, opening up new avenues for artistic expression.
  • Dynamic Image Input Visibility: As you connect images, additional inputs appear, making it easy to manage multiple images without clutter.
  • PDF and Web Search Support: You can input PDF documents for analysis and enable web search capabilities to enhance the context of your queries.
  • Routing Options: Choose between cost-effective, fastest, or web search-enabled routes to optimize your experience based on your priorities.
  • Chat Mode: Maintain conversation context across multiple messages, allowing for more coherent and natural interactions with language models.

ComfyUI-Openrouter_node Models

The extension provides access to a variety of models, each designed for specific tasks. For instance, text generation models like "openai/gpt-4" are ideal for creating written content, while multimodal models like "openai/gpt-4-vision" can handle both text and image inputs. When generating images, models such as "google/gemini-2.5-flash-image-preview" are recommended. Selecting the right model depends on your specific needs, whether it's generating text, analyzing images, or a combination of both.

What's New with ComfyUI-Openrouter_node

Recent updates have introduced several enhancements:

  • Image Support for Nano-Banana: Added support for image generation with the Nano-Banana model, expanding your creative possibilities.
  • Chat Mode: A new feature that allows you to store conversation context, enabling more interactive and meaningful dialogues with language models. These updates are designed to improve your workflow and provide more tools for creative exploration.

Troubleshooting ComfyUI-Openrouter_node

Here are some common issues and solutions:

  • Model List Not Loading: Ensure your internet connection is stable and that your OpenRouter API key is correctly entered.
  • Error in Response: Check the error message for details. It could be due to an invalid API key or model unavailability.
  • Slow Responses: Consider enabling the "fastest" routing option to prioritize speed.
  • Token Counting Issues: The node uses tiktoken for token counting. If issues arise, it defaults to an estimation method.

Learn More about ComfyUI-Openrouter_node

To further explore the capabilities of ComfyUI-Openrouter_node, consider visiting community forums or accessing additional documentation. Engaging with other AI artists can provide valuable insights and tips for maximizing the potential of this extension. For displaying output text, you can use the ShowText nodes from ComfyUI-Custom-Scripts, which offer a straightforward way to visualize text outputs within your workflow.

ComfyUI OpenRouter Node 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 OpenRouter Node detailed guide | ComfyUI