> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# MiniMax H3 图像 - ComfyUI Built-in Node Documentation

> 从文本使用 MiniMax H3 Image 生成图像，或编辑并组合最多 16 张参考图像。

从文本使用 MiniMax H3 Image 生成图像，或编辑并组合最多 16 张参考图像。提示词按连接顺序以 `@Image1`、`@Image2` 等方式引用参考图像。

## 输入

| 参数 | 描述 | 数据类型 | 必填 | 范围 |
| - | - | - | - | - |
| `model` | 使用 `MiniMax-H3-Image`，或使用 `MiniMax-H3-Image-Highspeed` 以获得更快的运行速度。默认：`"MiniMax-H3-Image"`。 | COMBO | 是 | `"MiniMax-H3-Image"` `"MiniMax-H3-Image-Highspeed"` |
| `prompt` | 要生成的内容，或如何编辑参考图像。连接参考图像时，最多 8,000 个字符。默认：空。 | STRING | 是 | 1 到 8000 个字符 |
| `size` | `2K` 和 `4K` 根据宽高比推导尺寸；`custom` 设置精确的宽度和高度。默认：`"2K"`。 | DYNAMIC\_COMBO | 是 | `"2K"` `"4K"` `"custom"` |
| `enhance_prompt` | MiniMax 会在生成前将提示词改写为详细的场景描述。图像编辑始终会启用增强。关闭时，请选择固定的宽高比或自定义尺寸。默认：true。 | BOOLEAN | 否 | true false |
| `seed` | 控制节点是否重新运行；但无论种子为何，结果都是非确定性的。默认：42。 | INT | 否 | 0 到 2147483647 |
| `images` | 要编辑或组合的参考图像，在提示词中按连接顺序以 `@Image1` 到 `@Image16` 引用。 | AUTOGROW | 否 | 最多 16 张图像 |

### 尺寸 "2K" 和 "4K" 输入

| 参数 | 描述 | 数据类型 | 必填 | 范围 |
| - | - | - | - | - |
| `aspect_ratio` | 使用 `auto` 时，MiniMax 会从提示词中选取比例，或在连接了参考图像时跟随该参考图像。关闭 `enhance_prompt` 的文生图需要固定比例。默认：`"auto"`。 | COMBO | 是 | 提供多个选项 |

### 尺寸 "custom" 输入

| 参数 | 描述 | 数据类型 | 必填 | 范围 |
| - | - | - | - | - |
| `width` | 输出宽度（像素）。默认：2048。 | INT | 是 | 512 到 7680（步长：16） |
| `height` | 输出高度（像素）。默认：2048。 | INT | 是 | 512 到 7680（步长：16） |

注意：对于自定义尺寸，宽度乘以高度必须介于 655,360 和 20,000,000 像素之间，且宽高比最大为 3:1。

## 输出

| 输出名 | 描述 | 数据类型 |
| - | - | - |
| `image` | 生成或编辑后的图像，PNG 格式。 | IMAGE |
| `revised_prompt` | 启用提示词增强时，MiniMax 实际使用的改写后提示词。 | STRING |

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

***

**Source fingerprint (SHA-256):** `723eb4c2d3b303ece041f98bd5b773c669affb9a7b3da0c08ffcac4ee89f8e11`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.