# GPT Image 2

Cheap and quick at low, and it climbs with the quality you ask for.

Model id: `gpt-image-2`
Type: Image
Made by: OpenAI
Inputs: Text, References
Updated: Oct 12, 2026

## Pricing

| Setting | MiniAPI | fal | Difference |
| --- | ---: | ---: | ---: |
| low | $0.0055 / image, 1024x768 | $0.005 | +10% |
| medium | $0.0407 / image, 1024x768 | $0.037 | +10% |
| high | $0.159 / image, 1024x768 | $0.145 | +10% |

You are not charged for a job that fails.

## Parameters

| Name | Required | Values | Default | Description |
| --- | --- | --- | --- | --- |
| `prompt` | Yes | text |  | What to make, in plain words. |
| `mask_url` | No | https URL |  | A black and white picture: white is the part to change. Only with edit. |
| `image_urls` | For edit | https URLs |  | Pictures to use as references. Only with edit. |
| `background` | No | auto, transparent, opaque | auto | What to do with the background. |
| `quality` | No | auto, low, medium, high | high | Detail level. Higher costs more. |
| `num_images` | No | 1 to 4 | 1 | How many images to make. Each one is charged. |
| `output_format` | No | jpeg, png, webp | png | File type of the result. |
| `image_size` | No | square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9, auto |  | Width and height in pixels, or a named size. |
| `image_size.height` | No | to 14142 |  | The height of the generated image. |
| `image_size.width` | No | to 14142 |  | The width of the generated image. |

## Quickstart

```bash
curl -X POST "https://api.minicut.ai/v1/queue/gpt-image-2" \
  -H "Authorization: Key $MINIAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"a red fox in fresh snow, morning light"}'
```

```json
{
  "request_id": "0192f3a4-5b6c-7d8e-9f01-23456789abcd",
  "status": "IN_QUEUE",
  "queue_position": 0,
  "status_url": "https://api.minicut.ai/v1/queue/gpt-image-2/requests/0192f3a4-5b6c-7d8e-9f01-23456789abcd/status",
  "response_url": "https://api.minicut.ai/v1/queue/gpt-image-2/requests/0192f3a4-5b6c-7d8e-9f01-23456789abcd",
  "cancel_url": "https://api.minicut.ai/v1/queue/gpt-image-2/requests/0192f3a4-5b6c-7d8e-9f01-23456789abcd/cancel",
  "price": "0.159000",
  "currency": "USD"
}
```

Page: https://api.minicut.ai/models/gpt-image-2
API reference: https://api.minicut.ai/docs/api
