> ## Content Index
> Fetch the complete content index at: https://www.hubwiz.com/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# ComfyUI-Pollinations免费文生图
- URL: https://www.hubwiz.com/blog/comfyui-pollinations-tex-to-image-generation-for-free/
- Published: 2025-01-14T15:48:57.000Z
- Updated: 2025-01-14T15:51:50.000Z
- Description: ComgyUI-Pollications自定义节点允许你在 ComfyUI 工作流中直接使用 Pollinations 的强大 AI 模型生成图像。无需自己下载模型，也无需 API 密钥。
- Author: admin
- Tags: TOOL, COMFYUI, COMFYUI-POLLINATIONS, TEXT-TO-IMAGE, #Import 2026-10-14 14:41

[ComgyUI-Pollications](https://github.com/ciga2011/ComfyUI-Pollinations?ref=hubwiz.com)自定义节点允许你在 ComfyUI 工作流中直接使用 Pollinations 的强大 AI 模型生成图像。无需自己下载模型，也无需 API 密钥。

## 1、功能

**文本到图像生成**: 使用 Pollinations 的 AI 模型从文本提示生成图像。

- **可定制参数**:
- **模型选择**: 从多个 AI 模型中选择（例如 flux、flux-realism、flux-anime 等）。
- **图像尺寸**: 设置生成图像的宽度和高度。
- **种子控制**: 使用特定种子以获得可重复的结果。
- **其他选项**: 启用/禁用徽标、增强图像质量并设置私有模式。
- **无缝集成**: 将生成的图像输出为 PyTorch 张量，与其他 ComfyUI 节点兼容。

## 2、安装

下载节点:

- 从[此仓库](https://github.com/ciga2011/ComfyUI-Pollinations?ref=hubwiz.com)克隆或下载 ComfyUI-Pollinations 文件夹。
- 将文件夹放置在 ComfyUI 安装的 custom\_nodes 目录中:

```
ComfyUI/
└── custom_nodes/
    └── ComfyUI-Pollinations/
        └── __init__.py

```

- 重启 ComfyUI: 重启 ComfyUI 以加载新节点。
- 验证安装: 打开 ComfyUI 并检查节点列表中是否提供了 `Pollinations Free Image Generator` 节点。

## 3、使用

添加节点:

- 在 ComfyUI 中搜索 `Pollinations Free Image Generator` 节点并将其添加到你的工作流中。

配置输入:

- `Prompt` ：提示。 输入文本提示（例如，“一个未来主义的城市景观”）。
- `Model` ：模型。从下拉菜单中选择一个 AI 模型。
- `Width/Height` ：宽度/高度。设置生成图像的尺寸。
- `Seed` ：种子。可选地，设置种子以获得可重复的结果。
- 其他选项: 切换其他选项，如 `nologo`、 `enhance` 和 `private`。

运行工作流:

- 将 `Pollinations Free Image Generator` 节点的输出连接到图像显示或保存节点。
- 执行工作流程以生成并查看图像。

## 4、示例工作流

以下是如何在 ComfyUI 工作流程中使用 `Pollinations Free Image Generator` 节点的示例:

![](https://www.hubwiz.com/blog/content/images/2025/01/image-231.png)

a) 添加 Pollinations Free Image Generator 节点。

b) 配置输入:

- 提示: `a futuristic cityscape`
- 模型: flux
- 宽度: 900
- 高度: 600
- 选项: 启用 nologo、enhance 和 private。

c) 将输出连接到图像显示节点。

d) 运行工作流程以生成图像。

## 5、节点参数

输入:

a) `Prompt` ：提示。描述你要生成的图像的文本提示。

b) `Model` ：模型。用于图像生成的 AI 模型。选项包括:

- flux
- flux-realism
- flux-anime
- flux-3d
- any-dark
- flux-pro
- turbo

c) `Width` ：宽度。生成图像的宽度（默认: 900）。

d) `Height` ：高度。生成图像的高度（默认: 600）。

f) `Seed` ：种子。用于可重复结果的种子值（默认: 随机）。

g) 其他选项:

- `nologo`: 禁用生成图像中的 Pollinations 徽标（默认: True）。
- `enhance`: 增强图像质量（默认: True）。
- `private`: 启用私有模式（默认: True）。

输出:

- IMAGE: 生成的图像，为 PyTorch 张量。

---

原文链接：[ComfyUI-Pollinations - Generate Images for Free！](https://github.com/ciga2011/ComfyUI-Pollinations?ref=hubwiz.com)

汇智网翻译整理，转载请标明出处