search_models
Search HuggingFace Hub for ComfyUI-compatible models including checkpoints, LoRAs, VAEs, and ControlNets. Returns ranked list with model ID, author, downloads, likes, and tags to select a model for download.
Instructions
Search HuggingFace Hub for models usable in ComfyUI (checkpoints, LoRAs, VAEs, ControlNets, etc.). Read-only and network-only: queries HuggingFace over HTTP, does NOT require a running ComfyUI or COMFYUI_PATH and does not download anything. Returns a ranked list with modelId, author, downloads, likes, and tags. Pick a result's download URL and pass it to download_model to install it locally. For CIVITAI searches ('find a Flux LoRA on Civitai') use search_civitai_models instead — it filters by type + base model and returns ids for download_civitai_model. For packs of custom nodes (not models) use search_custom_nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return (default 10) | |
| query | Yes | Search query (e.g. 'SDXL', 'flux', 'controlnet') | |
| filter | No | Optional HuggingFace pipeline/library tag to narrow results, e.g. 'diffusers' or 'text-to-image' |