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

# LumaImageNode - ComfyUI Built-in Node Documentation

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

基于提示词和宽高比同步生成图像。此节点使用文本描述创建图像，并允许通过各种参考输入来控制图像尺寸和风格。

## 输入参数

| 参数名        | 数据类型      | 必填 | 取值范围                     | 描述                                      |
| ---------- | --------- | -- | ------------------------ | --------------------------------------- |
| `提示词`      | STRING    | 是  | -                        | 图像生成的提示词（默认：空字符串）                       |
| `模型`       | COMBO     | 是  | 多个可用选项                   | 用于图像生成的模型选择                             |
| `宽高比`      | COMBO     | 是  | 多个可用选项                   | 生成图像的宽高比（默认：16:9比例）                     |
| `种子`       | INT       | 是  | 0 到 18446744073709551615 | 确定节点是否应重新运行的种子；无论种子如何，实际结果都是非确定性的（默认：0） |
| `风格图权重`    | FLOAT     | 否  | 0.0 到 1.0                | 风格图像的权重。如果未提供style\_image则忽略（默认：1.0）    |
| `Luma 参考图` | LUMA\_REF | 否  | -                        | Luma参考节点连接，通过输入图像影响生成；最多可考虑4张图像         |
| `风格参考图`    | IMAGE     | 否  | -                        | 风格参考图像；仅使用1张图像                          |
| `角色参考图`    | IMAGE     | 否  | -                        | 角色参考图像；可以是多张图像的批次，最多可考虑4张图像             |

**参数约束：**

* `image_luma_ref` 参数最多可接受4张参考图像
* `character_image` 参数最多可接受4张角色参考图像
* `style_image` 参数仅接受1张风格参考图像
* `style_image_weight` 参数仅在提供 `style_image` 时使用

## 输出参数

| 输出名称     | 数据类型  | 描述          |
| -------- | ----- | ----------- |
| `output` | IMAGE | 基于输入参数生成的图像 |
