We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
OpenAI: GPT Image 1 Mini
openai/gpt-image-1-miniTry OpenAI: GPT Image 1 Mini now
Runs on your balance at the prices above. New accounts start with free usage.
Settings
OpenAI: GPT Image 1 Mini at a glance
- Input price is 50% lower than the median of 21 Image models.
- Context window of 400,000 tokens, enough for long documents and multi-turn conversations.
- Supports structured JSON output with a schema.
About OpenAI: GPT Image 1 Mini
GPT Image 1 Mini is an image generation model from OpenAI. It is positioned as a cost-efficient variant of GPT Image 1, aimed at producing high-quality images with reduced latency compared to the full model. On api14 it appears under the image category and is identified by the model id openai/gpt-image-1-mini.
The model accepts text and image inputs and returns images. Its context window is 400,000 tokens, with a maximum output of 360,000 tokens. Because the output modality is image rather than text, the model is built for generation tasks rather than chat or text completion. Image inputs mean you can supply reference material alongside your prompt, which the model can use to guide what it produces.
That combination of text and image input with image output supports a range of practical work. You can generate images from written descriptions, produce variations on an existing image by passing it as a reference, or steer a generation with several references at once. The aspect ratio, quality and background controls let you match output to a specific layout or use case, such as a square social asset, a portrait crop or a transparent background for compositing. Because generation is the only output, the model is not intended for tasks like captioning, classification or text extraction from images.
You call it through api14's OpenAI-compatible API using the model id openai/gpt-image-1-mini. The supported request parameters are max_tokens, response_format, seed and structured_outputs. Alongside these, the model exposes image-specific controls: aspect_ratio accepts 1:1, 3:2, 2:3 or auto; quality accepts auto, low, medium or high; background accepts auto, transparent or opaque; n sets how many images to return, from 1 to 10; input_references sets how many reference images to pass, from 0 to 16; and output_compression runs from 0 to 100. A seed lets you reproduce a generation, and response_format controls how the result is returned.
Keep the parameter set in mind when planning an integration. The model outputs images only, so if you need text back from an image, a vision or multimodal text model is the better fit. The 400,000 token context window is generous for prompts and references, but the output is an image, not prose. If your workload centers on generating images from text or references and you want the cost-efficient variant of GPT Image 1, this model is the appropriate choice.
How to call the OpenAI: GPT Image 1 Mini API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "openai/gpt-image-1-mini".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.images.generate({
"model": "openai/gpt-image-1-mini",
"prompt": "A minimalist product photo of a ceramic mug on a wooden table",
"n": 1,
"aspect_ratio": "1:1"
});
import { writeFile } from "node:fs/promises";
await writeFile("image.png", Buffer.from(result.data[0].b64_json, "base64"));
Supported parameters
max_tokensresponse_formatseedstructured_outputsSpecifications
- Context length
- 400,000
- Max output
- 360,000
- Input
- text, image
- Output
- image
Requests on api14 · last 7 days
OpenAI: GPT Image 1 Mini: frequently asked questions
- How much does the OpenAI: GPT Image 1 Mini API cost?
- OpenAI: GPT Image 1 Mini costs Input $8.75 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of OpenAI: GPT Image 1 Mini?
- OpenAI: GPT Image 1 Mini reads up to 400,000 tokens per request: prompt, history and documents together. It writes up to 360,000 output tokens per response.
- What can OpenAI: GPT Image 1 Mini do?
- OpenAI: GPT Image 1 Mini accepts text, image and returns image. It supports structured JSON output.
- How do I call OpenAI: GPT Image 1 Mini from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "openai/gpt-image-1-mini". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to OpenAI: GPT Image 1 Mini?
- Comparable Image models at a similar price: Meta: Muse Image, OpenAI: GPT-5 Image Mini, Google: Nano Banana 2 (Gemini 3.1 Flash Image). Each runs through the same API key, so switching is one string.
OpenAI: GPT Image 1 Mini community
New topicThis community has no topics yet. Open the first one about OpenAI: GPT Image 1 Mini.