floyo logo
Powered by
ThinkDiffusion
Pricing
Wan 2.7 is now live. Check it out 👉🏼
floyo logo
Powered by
ThinkDiffusion
Pricing
Wan 2.7 is now live. Check it out 👉🏼
Last updated
2025-10-02

ComfyUI Custom Nodes: OpenRouter & Ollama is a set of specialized nodes designed for integration with the OpenRouter and Ollama APIs within the ComfyUI framework. This tool enhances the functionality of ComfyUI by allowing users to execute text and multimodal chat completions.

  • Provides four distinct nodes for different types of chat completions: text-only and multimodal (text + image) for both OpenRouter and Ollama.
  • Includes experimental versions of nodes that support advanced parameters like max_tokens, temperature, and top_p for fine-tuning responses.
  • Simplifies API integration by allowing users to input necessary credentials and parameters directly into the nodes for seamless operation.

Context

This toolset comprises custom nodes specifically tailored for ComfyUI, facilitating interactions with the OpenRouter and Ollama APIs. The primary purpose is to enrich the capabilities of ComfyUI by enabling users to perform text and multimodal chat completions efficiently.

Key Features & Benefits

The tool features four main nodes: OpenRouterNode and OllamaNode for text completions, as well as OpenRouterVisionNode and OllamaVisionNode for multimodal completions that incorporate images. This versatility allows users to select the appropriate node based on their specific needs, enhancing the user experience and expanding the creative possibilities within ComfyUI.

Advanced Functionalities

The experimental nodes offer additional parameters such as max_tokens, temperature, and top_p, which allow users to customize the behavior of the chat completions. For instance, temperature controls the randomness of responses, while top_p influences the diversity of generated content, providing users with greater control over the output.

Practical Benefits

By integrating these custom nodes, users can streamline their workflows, gain more control over the content generation process, and improve the overall quality of outputs in ComfyUI. This integration not only enhances efficiency but also allows for more creative and complex interactions with AI-generated content.

Credits/Acknowledgments

The repository was created by the original authors and contributors listed in the GitHub repository. The project is open-source, allowing for community contributions and improvements.

Inner Nodes

OpenRouterNode