Image Gen
ChatCut image generation and editing require an active paid Pro subscription and use credits for every model. If submit_image returns FEATURE_NOT_INCLUDED, surface the upgrade requirement; do not retry another ChatCut model to bypass it. Codex native image generation keeps its own host entitlement and is not governed by this ChatCut requirement.
Generate AI images through the backend generation API. Submit-only: creates a generation job and returns a jobId.
After submission, use track_progress tool to check status or wait for completion.
Model Selection
| Model |
Strengths |
Max refs |
gpt-image-2.5-flare |
Default: fast everyday generation and editing |
10 |
gpt-image-2.5-sunburst |
Precision edits and detailed creative work |
10 |
gpt-image-2 |
Previous GPT image model |
10 |
nano-banana |
Strongest reference-image fidelity |
14 |
gpt-image-2.5-flare is the default. Honor the image model attached to the user prompt or explicitly requested.
- Use
gpt-image-2.5-sunburst when the user selects it for precise editing.
nano-banana is the reference-heavy choice. Use it when reference-image fidelity matters more than text rendering, or when the user needs more than 10 reference images.
IMPORTANT: Before generating, READ the model's reference document for params, limits, and prompt tips:
- Image 2.5 Flare / Sunburst → references/gpt-image-2.5.md
gpt-image-2 → references/gpt-image-2.md
nano-banana → references/nano-banana.md
Tool Params
| Param |
Values |
Default |
aspectRatio |
1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9 |
16:9 |
imageSize |
1K, 2K, 4K |
1K |
quality |
low, medium, high, auto; Image 2.5 also xhigh, max |
high |
background |
auto, opaque, transparent (Image 2.5 only; PNG output) |
auto |
referenceAssetIds |
Array of project asset ids — backend resolves bytes server-side |
— |
name |
Short descriptive asset name shown in the library |
— |
count |
Number of images to generate (1–10, each becomes a separate job) |
1 |
Defaults
- Aspect ratio: 16:9. If the project composition is not 16:9, ASK the user which aspect ratio they want before generating.
- Size: 1K.
Ask Before Submit
- Never auto-upgrade size.
- Only pass
imageSize: "2K" or "4K" when the user explicitly asks. Warn that 2K/4K are EXPERIMENTAL and may be slower.
Reference Images
Use when the user provides source material to edit, blend, or use as visual guidance (e.g. "change the background", "combine these into a poster").
- Pass project asset ids via
referenceAssetIds. The backend fetches and encodes them server-side — never pull the asset bytes yourself.
- When the user @-references an image asset, pass its id directly in
referenceAssetIds.
- Formats accepted by backend: png, jpeg, webp, svg (auto-rasterized to png), heic, heif. Each ≤ 50MB.
Run
// Basic generation
submit_image({
model: "gpt-image-2.5-flare",
prompt: "a cute orange cat",
name: "Cat",
});
// With quality (OpenAI models)
submit_image({
model: "gpt-image-2.5-flare",
prompt: "hero poster with bold title",
quality: "high",
name: "Hero Poster",
});
// With reference images — pass project asset ids; backend resolves bytes
submit_image({
model: "gpt-image-2.5-flare",
prompt: "change background to beach",
referenceAssetIds: ["<assetId>"],
name: "Beach Edit",
});
// Reference-heavy with nano-banana
submit_image({
model: "nano-banana",
prompt: "composite poster",
referenceAssetIds: ["<id1>", "<id2>"],
name: "Composite",
});
// Multiple images
submit_image({
model: "gpt-image-2.5-flare",
prompt: "product shots",
count: 3,
name: "Product",
});
After submission, call track_progress with action=status jobIds=<jobId>. If the current task depends on a non-terminal result, follow its checkBackAfterSeconds sleep guidance before each later status check; action=wait is only a non-blocking compatibility alias.
Rules
- Always provide
name with a short descriptive asset name.
- Wait for completion unless the user only asked to queue. Use returned asset ids for further edits; use
edit_item to place an image on the timeline when requested.
- Generation costs credits. Before submitting, briefly tell the user what you're about to generate — especially when generating multiple images.
- Do not use this skill for job management. Use
track_progress tool for that.
1---2name: image-gen3description: AI image generation and reference-image editing via GPT Image 2.5 Flare/Sunburst, GPT Image 2, and Nano Banana. Use when the user wants to generate or create an image / picture / still through the backend image-generation jobs.4---56# Image Gen78ChatCut image generation and editing require an active paid Pro subscription and use credits for every model. If `submit_image` returns `FEATURE_NOT_INCLUDED`, surface the upgrade requirement; do not retry another ChatCut model to bypass it. Codex native image generation keeps its own host entitlement and is not governed by this ChatCut requirement.910Generate AI images through the backend generation API. Submit-only: creates a generation job and returns a `jobId`.1112After submission, use `track_progress` tool to check status or wait for completion.1314## Model Selection1516| Model | Strengths | Max refs |17| ------------------------ | --------------------------------------------- | -------- |18| `gpt-image-2.5-flare` | Default: fast everyday generation and editing | 10 |19| `gpt-image-2.5-sunburst` | Precision edits and detailed creative work | 10 |20| `gpt-image-2` | Previous GPT image model | 10 |21| `nano-banana` | Strongest reference-image fidelity | 14 |2223- `gpt-image-2.5-flare` is the default. Honor the image model attached to the user prompt or explicitly requested.24- Use `gpt-image-2.5-sunburst` when the user selects it for precise editing.25- `nano-banana` is the reference-heavy choice. Use it when reference-image fidelity matters more than text rendering, or when the user needs more than 10 reference images.2627**IMPORTANT:** Before generating, READ the model's reference document for params, limits, and prompt tips:2829- Image 2.5 Flare / Sunburst → [references/gpt-image-2.5.md](references/gpt-image-2.5.md)30- `gpt-image-2` → [references/gpt-image-2.md](references/gpt-image-2.md)31- `nano-banana` → [references/nano-banana.md](references/nano-banana.md)3233## Tool Params3435| Param | Values | Default |36| ------------------- | ----------------------------------------------------------------------- | ------- |37| `aspectRatio` | `1:1`, `16:9`, `9:16`, `4:3`, `3:4`, `3:2`, `2:3`, `4:5`, `5:4`, `21:9` | `16:9` |38| `imageSize` | `1K`, `2K`, `4K` | `1K` |39| `quality` | `low`, `medium`, `high`, `auto`; Image 2.5 also `xhigh`, `max` | `high` |40| `background` | `auto`, `opaque`, `transparent` (Image 2.5 only; PNG output) | `auto` |41| `referenceAssetIds` | Array of project asset ids — backend resolves bytes server-side | — |42| `name` | Short descriptive asset name shown in the library | — |43| `count` | Number of images to generate (1–10, each becomes a separate job) | `1` |4445## Defaults4647- Aspect ratio: **16:9**. If the project composition is not 16:9, ASK the user which aspect ratio they want before generating.48- Size: **1K**.4950## Ask Before Submit5152- Never auto-upgrade size.53- Only pass `imageSize: "2K"` or `"4K"` when the user explicitly asks. Warn that 2K/4K are EXPERIMENTAL and may be slower.5455## Reference Images5657Use when the user provides source material to edit, blend, or use as visual guidance (e.g. "change the background", "combine these into a poster").5859- Pass project asset ids via `referenceAssetIds`. The backend fetches and encodes them server-side — never pull the asset bytes yourself.60- When the user @-references an image asset, pass its id directly in `referenceAssetIds`.61- Formats accepted by backend: png, jpeg, webp, svg (auto-rasterized to png), heic, heif. Each ≤ 50MB.6263## Run6465```ts66// Basic generation67submit_image({68 model: "gpt-image-2.5-flare",69 prompt: "a cute orange cat",70 name: "Cat",71});7273// With quality (OpenAI models)74submit_image({75 model: "gpt-image-2.5-flare",76 prompt: "hero poster with bold title",77 quality: "high",78 name: "Hero Poster",79});8081// With reference images — pass project asset ids; backend resolves bytes82submit_image({83 model: "gpt-image-2.5-flare",84 prompt: "change background to beach",85 referenceAssetIds: ["<assetId>"],86 name: "Beach Edit",87});8889// Reference-heavy with nano-banana90submit_image({91 model: "nano-banana",92 prompt: "composite poster",93 referenceAssetIds: ["<id1>", "<id2>"],94 name: "Composite",95});9697// Multiple images98submit_image({99 model: "gpt-image-2.5-flare",100 prompt: "product shots",101 count: 3,102 name: "Product",103});104```105106After submission, call `track_progress` with `action=status jobIds=<jobId>`. If the current task depends on a non-terminal result, follow its `checkBackAfterSeconds` sleep guidance before each later status check; `action=wait` is only a non-blocking compatibility alias.107108## Rules109110- Always provide `name` with a short descriptive asset name.111- Wait for completion unless the user only asked to queue. Use returned asset ids for further edits; use `edit_item` to place an image on the timeline when requested.112- Generation costs credits. Before submitting, briefly tell the user what you're about to generate — especially when generating multiple images.113- Do not use this skill for job management. Use `track_progress` tool for that.