flux-kontext 是什么?
Edit images with Flux 1 Kontext Pro (Black Forest Labs' precise local image-edit model) on RunComfy — bundled with the model's documented prompting patterns so the skill gets sharper output than naive prompting against the same model. Documents Flux Kontext's strengths (single-reference precise local edits, strong prompt control, consistent high-fidelity outputs), the schema (single image + prompt), and when to route to Nano Banana Edit / GPT Image 2 edit / Flux 2 Klein instead. Calls runcomfy run blackforestlabs/flux-1-kontext/pro/edit through the local RunComfy CLI. Triggers on "flux kontext", "flux-kontext", "flux 1 kontext", "kontext", "BFL kontext", or any explicit ask to edit with this model.
以上为来源原文,中文用途说明尚待整理。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
flux-kontext,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。
展开并复制给 Codex 的安装指令
安装并检查 flux-kontext
请在 Codex 的当前工作环境中安装并检查 flux-kontext 这个 Skill。
项目身份:runcomfy-com/skills / flux-kontext
来源:https://github.com/runcomfy-com/skills/blob/f28664df57dc6dff8a4ddbc458b5c2bfff6d9f63/flux-kontext/SKILL.md
已定位的源文件:flux-kontext/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 flux-kontext
请在 Claude Code 的当前工作环境中安装并检查 flux-kontext 这个 Skill。
项目身份:runcomfy-com/skills / flux-kontext
来源:https://github.com/runcomfy-com/skills/blob/f28664df57dc6dff8a4ddbc458b5c2bfff6d9f63/flux-kontext/SKILL.md
已定位的源文件:flux-kontext/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 flux-kontext
请在 Cursor Agent 的当前工作环境中安装并检查 flux-kontext 这个 Skill。
项目身份:runcomfy-com/skills / flux-kontext
来源:https://github.com/runcomfy-com/skills/blob/f28664df57dc6dff8a4ddbc458b5c2bfff6d9f63/flux-kontext/SKILL.md
已定位的源文件:flux-kontext/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 flux-kontext
请在 当前 Agent 的当前工作环境中安装并检查 flux-kontext 这个 Skill。
项目身份:runcomfy-com/skills / flux-kontext
来源:https://github.com/runcomfy-com/skills/blob/f28664df57dc6dff8a4ddbc458b5c2bfff6d9f63/flux-kontext/SKILL.md
已定位的源文件:flux-kontext/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-19T19:32:10.677Z
- 中文使用说明
- 尚待整理,保留英文来源内容
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料
flux-kontext/SKILL.md · 抓取时间 2026-11-19T19:32:10.677Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
Edit images with Flux 1 Kontext Pro (Black Forest Labs' precise local image-edit model) on RunComfy — bundled with the model's documented prompting patterns so the skill gets sharper output than naive prompting against the same model. Documents Flux Kontext's strengths (single-reference precise local edits, strong prompt control, consistent high-fidelity outputs), the schema (single image + prompt), and when to route to Nano Banana Edit / GPT Image 2 edit / Flux 2 Klein instead. Calls `runcomfy run blackforestlabs/flux-1-kontext/pro/edit` through the local RunComfy CLI. Triggers on "flux kontext", "flux-kontext", "flux 1 kontext", "kontext", "BFL kontext", or any explicit ask to edit with this model.
查看源文件章节 / Source sections
- 原文:Flux Kontext Pro — Pro Pack on RunComfy
- 原文:When to pick this model (vs siblings)
- 前置条件 / Prerequisites
- 原文:Endpoints + input schema
- 原文:`blackforestlabs/flux-1-kontext/pro/edit`
- 原文:How to invoke
- 原文:Prompting — what actually works
- 原文:Where it shines
- 原文:Sample prompts (verified to produce strong results)
- 原文:Limitations
- 原文:Exit codes
- 原文:How it works
- 原文:Security & Privacy
原文:Flux Kontext Pro — Pro Pack on RunComfy
[runcomfy.com](https://www.runcomfy.com/?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-kontext) · [Model page](https://www.runcomfy.com/models/blackforestlabs/flux-1-kontext-pro/image-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-kontext) · [GitHub](https://github.com/agentspace-so/runcomfy-skills/tree/main/flux-kontext) Black Forest Labs' **Flux 1 Kontext Pro** — single-reference precise local image edit — hosted on the **RunComfy Model API**. Strong prompt control, consistent outputs, high fidelity. ```bash npx skills add agentspace-so/runcomfy-skills --skill flux-kontext -g ```
原文:When to pick this model (vs siblings)
| You want | Use | |---|---| | Single-image precise local edit ("she's now holding X") | **Flux Kontext** | | High-fidelity preservation of source identity | **Flux Kontext** | | Batch edits across 1–20 images | Nano Banana Edit | | Edit multilingual / embedded text in image | GPT Image 2 edit | | Generate from scratch, no source image | Flux 2 Klein | If the user said "Flux Kontext" / "kontext" / "BFL Kontext" explicitly, route here regardless.
前置条件 / Prerequisites
1. **RunComfy CLI** — `npm i -g @runcomfy/cli` 2. **RunComfy account** — `runcomfy login` opens a browser device-code flow. 3. **CI / containers** — set `RUNCOMFY_TOKEN=<token>` instead of `runcomfy login`.
原文:`blackforestlabs/flux-1-kontext/pro/edit`
| Field | Type | Required | Default | Notes | |---|---|---|---|---| | `prompt` | string | yes | — | Single declarative edit instruction. | | `image` | string | yes | — | Single source image URL (publicly fetchable HTTPS). | | `aspect_ratio` | enum | no | (input) | Pick from supported W:H options on the model page. | | `seed` | int | no | — | Reuse for variant comparisons. | The schema is intentionally minimal — Kontext leans on prompt + single ref. For multi-image or web-grounded edits, route to Nano Banana Edit.
原文:How to invoke
**Default — local edit, preserve everything else:** ```bash runcomfy run blackforestlabs/flux-1-kontext/pro/edit \ --input '{ "prompt": "Keep the person'\''s face, pose, and clothing unchanged. Add an orange umbrella in her left hand and a slight smile.", "image": "https://.../portrait.jpg" }' \ --output-dir <absolute/path> ``` **With seed for reproducible variant series:** ```bash runcomfy run blackforestlabs/flux-1-kontext/pro/edit \ --input '{ "prompt": "Keep the bottle, label, and lighting unchanged. Replace the brand text on the label from \"ALPHA\" to \"AURA\".", "image": "https://.../bottle.jpg", "seed": 42 }' \ --output-dir <absolute/path> ```
原文:Prompting — what actually works
**One declarative instruction.** Kontext shines on prompts shaped like the docs example: `"She is now holding an orange umbrella and smiling"`. Imperative mood, single change. **Preservation first.** Lead with `"Keep [identity / pose / framing / brand] unchanged."` Then the change. Models honor what's stated up front. **Single ref only — pick the right one.** No multi-image fanout here. If you have multiple references, decide which is primary and pass that one. For multi-image flows, route to Nano Banana Edit. **Iterate on small changes.** If Kontext drifts, split a compound edit into sequential single-instruction passes (pass 1: change background, pass 2: change clothing). **Aspect ratio — pick from the supported enum.** Out-of-list values 422 or crop. **Anti-patterns:** - Compound prompts ("change A and add B and remove C") → drift. - Trying to fan out to multiple source images → wrong model (use Nano Banana Edit). - Prompts written in passive voice → less reliable. - Asking for novel composition without a source image → wrong model (use Flux 2 Klein t2i).
文件 SHA256:1ae706a2a0e8e006ff5197b3bc0309b386523e27a99bac3556c5eaae34c47106
仓库许可证记录:MIT;skill-declaration-captured-not-interpreted,查看来源。
Edit images with Flux 1 Kontext Pro (Black Forest Labs' precise local image-edit model) on RunComfy — bundled with the model's documented prompting patterns so the skill gets sharper output than naive prompting against the same model. Documents Flux Kontext's strengths (single-reference precise local edits, strong prompt control, consistent high-fidelity outputs), the schema (single image + prompt), and when to route to Nano Banana Edit / GPT Image 2 edit / Flux 2 Klein instead. Calls `runcomfy run blackforestlabs/flux-1-kontext/pro/edit` through the local RunComfy CLI. Triggers on "flux kontext", "flux-kontext", "flux 1 kontext", "kontext", "BFL kontext", or any explicit ask to edit with this model.
历史收录数据
| 来源仓库 | runcomfy-com/skills |
|---|---|
| Skill源路径 | flux-kontext/SKILL.md |
安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。
