ai-image-generation 是什么?
Generate and edit images on RunComfy via the runcomfy CLI — a smart router across the full image-model catalog: FLUX 2 (Klein 9B/4B, Pro, Dev, Flash, Turbo, Max), Google Nano Banana 2 / Pro, OpenAI GPT Image 2, ByteDance Seedream 5 / 4-5 / 4-0 and Dreamina 4-0, Alibaba Qwen Image and Z-Image Turbo, Wan 2-7. Covers both text-to-image (t2i) and image-to-image / edit (i2i) endpoints — the skill picks the right model for the user's actual intent (typography precision, photoreal portraits, sub-second iteration, multi-reference brand styling, open-weights workflow) and ships each model's documented prompting patterns plus the minimal runcomfy run invoke. Triggers on "generate image", "make a picture", "text to image", "AI image", "make an image of …", "image to image", "i2i", or any explicit ask to create or restyle an image.
以上为来源原文,中文用途说明尚待整理。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
ai-image-generation,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。
展开并复制给 Codex 的安装指令
安装并检查 ai-image-generation
请在 Codex 的当前工作环境中安装并检查 ai-image-generation 这个 Skill。
项目身份:runcomfy-com/skills / ai-image-generation
来源:https://github.com/runcomfy-com/skills/blob/f28664df57dc6dff8a4ddbc458b5c2bfff6d9f63/ai-image-generation/SKILL.md
已定位的源文件:ai-image-generation/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 ai-image-generation
请在 Claude Code 的当前工作环境中安装并检查 ai-image-generation 这个 Skill。
项目身份:runcomfy-com/skills / ai-image-generation
来源:https://github.com/runcomfy-com/skills/blob/f28664df57dc6dff8a4ddbc458b5c2bfff6d9f63/ai-image-generation/SKILL.md
已定位的源文件:ai-image-generation/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 ai-image-generation
请在 Cursor Agent 的当前工作环境中安装并检查 ai-image-generation 这个 Skill。
项目身份:runcomfy-com/skills / ai-image-generation
来源:https://github.com/runcomfy-com/skills/blob/f28664df57dc6dff8a4ddbc458b5c2bfff6d9f63/ai-image-generation/SKILL.md
已定位的源文件:ai-image-generation/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 ai-image-generation
请在 当前 Agent 的当前工作环境中安装并检查 ai-image-generation 这个 Skill。
项目身份:runcomfy-com/skills / ai-image-generation
来源:https://github.com/runcomfy-com/skills/blob/f28664df57dc6dff8a4ddbc458b5c2bfff6d9f63/ai-image-generation/SKILL.md
已定位的源文件:ai-image-generation/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-19T19:32:10.677Z
- 中文使用说明
- 尚待整理,保留英文来源内容
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料
ai-image-generation/SKILL.md · 抓取时间 2026-11-19T19:32:10.677Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
Generate and edit images on RunComfy via the `runcomfy` CLI — a smart router across the full image-model catalog: FLUX 2 (Klein 9B/4B, Pro, Dev, Flash, Turbo, Max), Google Nano Banana 2 / Pro, OpenAI GPT Image 2, ByteDance Seedream 5 / 4-5 / 4-0 and Dreamina 4-0, Alibaba Qwen Image and Z-Image Turbo, Wan 2-7. Covers both text-to-image (t2i) and image-to-image / edit (i2i) endpoints — the skill picks the right model for the user's actual intent (typography precision, photoreal portraits, sub-second iteration, multi-reference brand styling, open-weights workflow) and ships each model's documented prompting patterns plus the minimal `runcomfy run` invoke. Triggers on "generate image", "make a picture", "text to image", "AI image", "make an image of …", "image to image", "i2i", or any explicit ask to create or restyle an image.
查看源文件章节 / Source sections
- 原文:AI Image Generation
- 原文:Powered by the RunComfy CLI
- 原文:Install this skill
- 原文:Pick the right model for the user's intent
- 原文:Text-to-image (t2i) — newest first
- 原文:Image-to-image / edit (i2i) — newest first
- 原文:t2i Route 1: FLUX 2 Klein — default
- 原文:Schema (both variants)
- 原文:Invoke
- 原文:Prompting tips
- 原文:t2i Route 2: GPT Image 2 — typography & in-image text
- 原文:Schema
- 原文:Invoke
- 原文:Prompting tips
- 原文:t2i Route 3: Nano Banana 2 — speed iteration
- 原文:Schema
- 原文:Invoke
- 原文:Prompting tips
- 原文:t2i Route 4: Seedream 5 / 4-5 — photoreal flagship
- 原文:Invoke
- 原文:When to pick Seedream
- 原文:t2i Route 5: Open-weights & specialty models
- 原文:i2i — image-to-image / edit (compact)
- 原文:i2i Route A: Nano Banana 2 Edit — default
- 原文:i2i Route B: GPT Image 2 Edit — multilingual + multi-ref
- 原文:i2i Route C: FLUX Kontext Pro — single-shot precise
- 原文:Other i2i endpoints in the catalog
- 原文:Common patterns
- 原文:Brand campaign poster
- 原文:Photoreal portrait
原文:AI Image Generation
Generate and edit images with 11+ AI models via the [RunComfy](https://www.runcomfy.com/?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) CLI — text-to-image and image-to-image, one auth, one command. This skill picks the right model for the user's intent and ships the documented prompt patterns + the exact `runcomfy run` invoke for each. [runcomfy.com](https://www.runcomfy.com/?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) · [Browse all models](https://www.runcomfy.com/models?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) · [CLI docs](https://docs.runcomfy.com/cli/introduction?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation)
原文:Powered by the RunComfy CLI
```bash # 1. Install (one of — see runcomfy-cli skill for details) npm i -g @runcomfy/cli # global install npx -y @runcomfy/cli --version # zero-install # 2. Sign in (interactive — opens browser) runcomfy login # or in CI / containers: export RUNCOMFY_TOKEN=<token-from-runcomfy.com/profile> # 3. Generate runcomfy run <vendor>/<model>/<endpoint> \ --input '{"prompt": "..."}' \ --output-dir ./out ``` CLI docs: [Install](https://docs.runcomfy.com/cli/install?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) · [Quickstart](https://docs.runcomfy.com/cli/quickstart?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) · [Commands](https://docs.runcomfy.com/cli/commands?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) · [Auth](https://docs.runcomfy.com/cli/auth?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) · [Troubleshooting](https://docs.runcomfy.com/cli/troubleshooting?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation)
原文:Install this skill
```bash npx skills add agentspace-so/runcomfy-agent-skills --skill ai-image-generation -g ``` ---
原文:Text-to-image (t2i) — newest first
**FLUX 2 Klein 9B** — `blackforestlabs/flux-2-klein/9b/text-to-image` *(default)* > Step-distilled, 4–25 steps, native multi-reference conditioning, strong photoreal + illustration all-rounder. > Pick for: intent unclear, fast iteration, multi-ref styling, general-purpose. > Avoid for: in-image text — use **GPT Image 2**. **FLUX 2 Klein 4B** — `blackforestlabs/flux-2-klein/4b/text-to-image` > Sub-second variant of Klein 9B, same field set. > Pick for: storyboard, moodboard, batch concepting at speed. > Avoid for: final delivery — slight quality drop vs 9B. **FLUX 2 Pro / Dev / Flash / Turbo / Max** — `blackforestlabs/flux-2/max`, [`flux-2-dev`](https://www.runcomfy.com/models/blackforestlabs/flux-2-dev/text-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation), [`flux-2-flash`](https://www.runcomfy.com/models/blackforestlabs/flux-2-flash?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation), [`flux-2-turbo`](https://www.runcomfy.com/models/blackforestlabs/flux-2-turbo?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) > Higher-fidelity tiers of the FLUX 2 base. Cinematic + brand work, hero shots. > Pick for: production polish, brand campaigns. > Avoid for: sub-second speed — use **Klein 4B**. **Nano Banana Pro** — [`google/nano-banana-pro/text-to-image`](https://www.runcomfy.com/models/google/nano-banana-pro/text-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) > Highest-quality Nano Banana tier. Gemini-grounded, optional web search for real-world references (products, landmarks). > Pick for: NB-style instruction-following at higher fidelity. > Avoid for: cost-sensitive iteration — drop to **Nano Banana 2**. **Nano Banana 2** — `google/nano-banana-2/text-to-image` > Flash-tier latency, predictable framing, `enable_web_search` flag for real-product / real-person grounding. > Pick for: speed iteration, 4-up batch, real-world grounded prompts. > Avoid for: long compositional instructions — use **GPT Image 2**.
本段为节选,完整内容见源文件。
原文:Image-to-image / edit (i2i) — newest first
**Nano Banana Pro Edit** — [`google/nano-banana-pro/edit`](https://www.runcomfy.com/models/google/nano-banana-pro/edit?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) > Highest-quality Nano Banana edit tier. Identity-preserving, multi-ref. > Pick for: premium NB edit work, identity-locked variants. > Avoid for: cost-sensitive iteration — drop to **Nano Banana 2 Edit**. **Nano Banana 2 Edit** — `google/nano-banana-2/edit` *(default i2i)* > 1–20 input images per call, identity-preserving by default, spatial-language honored ("upper-right", "the left object"). > Pick for: default i2i, batch identity-preserving, background swap, directional object remove/add. > Avoid for: precise mask region — use the [`image-edit`](https://www.skills.sh/agentspace-so/runcomfy-agent-skills/image-edit) skill (Z-Image Inpaint). **GPT Image 2 Edit** — `openai/gpt-image-2/edit` > Up to 10 reference images, multilingual in-image text rewrite, layout-precise repositioning. > Pick for: multilingual headline swap, multi-ref composition, layout repositioning, brand-locked identity across translations. > Avoid for: mask-driven inpainting — use [`image-edit`](https://www.skills.sh/agentspace-so/runcomfy-agent-skills/image-edit) skill. **Seedream 5 Lite Edit** — [`bytedance/seedream-5/lite/edit`](https://www.runcomfy.com/models/bytedance/seedream-5/lite/edit?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) > Latest Seedream edit tier, photoreal preservation. > Pick for: photoreal edits that started from a Seedream t2i (identity holds across the pair). > Avoid for: multilingual text rewrite. **Seedream 4-5 Edit** — [`bytedance/seedream-4-5/edit`](https://www.runcomfy.com/models/bytedance/seedream-4-5/edit?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) > Previous Seedream edit. > Pick for: identity-stable batches between 4-5 generations. > Avoid for: new work — prefer **Seedream 5 Lite Edit**.
本段为节选,完整内容见源文件。
原文:t2i Route 1: FLUX 2 Klein — default
**Models**: `blackforestlabs/flux-2-klein/9b/text-to-image` (default), `blackforestlabs/flux-2-klein/4b/text-to-image` (sub-second) **Catalog**: [9B](https://www.runcomfy.com/models/blackforestlabs/flux-2-klein/9b/text-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) · [4B](https://www.runcomfy.com/models/blackforestlabs/flux-2-klein/4b/text-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation)
文件 SHA256:752a30e08a7c89fbca5a8bd2556654af9a7b6ce7fb6082098299fbdb49e6253b
仓库许可证记录:MIT;skill-declaration-captured-not-interpreted,查看来源。
Generate and edit images on RunComfy via the `runcomfy` CLI — a smart router across the full image-model catalog: FLUX 2 (Klein 9B/4B, Pro, Dev, Flash, Turbo, Max), Google Nano Banana 2 / Pro, OpenAI GPT Image 2, ByteDance Seedream 5 / 4-5 / 4-0 and Dreamina 4-0, Alibaba Qwen Image and Z-Image Turbo, Wan 2-7. Covers both text-to-image (t2i) and image-to-image / edit (i2i) endpoints — the skill picks the right model for the user's actual intent (typography precision, photoreal portraits, sub-second iteration, multi-reference brand styling, open-weights workflow) and ships each model's documented prompting patterns plus the minimal `runcomfy run` invoke. Triggers on "generate image", "make a picture", "text to image", "AI image", "make an image of …", "image to image", "i2i", or any explicit ask to create or restyle an image.
历史收录数据
| 来源仓库 | runcomfy-com/skills |
|---|---|
| Skill源路径 | ai-image-generation/SKILL.md |
安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。
