> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ModelSave - ComfyUI Built-in Node Documentation

> Complete documentation for the ModelSave node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ModelSave/zh.md)

## 概述

ModelSave 节点可将训练或修改后的模型保存至计算机存储设备。该节点接收模型作为输入，并将其写入到用户指定文件名的文件中。通过此功能，您能够保存工作成果并在未来项目中重复使用这些模型。

## 输入

| 参数              | 数据类型           | 必填 | 取值范围 | 描述                                               |
| --------------- | -------------- | -- | ---- | ------------------------------------------------ |
| `模型`            | MODEL          | 是  | -    | 需要保存到磁盘的模型                                       |
| `文件名前缀`         | STRING         | 是  | -    | 保存模型文件的文件名和路径前缀（默认值："diffusion\_models/ComfyUI"） |
| `prompt`        | PROMPT         | 否  | -    | 工作流提示信息（自动提供）                                    |
| `extra_pnginfo` | EXTRA\_PNGINFO | 否  | -    | 额外的工作流元数据（自动提供）                                  |

## 输出

| 输出名称 | 数据类型 | 描述          |
| ---- | ---- | ----------- |
| *无*  | -    | 该节点不返回任何输出值 |
