gpt-image-1-mini API
gpt-image-1-mini from OpenAI is available for Image generation or processing through ServerNet’s native API. Use the request example and supported limits on this page.
AvailableService type
1 request · The final usage amount follows the reported result and the permitted request options.
The usage rate is fixed at request admission. Reported consumption determines the final usage amount.
- API model ID
- gapgpt-gpt-image-1-mini-54a6b8550b
- Model developer
- OpenAI
- Service type
- Image generation or processing
- Current availability
- Available
Model features
No additional gateway capabilities have been confirmed for this model.
What is gpt-image-1-mini?
Use the public identifier gapgpt-gpt-image-1-mini-54a6b8550b for gpt-image-1-mini in ServerNet. The gateway uses this identifier to select the configured route; the developer is OpenAI.
For gpt-image-1-mini, use the listed model ID and endpoint instead of assuming every GPT parameter is supported. Compare both input and output prices for your expected request size.
Where to use gpt-image-1-mini
- Evaluate gpt-image-1-mini on representative visual tasks before selecting it.
- Check dimensions, input image requirements and output format for gpt-image-1-mini.
- Keep the original prompt and task settings so visual results can be reproduced.
Build your integration
Create a project key with ai:native and send this page’s example to /v1/inference. Set the model field to gapgpt-gpt-image-1-mini-54a6b8550b. Store X-Request-Id and X-ServerNet-Charge-Irt with the result, and compare the final amount with your account’s usage receipt. Reuse the same Idempotency-Key only for an identical retry. If the result contains a file link, download and save the file when you receive it. Keeping the response for replay for 24 hours does not extend the supplier’s file-link lifetime.
Inputs and service limits
Keep the input and request options within this route’s documented limits. Check GET /v1/models before sending and use the matching key permission. The reserved amount bounds admission; the usage receipt records the final settled amount.
A bounded request cost is reserved before sending. The reported input and output token quantities are billed at the tariff and exchange rate fixed for the request. The settled amount is recorded in X-ServerNet-Charge-Irt and your account’s usage receipt.
Accepted ServerNet API parameters
Gateway request contract: 2026-10-11. These fields and defaults are enforced by /v1/inference; availability is shown above. Text byte limits are measured as UTF-8 bytes.
| Parameter | Type | Required | Declared constraints |
|---|---|---|---|
prompt | string | Yes | Minimum length: 1
Maximum length: 4096
Maximum UTF-8 bytes: 4096
|
size | string | No | Default: 1024x1024
Values: 1024x1024
|
n | integer | No | Minimum: 1
Maximum: 1
Default: 1
|
quality | string | No | Default: low
Values: low
|
output_format | string | No | Default: png
Values: png, jpeg, webp
|
Connect to gpt-image-1-mini API
Enable ai:native on your key and ai:models:read to check availability. Set SERVERNET_API_KEY in your server environment. Change the idempotency key for each new request; keep it unchanged only for an identical retry.
curl https://servernet.cloud/v1/inference \
-H "Authorization: Bearer $SERVERNET_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: CHANGE_FOR_EACH_NEW_REQUEST' \
-d '{
"model": "gapgpt-gpt-image-1-mini-54a6b8550b",
"size": "1024x1024",
"n": 1,
"quality": "low",
"output_format": "png",
"prompt": "Hello from ServerNet"
}'
Use the same Idempotency-Key when retrying an identical request. Successful responses are replayed without a second charge for 24 hours. Do not automatically retry when x-should-retry:false is present. The key is shown once. Store it in a server environment variable. Keep it out of browser code, GitHub and logs.
Keys, budgets and usage reportsFrequently asked questions
Is gpt-image-1-mini available through ServerNet?
gpt-image-1-mini is currently available on the configured route. Check GET /v1/models before sending a request: availability can change with provider capacity, catalogue freshness or account configuration.
Which model ID and API endpoint should I use for gpt-image-1-mini?
Create a key with ai:native and send this page’s example to /v1/inference. Video and music return a 202 receipt and a result polling URL.
How is gpt-image-1-mini usage charged?
A bounded request cost is reserved before sending. The reported input and output token quantities are billed at the tariff and exchange rate fixed for the request. The settled amount is recorded in X-ServerNet-Charge-Irt and your account’s usage receipt.
What should I check before using gpt-image-1-mini in production?
Keep the input and request options within this route’s documented limits. Check GET /v1/models before sending and use the matching key permission. The reserved amount bounds admission; the usage receipt records the final settled amount.