Loading...
Loading...
对比查看原文与翻译
/editnpx skills add agentspace-so/runcomfy-skills --skill gpt-image-edit -g/editnpx skills add agentspace-so/runcomfy-skills --skill gpt-image-edit -g| You want | Use |
|---|---|
| Edit multilingual / embedded text in image | GPT Image Edit |
| Identity preservation through translated headline variants | GPT Image Edit |
| Layout-precise edit (move headline, swap CTA, etc.) | GPT Image Edit |
| Up to 10 reference images | GPT Image Edit |
| Batch up to 20 images consistently | Nano Banana Edit |
| Single-shot precise local edit, source-fidelity-first | Flux Kontext |
| Generate from scratch with GPT Image 2 | sibling |
| Batch SKU galleries with stable identity | Nano Banana Edit |
| 需求场景 | 推荐工具 |
|---|---|
| 编辑图像中的多语言/嵌入文本 | GPT Image Edit |
| 生成不同语言标题变体时保留主体特征 | GPT Image Edit |
| 布局精准编辑(移动标题、替换CTA等) | GPT Image Edit |
| 最多支持10张参考图 | GPT Image Edit |
| 批量处理最多20张图像且保持一致性 | Nano Banana Edit |
| 单次精准局部编辑,优先保证源图保真度 | Flux Kontext |
| 使用GPT Image 2从头生成图像 | 姊妹工具 |
| 批量生成SKU图库且保持主体特征稳定 | Nano Banana Edit |
npm i -g @runcomfy/cliruncomfy loginRUNCOMFY_TOKEN=<token>runcomfy loginnpm i -g @runcomfy/cliruncomfy loginRUNCOMFY_TOKEN=<token>runcomfy loginopenai/gpt-image-2/editopenai/gpt-image-2/edit| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
| string | yes | — | Edit instruction. Lead with preservation, end with the change. |
| string[] | yes | — | Up to 10 publicly-fetchable HTTPS URLs. First is primary; rest are auxiliary. |
| enum | no | | |
size=auto| 字段 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| 字符串 | 是 | — | 编辑指令。先说明需要保留的内容,再说明修改内容。 |
| 字符串数组 | 是 | — | 最多10个可公开访问的HTTPS URL。第一个为主图;其余为辅助参考图。 |
| 枚举值 | 否 | | |
size=autoruncomfy run openai/gpt-image-2/edit \
--input '{
"prompt": "Keep the person'\''s face, pose, and brand mark unchanged. Replace the background with a soft warm-grey studio sweep and a gentle floor shadow.",
"images": ["https://.../portrait.jpg"]
}' \
--output-dir <absolute/path>runcomfy run openai/gpt-image-2/edit \
--input '{
"prompt": "Keep the photograph, layout, and brand mark exactly as in the input. Replace only the in-image headline. The new headline reads \"今日のおすすめ\" in bold Japanese kana, same position and font weight as before.",
"images": ["https://.../poster-en.jpg"]
}' \
--output-dir <absolute/path>runcomfy run openai/gpt-image-2/edit \
--input '{
"prompt": "Compose subject from image 1 into the room from image 2. Match the lighting and color palette of image 2. Keep image 1 subject identity (face, pose, clothing) unchanged.",
"images": ["https://.../subject.jpg", "https://.../room.jpg"]
}' \
--output-dir <absolute/path>runcomfy run openai/gpt-image-2/edit \
--input '{
"prompt": "Keep the person'\''s face, pose, and brand mark unchanged. Replace the background with a soft warm-grey studio sweep and a gentle floor shadow.",
"images": ["https://.../portrait.jpg"]
}' \
--output-dir <absolute/path>runcomfy run openai/gpt-image-2/edit \
--input '{
"prompt": "Keep the photograph, layout, and brand mark exactly as in the input. Replace only the in-image headline. The new headline reads \"今日のおすすめ\" in bold Japanese kana, same position and font weight as before.",
"images": ["https://.../poster-en.jpg"]
}' \
--output-dir <absolute/path>runcomfy run openai/gpt-image-2/edit \
--input '{
"prompt": "Compose subject from image 1 into the room from image 2. Match the lighting and color palette of image 2. Keep image 1 subject identity (face, pose, clothing) unchanged.",
"images": ["https://.../subject.jpg", "https://.../room.jpg"]
}' \
--output-dir <absolute/path>"Keep [face / pose / clothing / brand / framing] unchanged.""the headline reads \"コーヒー\" in bold Japanese kana""the label says \"АРОМА\" in Cyrillic, white on black""the right-margin caption reads \"تخفيض\" in Arabic right-to-left""move the headline from top-right to bottom-center""remove the leftmost object only""replace the watermark in the bottom-right corner"images"subject from image 1, lighting from image 2, color palette from image 3"size: "auto"sizeauto"Keep [面部 / 姿势 / 服装 / 品牌 / 画幅] unchanged.""the headline reads \"コーヒー\" in bold Japanese kana""the label says \"АРОМА\" in Cyrillic, white on black""the right-margin caption reads \"تخفيض\" in Arabic right-to-left""move the headline from top-right to bottom-center""remove the leftmost object only""replace the watermark in the bottom-right corner"images"subject from image 1, lighting from image 2, color palette from image 3"size: "auto"sizeauto| Use case | Why GPT Image Edit |
|---|---|
| Multilingual ad localization | One source asset → many language variants of the same headline |
| Brand-safe headline / CTA swaps | Layout precision + preservation language hold the rest stable |
| Multi-ref composition (subject from one, scene from another) | Numbered refs route cues correctly |
| Layout-precise repositioning | Directional language ("top-right to bottom-center") honored |
| Identity preservation across signage edits | Strongest in class for face / brand preservation through targeted edits |
| 使用场景 | 选择GPT Image Edit的原因 |
|---|---|
| 多语言广告本地化 | 一份源素材→生成多种语言版本的同款标题 |
| 品牌合规的标题/CTA替换 | 布局精度+保留指令确保其余内容稳定 |
| 多参考图合成(主体来自一张图,场景来自另一张图) | 编号引用能让模型正确对应提示线索 |
| 布局精准重定位 | 定向语言("从右上角移至底部中央")会被准确执行 |
| 标识编辑时保留主体特征 | 在同类工具中,精准编辑时保留面部/品牌特征的能力最强 |
Turn the background into a bright minimal white-to-soft-gray studio
sweep with gentle floor shadow; add a large headline in-image that
reads "OPEN STUDIO" in a bold clean sans-serif, high contrast, centered;
keep the main person or product, pose, and face identity unchangedKeep the photograph, layout, lighting, and brand mark exactly as in the
input. Replace only the in-image headline.
The new headline reads "コーヒー" in bold Japanese kana, same position
and font weight as before.Compose subject from image 1 into the kitchen from image 2.
Match the warm window light and color palette of image 2.
Keep subject identity (face, pose, clothing) from image 1 unchanged.Turn the background into a bright minimal white-to-soft-gray studio
sweep with gentle floor shadow; add a large headline in-image that
reads "OPEN STUDIO" in a bold clean sans-serif, high contrast, centered;
keep the main person or product, pose, and face identity unchangedKeep the photograph, layout, lighting, and brand mark exactly as in the
input. Replace only the in-image headline.
The new headline reads "コーヒー" in bold Japanese kana, same position
and font weight as before.Compose subject from image 1 into the kitchen from image 2.
Match the warm window light and color palette of image 2.
Keep subject identity (face, pose, clothing) from image 1 unchanged.sizeautoimagessizeautoimages| code | meaning |
|---|---|
| 0 | success |
| 64 | bad CLI args |
| 65 | bad input JSON / schema mismatch |
| 69 | upstream 5xx |
| 75 | retryable: timeout / 429 |
| 77 | not signed in or token rejected |
| 代码 | 含义 |
|---|---|
| 0 | 成功 |
| 64 | CLI参数错误 |
| 65 | 输入JSON错误/数据结构不匹配 |
| 69 | 上游服务5xx错误 |
| 75 | 可重试:超时/429错误 |
| 77 | 未登录或令牌被拒绝 |
runcomfy run openai/gpt-image-2/edithttps://model-api.runcomfy.net/v1/models/openai/gpt-image-2/edit.runcomfy.net.runcomfy.com--output-dirCtrl-Cruncomfy run openai/gpt-image-2/edithttps://model-api.runcomfy.net/v1/models/openai/gpt-image-2/edit.runcomfy.net.runcomfy.com--output-dirCtrl-Cruncomfy login~/.config/runcomfy/token.jsonRUNCOMFY_TOKEN--inputmodel-api.runcomfy.net*.runcomfy.net*.runcomfy.comruncomfy login~/.config/runcomfy/token.jsonRUNCOMFY_TOKEN--inputmodel-api.runcomfy.net*.runcomfy.net*.runcomfy.com