npx skills add ...
npx skills add inference-sh/skills --skill gpt-image
Generate and edit images with OpenAI GPT-Image-2.5 and GPT-Image-2 via inference.sh CLI. Models: GPT-Image-2.5 Flare, GPT-Image-2.5 Sunburst, GPT-Image-2. Capabilities: text-to-image, image editing, inpainting, mask-based editing, multi-image reference, batch generation, transparent backgrounds. Use for: product mockups, marketing visuals, image editing, concept art, inpainting, photo manipulation. Triggers: gpt image, gpt-image-2.5, gpt image 2.5, flare, sunburst, gpt-image-2, openai image, chatgpt image, dall-e, dalle, openai image generation, gpt image edit, gpt inpainting, openai dall-e, gpt 4o image, transparent background, transparent png, remove background
npx skills add inference-sh/skills --skill gpt-image
Install the belt CLI skill:
npx skills add belt-sh/cli
Generate and edit images with OpenAI's GPT-Image-2.5 and GPT-Image-2 via inference.sh CLI.
| Model | App ID | Pick it for |
|---|---|---|
| GPT-Image-2.5 Flare | openai/gpt-image-2-5-flare | Default. Higher quality than GPT-Image-2 at 50% lower latency |
| GPT-Image-2.5 Sunburst | openai/gpt-image-2-5-sunburst | Premium edits: keeps subject and composition, tighter control across multi-turn edits |
| GPT-Image-2 | openai/gpt-image-2 | Previous generation |
All three share the same input schema. The 2.5 models add xhigh and max quality tiers.
Requires inference.sh CLI (
belt). Install instructions
Every GPT-Image app supports text-to-image generation, image editing with reference images, and mask-based inpainting through a single app.
| Feature | Description |
|---|---|
| Text-to-Image | Generate images from text prompts |
| Image Editing | Edit images using reference images |
| Inpainting | Mask-based editing of specific regions |
| Batch Generation | Generate up to 10 images at once |
| Multiple Formats | PNG, JPEG, WebP output |
| Transparent Background | Alpha-channel PNG/WebP output for stickers, icons, product cutouts |
| Flexible Resolution | Any size in 16px increments (256–3840), aspect ratio up to 3:1 |
Sunburst is built to change only what you ask for and preserve the rest.
Prompt for an isolated subject — describing a scene or backdrop makes the model draw one. Requires png (default) or webp output.
Approximate price per 1024x1024 image. Flare and Sunburst cost the same.
| Quality | GPT-Image-2.5 | GPT-Image-2 |
|---|---|---|
| low | $0.006 | $0.006 |
| medium | $0.013 | $0.053 |
| high | $0.053 | $0.21 |
| xhigh | $0.094 | – |
| max | $0.21 | – |
Larger resolutions cost more. Edits add about $0.008 per reference image. See belt app get openai/gpt-image-2-5-flare for full pricing details.
| Parameter | Type | Default | Description |
|---|---|---|---|
prompt | string | required | Text prompt describing the image |
images | array | - | Reference image(s) for editing |
mask | string | - | Mask image for inpainting |
n | integer | 1 | Number of images (1–10) |
quality | string | auto | low, medium, high, xhigh, max (xhigh/max are 2.5 only) |
width | integer | 1024 | Output width (256–3840, multiples of 16, ratio ≤ 3:1) |
height | integer | 1024 | Output height (256–3840, multiples of 16, ratio ≤ 3:1) |
output_format | string | png | png, jpeg, or webp |
output_compression | integer | - | Compression level for jpeg/webp (0–100) |
background | string | auto | auto, transparent, or opaque (transparent needs png/webp) |
Browse all image apps: belt app list --category image