Atlas / Skills / inference-sh / Gpt Image

Gpt ImageSAFE

skills/inference-sh/gpt-image

inference.sh Agent skills for using our API to give your agents access to hundreds of apps and other agents

Verdict
SAFE
Grade
B
Trust score
89 /100
Version
—
Hosts
—
License
—
Stars
767
01

Overview

inference.sh Agent skills for using our API to give your agents access to hundreds of apps and other agents

Read from source at commit d30242fc0e10OBSERVED · 2026-10-14
02

Install

Commands as the repository documents them. They are shown, not run.

npx skills add inference-sh/skills@infsh-cli
npx skills add inference-sh/skills@ai-image-generation
npx skills add inference-sh/skills@flux-image
npx skills add inference-sh/skills@p-image
03

What it tells the agent

The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.

---
name: gpt-image
description: "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"
allowed-tools: Bash(belt *)
---

> **Install the belt CLI skill:** `npx skills add belt-sh/cli`

# GPT-Image

Generate and edit images with OpenAI's GPT-Image-2.5 and GPT-Image-2 via [inference.sh](https://inference.sh) CLI.

## Models

| 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.

## Quick Start

> Requires inference.sh CLI (`belt`). [Install instructions](https://raw.githubusercontent.com/inference-sh/skills/refs/heads/main/cli-install.md)

```bash
belt login

belt app run openai/gpt-image-2-5-flare --input '{"prompt": "a cat astronaut floating in space"}'
```


## Capabilities

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 |

## Examples

### Text-to-Image

```bash
belt app run openai/gpt-image-2-5-flare --input '{
  "prompt": "professional product photo of sneakers on a white background, studio lighting",
  "quality": "high"
}'
```

### Multiple Images

```bash
belt app run openai/gpt-image-2-5-flare --input '{
  "prompt": "minimalist logo design for a coffee shop",
  "n": 4,
  "quality": "medium"
}'
```

### Image Editing with Reference

```bash
belt app run openai/gpt-image-2-5-flare --input '{
  "prompt": "change the background to a beach at sunset",
  "images": ["https://your-image.jpg"]
}'
```

### Precise Edit with Sunburst

Sunburst is built to change only what you ask for and preserve the rest.

```bash
belt app run openai/gpt-image-2-5-sunburst --input '{
  "prompt": "change the jacket to red leather, keep the person, pose and background unchanged",
  "images": ["https://your-photo.jpg"],
  "quality": "high"
}'
```

### Maximum Detail

```bash
belt app run openai/gpt-image-2-5-flare --input '{
  "prompt": "macro photo of a dragonfly wing, intricate veins, morning dew",
  "quality": "max"
}'
```

### Multi-Image Reference

```bash
belt app run openai/gpt-image-2-5-flare --input '{
  "prompt": "combine these two characters into one scene",
  "images": ["https://character1.jpg", "https://character2.jpg"]
}'
```

### Inpainting with Mask

```bash
belt app run openai/gpt-image-2-5-flare --input '{
  "prompt": "replace with a red sports car",
  "images": ["https://street-scene.jpg"],
  "mask": "https://car-mask.png"
}'
```

### Transparent Background

Prompt for an isolated subject — describing a scene or backdrop makes the model draw one. Requires `png` (default) or `webp` output.

```bash
belt app run openai/gpt-image-2-5-flare --input '{
  "prompt": "a single red apple with a green leaf, isolated subject",
  "background": "transparent"
}'
```

### Custom Resolution

```bash
belt app run openai/gpt-image-2-5-flare --input '{
  "prompt": "wide cinematic landscape, mountains at golden hour",
  "width": 1920,
  "height": 1080,
  "quality": "high"
}'
```

### Fast Drafts

```bash
belt app run openai/gpt-image-2-5-flare --input '{
  "prompt": "quick concept sketch of a robot",
  "quality": "low"
}'
```

## Pricing

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.

## Parameters

| 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) |

## Related Skills

```bash
# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli

# All image genera
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeNA
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (1)

LOWInventory / provenance · inv.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-14 · audit v0.4.1 · source sha d30242fc0e10full audit observations/trust-audit/skill/inference-sh__gpt-image.json · Report an issue / request a re-scan
05

Audit history

Every audit this skill has had.

DateSourceVerdictGradeScoreChange
2026-10-14d30242fc0e10SAFEB89first audit
06

Questions

What does the Gpt Image skill do?

inference.sh Agent skills for using our API to give your agents access to hundreds of apps and other agents

Is Gpt Image safe to install?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.

What can Gpt Image access on my machine?

The audit observed no filesystem, network or shell use at all in its source.

How current is this page?

The grade is for one exact copy of the source (d30242fc0e10), read on 2026-10-14. The repository is watched, and a new audit runs when it changes — this is the first audit.

Advertisement