API reference / Price

Quote

llms-full.txt
POSThttps://api.minicut.ai/v1/quote/{model_id}

The exact price of a request body. Send its quote id with the submit within 15 minutes to pay exactly that.

Path

model_idstringrequired

Model id, for example seedance-2.5

Body: gpt-image-2

promptstringrequired

What to make, in plain words.

backgroundstring

What to do with the background.

autotransparentopaque
qualitystring

Detail level. Higher costs more.

autolowmediumhigh
num_imagesinteger1 to 4

How many images to make. Each one is charged.

output_formatstring

File type of the result.

jpegpngwebp
image_sizestring

Width and height in pixels, or a named size.

square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto
image_size.heightnumber
image_size.widthnumber
image_urlsarray of string, urls

Pictures to use as references.

mask_urlstring, url

A black and white picture: white is the part to change.

Response 200

quote_idstring
model_idstring
pricestring

The price, 6 decimal places, in the currency named by the `currency` field

currencystring

The currency of every amount on this object and the items inside it. Always USD

unitstring
quantitynumber
tierstring
unit_pricestring

Price of one unit, 6 decimal places, in the currency named by the `currency` field

price_book_entry_idinteger
linesarray of objects
expires_atstring
curl -X POST "https://api.minicut.ai/v1/quote/gpt-image-2" \
  -H "Authorization: Key $MINIAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"a red fox runs through snow at dawn"}'
Response 200
{
  "quote_id": "qt_01JA9Y7Q2K4M5N6P7R8S9T0V1W",
  "model_id": "gpt-image-2",
  "price": "1.750000",
  "currency": "USD",
  "unit": "second",
  "quantity": 5,
  "tier": "720p",
  "unit_price": "0.350000",
  "lines": [],
  "expires_at": "2026-10-15T12:15:00Z"
}
401missing_api_key No Authorization header
401invalid_api_key Wrong, unknown or revoked key
422validation_error A field fails the model's settings
429rate_limited Too many requests; wait for Retry-After
500internal_error Our side; try again