comfy_download_model
Download a model from a URL into ComfyUI's models folder. Supports HuggingFace and CivitAI, including gated downloads via API token.
Instructions
Download a model via comfy model download --url ... --relative-path models/<folder>.
Args:
url: Direct download URL (HuggingFace, CivitAI, etc.). For
CivitAI links, also pass civitai_api_token.
folder: Subfolder under models/. Common values: checkpoints, loras,
vae, diffusion_models, text_encoders, controlnet, upscale_models.
civitai_api_token: Optional CivitAI API token for gated downloads.
workspace: Optional --workspace path.
confirm: Explicitly confirm the network download and filesystem write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| folder | No | checkpoints | |
| confirm | No | ||
| workspace | No | ||
| civitai_api_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |