> ## 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.

# RecraftCreateStyleNode - ComfyUI Built-in Node Documentation

> Complete documentation for the RecraftCreateStyleNode 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/RecraftCreateStyleNode/zh.md)

此节点通过上传参考图像来创建用于图像生成的自定义风格。您可以上传1到5张图像来定义新风格，节点将返回一个唯一的风格ID，可用于其他Recraft节点。所有上传图像的总文件大小不得超过5 MB。

## 输入参数

| 参数       | 数据类型   | 必填 | 取值范围                                              | 描述                    |
| -------- | ------ | -- | ------------------------------------------------- | --------------------- |
| `style`  | STRING | 是  | `"realistic_image"`<br />`"digital_illustration"` | 生成图像的基础风格。            |
| `images` | IMAGE  | 是  | 1 到 5 张图像                                         | 用于创建自定义风格的1到5张参考图像集合。 |

**注意：** `images` 输入中所有图像的总文件大小必须小于5 MB。如果超过此限制，节点将执行失败。

## 输出结果

| 输出名称       | 数据类型   | 描述               |
| ---------- | ------ | ---------------- |
| `style_id` | STRING | 新创建的自定义风格的唯一标识符。 |
