OpenAI
GPT Image 1 Edit Mini
Affordable text-driven image generation and editing
imagelive
- Model id
- gpt-image-1-edit-mini
- Typical run
- ~20s
- Inputs
- 9 parameters
- Contract
- async
Call it
bash
curl -X POST https://api.ezflows.io/v1/models/gpt-image-1-edit-mini \
-H "Authorization: Bearer $EZFLOWS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "a wide shot of a desert at dusk", "image_urls": ["https://…"], "mask": "a wide shot of a desert at dusk"}'
# { "request_id": "req_8f2a41c9", "poll_url": "…", "status": "queued" }Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| prompt required | string | — | Text input to generate the desired image. For a 3D action figure, describe clothing and accessories vividly. |
| image_urls required | string[] | — | URLs of source images. Include multiple URLs for diverse image references. |
| mask required | string | — | Input Image for masking. Use when specific parts of the image need editing. |
| size | enum | auto | Image resolution selection. Use 'auto' for default or 1024x1024 for quicker generation. |
| quality | enum | — | Controls output image quality. 'Auto' suits most needs while 'high' is best for detailed outputs. |
| background | enum | opaque | Chooses between transparent or opaque background. Use 'transparent' for standalone figures. |
| output_compression | integer | 100 | Set compression level from 1-100. Use 100 for no compression and optimal quality. |
| output_format | enum | png | Choose image format: PNG for transparency, JPEG for smaller file size. |
| moderation | enum | auto | Controls image generation moderation strictness. Opt for 'low' to reduce restrictions. |
What a run costs
$0.018average · per run
$0.00for a failed run
~20smeasured mean, end to end
How it stacks up
| Model | Price | Unit | Typical run |
|---|---|---|---|
| GPT Image 1 Edit Mini | avg $0.018 | run | ~20s |
| GPT Image 1 Mini | avg $0.018 | run | ~21s |
| Nano Banana | avg $0.026 | run | ~7s |
| GPT Image 2 | from $0.009 | image | ~51s |
| Seedream 5.0 Lite: Image-to-Image | avg $0.035 | run | ~47s |