GPT Image 1 Mini Edit
openai/gpt-image-1-mini/editGpt 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
Try the model
Playground
PNG, JPEG, WebP, or GIF · 20 MiB maximum each
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.
- #59HiDream-O1-Image954±14
- #60Kling Image 3.0 Omni952±14
- #61Vidu Q2951±18
- #62Kling Image O1944±14
- #63FLUX.2 [klein] 4B938±17
- #64GPT Image 1 Mini (medium)934±19
- #65FLUX.1 Kontext [max]932±19
- #66FLUX.1 Kontext [pro]916±19
- #67FIBO Edit915±19
- #68SeedEdit 3.0901±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
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Text instruction. |
images | image URL[] | — | Images to edit, Image 1, Image 2, … |
output_format | jpeg / png | png | Output file format. |
background | auto / transparent / opaque | auto | transparent returns a PNG with alpha. |
quality | auto / low / medium / high | auto | auto lets the model pick; billed as high. |
aspect_ratio | 1:1 / 3:2 / 2:3 | 1:1 | 1: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 prompt | 1:1 | 3: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.
# 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
| Model | Type | Default price | Released |
|---|---|---|---|
GPT Image 1 Mini EditThis model OpenAI | Image | $0.04 / run | Oct 21, 2025 |
OpenAI | Image | $0.09 / run | Aug 20, 2026 |
OpenAI | Image | $0.10 / run | Aug 20, 2026 |
OpenAI | Image | $0.09 / run | Aug 20, 2026 |
OpenAI | Image | $0.10 / run | Aug 20, 2026 |
OpenAI | Image | $0.22 / run | Apr 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.

