> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-mintlify-b90d3c69.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/en.md)

ModelSave 节点将训练或修改后的模型保存到计算机存储中。它接收一个模型作为输入，并将其写入指定文件名的文件中。这使您可以保留工作成果，并在未来项目中重复使用模型。

## 输入

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

## 输出

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

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

***

**Source fingerprint (SHA-256):** `1dda8a6d85aa19b739c1fe3e6e7f816e05011044fc8b0b91b23fa303f71d8b19`
