GPT Image 1 Mini Edit

openai/gpt-image-1-mini/edit

Gpt Image 1 Mini Edit is OpenAI's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.

Base price
$0.04USD / run
Execution
async
Model type
image
Input fields
6
Production route

Try the model

Playground

Open playground
Input
The prompt for image generation

PNG, JPEG, WebP, or GIF · 20 MiB maximum each

The URLs of the images to use as a reference for the generation.
Output format for the images Allowed values: jpeg, png.
Background for the generated image Allowed values: auto, transparent, opaque.
Quality for the generated image Allowed values: auto, low, medium, high.
Output aspect ratio: 1:1 (1024x1024), 3:2 (1536x1024) or 2:3 (1024x1536). Allowed values: 1:1, 3:2, 2:3.
OutputExample

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.04 / run

Context & modalities

Input
Schema-defined
Output
image

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
OpenAI
Model ID
openai/gpt-image-1-mini/edit
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

Human preference

Arena

Elo ratings from blind side-by-side votes, compared with other image and video models.

Rankings sourced from Artificial Analysis Arena

Leaderboard
Image Editing
Rank
#64 of 77
Elo
934 ±19
Gap to #1
−265

Image-editing arena: people pick the better of two edits of the same image and instruction, without seeing the model names.

  1. #59HiDream-O1-ImageHiDream954±14
  2. #60Kling Image 3.0 OmniKlingAIOn SandBase952±14
  3. #61Vidu Q2Vidu951±18
  4. #62Kling Image O1KlingAI944±14
  5. #63FLUX.2 [klein] 4BBlack Forest LabsOn SandBase938±17
  6. #64GPT Image 1 Mini (medium)OpenAIThis model934±19
  7. #65FLUX.1 Kontext [max]Black Forest Labs932±19
  8. #66FLUX.1 Kontext [pro]Black Forest Labs916±19
  9. #67FIBO EditBria915±19
  10. #68SeedEdit 3.0ByteDance Seed901±20

API README

GPT Image 1 Mini Edit

GPT Image 1 Mini edit: the low-cost GPT Image tier for quick edits and background swaps.

Fields

FieldTypeDefaultNotes
promptstring, required—Text instruction.
imagesimage URL[]—Images to edit, Image 1, Image 2, …
output_formatjpeg / pngpngOutput file format.
backgroundauto / transparent / opaqueautotransparent returns a PNG with alpha.
qualityauto / low / medium / highautoauto lets the model pick; billed as high.
aspect_ratio1:1 / 3:2 / 2:31:11:1, 3:2, or 2:3; non-square sizes cost more.

Billing

Price depends on quality and shape, plus $0.002 per started 1,000 prompt characters:

Quality, short prompt1:13:2 or 2:3
low$0.007$0.008
medium$0.013$0.017
high$0.038$0.054

Failed runs are not charged.

Prompting

  • State the change and what must stay the same.

Limits

  • Three shapes only: 1:1, 3:2, 2:3.

Also on SandBase

Related: openai/gpt-image-2/edit (higher quality).

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
openai/gpt-image-1-mini/edit
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "openai/gpt-image-1-mini/edit",
  "images": [
    "https://static.sandbase.ai/examples/openai/gpt-image-1-mini/edit/input_images_0.png",
    "https://static.sandbase.ai/examples/openai/gpt-image-1-mini/edit/input_images_1.png",
    "https://static.sandbase.ai/examples/openai/gpt-image-1-mini/edit/input_images_2.png",
    "https://static.sandbase.ai/examples/openai/gpt-image-1-mini/edit/input_images_3.png"
  ],
  "prompt": "Dress the model in the clothes and hat. Add a cat to the scene and change the background to a Victorian era building.",
  "quality": "auto",
  "background": "auto",
  "aspect_ratio": "1:1",
  "output_format": "png"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
OpenAIImage$0.04 / runOct 21, 2025
OpenAIImage$0.09 / runAug 20, 2026
OpenAIImage$0.10 / runAug 20, 2026
OpenAIImage$0.09 / runAug 20, 2026
OpenAIImage$0.10 / runAug 20, 2026
OpenAIImage$0.22 / runApr 21, 2026

Questions

FAQ

How do I call OpenAI GPT Image 1 Mini Edit through SandBase?

Create a SandBase API key, then send requests with the model ID "openai/gpt-image-1-mini/edit" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

Do I need a separate OpenAI account?

No. One SandBase API key and balance gives you access to OpenAI GPT Image 1 Mini Edit and the other models in the catalog; you do not need to sign up with OpenAI separately.