← See All Custom Node Packs

Inspire Pack

791
By Dr.Lt.Data
Updated 7 months ago
View on GitHub →See Common Issues →

Run ComfyUI Easily with InstaSD

Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:

  • One-click deployment
  • Any model, any node
  • Powerful GPUs for rapid iteration
Get Started

This extension provides various nodes to support Lora Block Weight, Regional Nodes, Backend Cache, Prompt Utils, List Utils and the Impact Pack.

Available Nodes

IPAdapterModelHelper //Inspire

IPAdapter Model Helper (Inspire) Node Documentation

Overview

The IPAdapter Model Helper (Inspire) node is a component of the ComfyUI-Inspire-Pack, designed to facilitate the loading and use of IPAdapter-related models. Its primary function is to simplify the process of integrating various models—including IPAdapter, CLIP Vision, and InsightFace—into a ComfyUI workflow, using preset configurations for different scenarios. This node streamlines the management of complex model setups and ensures compatibility with IPAdapter's functionalities.

Inputs

The IPAdapter Model Helper (Inspire) node accepts the following inputs:

  • Model: This input requires a model to be specified. The node operates using the context of the provided model.
  • Preset: Select from a list of available model presets like "SD1.5", "SDXL", "Kolors Plus", etc. These presets help in loading predefined configurations of IPAdapter, CLIP Vision, and InsightFace models.
  • Lora Strength Model: A float value indicating the strength of the Lora model applied to the main model, ranging from -20.0 to 20.0.
  • Lora Strength Clip: A float value for setting the strength of the Lora model applied to the CLIP Vision, within the range of -20.0 to 20.0.
  • Insightface Provider: Choose the platform for running the InsightFace model from options like "CPU", "CUDA", and "ROCM".
  • Cache Mode: Determines caching preferences with options like "insightface only", "clip_vision only", "all", and "none".
  • Clip (Optional): Provides a pre-loaded CLIP model if available.
  • Insightface Model Name (Optional): Select between available InsightFace models such as 'buffalo_l', 'antelopev2'.

Outputs

The node generates the following outputs:

  1. IPADAPTER_PIPE: A combined output including essential components for applying IPAdapter models effectively.
  2. IPADAPTER: The loaded IPAdapter model based on the selected preset.
  3. CLIP_VISION: The configured CLIP Vision model, tailored according to the preset.
  4. INSIGHTFACE: The prepared InsightFace model, if applicable based on the preset.
  5. MODEL: The modified model after applying the Lora configurations.
  6. CLIP: The adjusted CLIP model reflecting any Lora and cache settings.
  7. Insightface Cache Key: A string representing the cache key used for caching the InsightFace model.
  8. Clip Vision Cache Key: A string for the cache key employed in caching the CLIP Vision model.

Use in ComfyUI Workflows

The IPAdapter Model Helper (Inspire) node is crucial in workflows that necessitate the usage of various model components like IPAdapter, CLIP Vision, and InsightFace. By leveraging this node, users can:

  • Quickly set up complex model configurations with minimal manual adjustments.
  • Utilize preset configurations to ensure compatibility and performance across different models.
  • Dynamically apply Lora models to both main and CLIP Vision models, enhancing the flexibility and control within workflows.
  • Efficiently manage caching to optimize inference speed and resource usage, helpful in iterative and large-scale processing tasks.

Special Features and Considerations

  • Preset Flexibility: This node presents a range of presets that cater to different requirements, from basic SD1.5 setups to advanced configurations involving SDXL and specialized models like those for FaceID.
  • Lora Application: Apply Lora models with user-defined strengths, giving users the ability to fine-tune the influence these models have on the outputs.
  • Caching Mechanisms: Implement caching to streamline the utilization of heavy models, reducing the load time and promoting efficient resource use.
  • Cross-Model Compatibility: Ensure compatibility between SDXL and SD1.5, preventing configuration errors through preset-specific safeguards.

This node is a vital tool for anyone looking to utilize IPAdapter models in their ComfyUI workflows, providing the necessary tools and configurations to seamlessly manage and integrate complex models.