Install
openclaw skills install gpt-image-2-runcomfyGPT Image 2 on RunComfy. GPT Image 2 (OpenAI ChatGPT Images 2.0) is the strongest text-rendering image model available β embedded text, logos, signage, multilingual typography, and high-fidelity layout. This skill calls GPT Image 2 through the RunComfy CLI: `runcomfy run openai/gpt-image-2/text-to-image` (or `/edit`). GPT Image 2 has 3 fixed sizes and supports up to 10 reference images on the GPT Image 2 edit endpoint. Triggers on "gpt image 2", "gpt-image-2", "ChatGPT Images 2", "ChatGPT Image 2", "OpenAI Image 2", "GPT Image", or any explicit ask to generate or edit with GPT Image 2.
openclaw skills install gpt-image-2-runcomfyruncomfy.com Β· GPT Image 2 text-to-image Β· GPT Image 2 edit Β· docs
GPT Image 2 is OpenAI's ChatGPT Images 2.0 model. This skill generates and edits images with GPT Image 2 hosted on the RunComfy Model API β runcomfy run openai/gpt-image-2/<endpoint> from your terminal, no OpenAI API key required.
GPT Image 2 (also called ChatGPT Image 2 or just Image 2) is the second-generation OpenAI image model behind ChatGPT's Image feature, exposed here as a standalone API. Three properties make GPT Image 2 distinct:
"AURA" in the prompt, GPT Image 2 renders the literal word.GPT Image 2 has two endpoints in this skill:
Pick GPT Image 2 when any of these is true:
npm i -g @runcomfy/cliruncomfy login opens a browser device-code flow.RUNCOMFY_TOKEN=<token> instead of runcomfy login.GPT Image 2 has two endpoints, same model.
openai/gpt-image-2/text-to-imageThe GPT Image 2 generation endpoint.
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
prompt | string | yes | β | Positive prompt for GPT Image 2. |
size | enum | no | 1024_1024 | GPT Image 2 supports only three sizes: 1024_1024 (1:1), 1024_1536 (2:3 portrait), 1536_1024 (3:2 landscape). |
openai/gpt-image-2/editThe GPT Image 2 edit endpoint.
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
prompt | string | yes | β | Natural-language edit instruction for GPT Image 2. |
images | string[] | yes | β | Up to 10 reference images for GPT Image 2 edit (publicly fetchable HTTPS URLs). |
size | enum | no | auto | auto (preserve input ratio) or one of the three GPT Image 2 fixed sizes. |
size=auto on GPT Image 2 edit preserves input aspect ratio β strongly recommended unless you explicitly want GPT Image 2 to reframe.
GPT Image 2 text-to-image:
runcomfy run openai/gpt-image-2/text-to-image \
--input '{"prompt": "<GPT Image 2 prompt>", "size": "1024_1536"}' \
--output-dir <absolute/path>
GPT Image 2 edit (single reference):
runcomfy run openai/gpt-image-2/edit \
--input '{
"prompt": "<GPT Image 2 edit instruction>",
"images": ["https://..."]
}' \
--output-dir <absolute/path>
GPT Image 2 edit (multi-reference, up to 10):
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>
The CLI submits the GPT Image 2 request, polls every 2s, fetches the GPT Image 2 result, and downloads any *.runcomfy.net / *.runcomfy.com URL into --output-dir.
For pipe-friendly GPT Image 2 usage:
runcomfy --output json run openai/gpt-image-2/text-to-image \
--input '{"prompt":"..."}' --no-wait | jq -r .request_id
GPT Image 2 responds to specific prompting patterns better than naive prose. Apply these for sharper GPT Image 2 output. Same patterns work on both GPT Image 2 text-to-image and GPT Image 2 edit.
Be explicit with subject + setting + mood for GPT Image 2. "A close-up of a matte ceramic water bottle on warm linen, soft window light, neutral background" β three concrete directives β beats "nice product photo of a bottle". GPT Image 2 reads concrete directives well.
Quote embedded text exactly for GPT Image 2. GPT Image 2 is the strongest text-rendering model in this class β but only when you put the literal characters in quotes. Long blocks of text degrade GPT Image 2 output. For multilingual typography, name the script: "Japanese kana", "Cyrillic", "Arabic right-to-left". GPT Image 2 will render accordingly.
Use compositional cues directly. "rule of thirds", "close-up", "aerial view", "centered subject", "shallow depth of field" β GPT Image 2 understands these as real directives.
Iterate one attribute at a time on GPT Image 2. When refining, change one thing per iteration (lighting OR background OR pose OR text) and keep the rest of the GPT Image 2 prompt verbatim. GPT Image 2 holds composition stable across iterations when only one knob moves.
Don't conflict GPT Image 2 instructions. "no text" + "the word 'AQUA+' on the label" is incoherent β GPT Image 2 will pick one and you don't control which.
Don't pile up styles in a GPT Image 2 prompt. "ukiyo-e + watercolor + 8K + cinematic + minimalist" cancels out in GPT Image 2 output. Pick one or two style anchors max.
For GPT Image 2 edit specifically:
| Use case | Why GPT Image 2 |
|---|---|
| E-commerce product photography | GPT Image 2 reliable text on labels, brand-safe lighting, consistent across SKUs |
| High-conversion ads | GPT Image 2 headline + visual integration in one pass |
| Brand asset localization | One source asset β many language variants of the same headline via GPT Image 2 |
| Signage, posters, packaging mock-ups | GPT Image 2 text rendering accuracy at multiple scales |
| UI mockups, scientific illustrations | GPT Image 2 layout precision and label legibility |
GPT Image 2 text-to-image β product hero:
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 background
GPT Image 2 text-to-image β multilingual signage:
A 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, cinematic
GPT Image 2 edit β background swap with preservation:
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 unchanged
What sizes does GPT Image 2 support? Only three: 1024_1024 (1:1), 1024_1536 (2:3 portrait), 1536_1024 (3:2 landscape). Extreme aspect ratios are auto-resized to the nearest supported GPT Image 2 size.
How many reference images can GPT Image 2 edit take? Up to 10. The first image is the primary reference for GPT Image 2; the rest provide auxiliary cues (lighting, background, style).
Can GPT Image 2 render text in any language? GPT Image 2 handles Latin, Cyrillic, Japanese kana, Korean Hangul, Arabic, Chinese, and most major scripts. Name the script in the GPT Image 2 prompt for best fidelity.
Is GPT Image 2 the same as DALL-E? No. GPT Image 2 is the successor model behind ChatGPT's Image feature; DALL-E was the predecessor line. GPT Image 2 has stronger directive precision and stronger in-image typography than the DALL-E generation.
How does GPT Image 2 compare to GPT Image (v1)? GPT Image 2 is the second-generation model. GPT Image 2 has higher fidelity, stronger text rendering, and better composition stability than GPT Image v1.
Does GPT Image 2 generate at very high resolution? GPT Image 2 outputs at the three documented sizes only. For higher-resolution upscaling, post-process the GPT Image 2 output through a separate upscaler.
How do I reproduce a GPT Image 2 output? GPT Image 2 doesn't expose a seed parameter on this endpoint. For reproducible variants, lock the prompt and re-run.
auto on GPT Image 2 edit).The runcomfy CLI uses sysexits-style codes:
| code | meaning |
|---|---|
| 0 | GPT Image 2 generation succeeded |
| 64 | bad CLI args |
| 65 | bad input JSON for GPT Image 2 / schema mismatch (e.g. size: "2048_2048" would 422) |
| 69 | upstream 5xx |
| 75 | retryable: timeout / 429 |
| 77 | not signed in or token rejected |
Full reference: docs.runcomfy.com/cli/troubleshooting.
runcomfy run openai/gpt-image-2/<endpoint> with a JSON body matching the GPT Image 2 schema.https://model-api.runcomfy.net/v1/models/openai/gpt-image-2/<endpoint> with the user's bearer token.request_id; the CLI polls GET .../requests/<id>/status every 2 seconds..runcomfy.net / .runcomfy.com URL into --output-dir.Ctrl-C while polling cancels the GPT Image 2 request via POST .../requests/<id>/cancel.Not a direct OpenAI API client. Not a capability grant β depends on a working RunComfy account.
runcomfy login writes the API token to ~/.config/runcomfy/token.json with mode 0600.--input. No shell injection.model-api.runcomfy.net and *.runcomfy.net / *.runcomfy.com.