Models

GPT Image 2.5

GPT Image 2.5 through the Cook Studio API: allowed settings, price estimate and example request.

One image per request.

Model idgpt-image-25
TypeImage
EndpointPOST /generations
Available nowYes
count1
aspect_ratio16:9, 9:16, 1:1, 4:3, 3:4
promptup to 4,000 characters

Price

Prices are the same as in the app and can change, so they are not listed here. Ask for the current price first; nothing is charged:

curl https://app.cookstudio.ai/api/v1/generations/estimate -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"model":"gpt-image-25","prompt":"A red fox in fresh snow, golden hour, shallow depth of field","aspect_ratio":"16:9"}'

Generate

curl https://app.cookstudio.ai/api/v1/generations -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"model":"gpt-image-25","prompt":"A red fox in fresh snow, golden hour, shallow depth of field","aspect_ratio":"16:9"}'
# → 201 {"id": "…", "object": "generation", "model": "gpt-image-25", "status": "running", "credits": …}

Then poll GET /generations/{id} until status is done and download the file from /generations/{id}/file. A failed generation is refunded in full.

The allowed values on this page are read from the same list the API checks against, and GET /models returns them live.