Loading...
Loading...
对比查看原文与翻译
npx skills add agentspace-so/runcomfy-skills --skill gpt-image-2 -gnpx skills add agentspace-so/runcomfy-skills --skill gpt-image-2 -g| You want | Use |
|---|---|
| Embedded text, logos, signage, multilingual typography | GPT Image 2 |
| Brand-safe, e-commerce / ad / UI mockup imagery | GPT Image 2 |
| Iterative refinement that holds composition stable | GPT Image 2 |
| Heavy stylization, painterly look | Flux 2 |
| Hyperrealistic portrait | Nano Banana Pro |
| Cinematic / aesthetic-first hero shots | Seedream 5 |
| 需求场景 | 适用模型 |
|---|---|
| 嵌入文本、标识、标牌、多语言排版 | GPT Image 2 |
| 品牌合规的电商/广告/UI原型图 | GPT Image 2 |
| 保持构图稳定的迭代优化 | GPT Image 2 |
| 重度风格化、绘画质感 | Flux 2 |
| 超写实人像 | Nano Banana Pro |
| 电影质感/美学优先的主视觉图 | Seedream 5 |
npm i -g @runcomfy/cliruncomfy loginRUNCOMFY_TOKEN=<token>runcomfy loginnpm i -g @runcomfy/cliruncomfy loginRUNCOMFY_TOKEN=<token>runcomfy loginopenai/gpt-image-2/text-to-imageopenai/gpt-image-2/text-to-image| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
| string | yes | — | The positive prompt |
| enum | no | | |
| 字段 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| string | 是 | — | 正向提示词 |
| enum | 否 | | 可选值为 |
openai/gpt-image-2/editopenai/gpt-image-2/edit| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
| string | yes | — | Natural-language edit instruction |
| string[] | yes | — | Up to 10 reference image URLs (publicly fetchable HTTPS) |
| enum | no | | |
size=auto| 字段 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| string | 是 | — | 自然语言格式的编辑指令 |
| string[] | 是 | — | 最多10张可公开访问的参考图片HTTPS链接 |
| enum | 否 | | |
size=autoruncomfy run openai/gpt-image-2/text-to-image \
--input '{"prompt": "<user prompt>", "size": "1024_1536"}' \
--output-dir <absolute/path>runcomfy run openai/gpt-image-2/edit \
--input '{
"prompt": "<edit instruction>",
"images": ["https://..."]
}' \
--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 of image 2",
"images": ["https://...subject.jpg", "https://...room.jpg"]
}' \
--output-dir <absolute/path>*.runcomfy.net*.runcomfy.com--output-dirruncomfy --output json run openai/gpt-image-2/text-to-image \
--input '{"prompt":"..."}' --no-wait | jq -r .request_idruncomfy run openai/gpt-image-2/text-to-image \
--input '{"prompt": "<用户提示词>", "size": "1024_1536"}' \
--output-dir <绝对路径>runcomfy run openai/gpt-image-2/edit \
--input '{
"prompt": "<编辑指令>",
"images": ["https://..."]
}' \
--output-dir <绝对路径>runcomfy run openai/gpt-image-2/edit \
--input '{
"prompt": "将图1中的主体合成到图2的房间中;匹配图2的光线",
"images": ["https://...subject.jpg", "https://...room.jpg"]
}' \
--output-dir <绝对路径>*.runcomfy.net*.runcomfy.com--output-dirruncomfy --output json run openai/gpt-image-2/text-to-image \
--input '{"prompt":"..."}' --no-wait | jq -r .request_id| Use case | Why GPT Image 2 |
|---|---|
| E-commerce product photography | Reliable text on labels, brand-safe lighting, consistent across SKUs |
| High-conversion ads | Headline + visual integration in one pass |
| Brand asset localization | One source asset → many language variants of the same headline |
| Signage, posters, packaging mock-ups | Text rendering accuracy at multiple scales |
| UI mockups, scientific illustrations | Layout precision and label legibility |
| 使用场景 | 选择GPT Image 2的原因 |
|---|---|
| 电商产品摄影 | 标签文本渲染可靠,品牌合规光线,SKU间风格一致 |
| 高转化率广告 | 标题与视觉元素可一次性整合生成 |
| 品牌资产本地化 | 单源资产可生成多语言版本的标题 |
| 标牌、海报、包装原型 | 多尺度下文本渲染精准 |
| UI原型、科学插图 | 布局精准,标签清晰可读 |
A minimal hero product still life: a matte ceramic water bottle on warm linen,
soft window light, the word "AQUA+" in clean sans-serif on the label,
subtle rim highlights, e-commerce ready, 8K detail, neutral backgroundA small Tokyo café storefront at dusk, warm interior glow,
the sign reads "コーヒー" in bold Japanese kana on a wooden plaque,
shallow depth of field, rule of thirds, cinematicTurn 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 unchanged极简风格产品静物主图:暖亚麻布上的哑光陶瓷水瓶,
柔和窗光,标签上印有简洁无衬线字体的"AQUA+",
微妙的边缘高光,符合电商需求,8K细节,中性背景黄昏时分的东京小咖啡馆店面,温暖的室内灯光,
木质招牌上用粗体日文假名写着"コーヒー",
浅景深,三分法构图,电影质感将背景替换为明亮的极简白到浅灰渐变工作室场景,
添加高对比度、居中的大号内嵌标题"OPEN STUDIO",字体为粗体简洁无衬线;
保留主体人物/产品、姿态和面部特征不变autoautoruncomfy| code | meaning |
|---|---|
| 0 | success |
| 64 | bad CLI args |
| 65 | bad input JSON / schema mismatch (e.g. |
| 69 | upstream 5xx |
| 75 | retryable: timeout / 429 |
| 77 | not signed in or token rejected |
runcomfy| 代码 | 含义 |
|---|---|
| 0 | 成功 |
| 64 | CLI参数错误 |
| 65 | 输入JSON错误/schema不匹配(例如 |
| 69 | 上游服务5xx错误 |
| 75 | 可重试:超时/429限流 |
| 77 | 未登录或令牌被拒绝 |
runcomfy run openai/gpt-image-2/<endpoint>https://model-api.runcomfy.net/v1/models/openai/gpt-image-2/<endpoint>request_idGET .../requests/<id>/statusGET .../requests/<id>/result.runcomfy.net.runcomfy.com--output-dirCtrl-CPOST .../requests/<id>/cancelruncomfy run openai/gpt-image-2/<endpoint>https://model-api.runcomfy.net/v1/models/openai/gpt-image-2/<endpoint>request_idGET .../requests/<id>/statusGET .../requests/<id>/result.runcomfy.net.runcomfy.com--output-dirCtrl-CPOST .../requests/<id>/cancelruncomfy 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