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
openai/gpt-image-1Try OpenAI: GPT Image 1 now
Runs on your balance at the prices above. New accounts start with free usage.
Settings
OpenAI: GPT Image 1 at a glance
- Input price is 100% higher 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
GPT Image 1 is an image generation and editing model from OpenAI, listed on api14 under the model id openai/gpt-image-1. It sits in the image category, and its provider describes it as generating and editing images through a dedicated Images API. If you already work with OpenAI models, this is the same vendor, exposed here through api14's OpenAI-compatible surface.
The model takes text and image inputs and returns images. Its context window is 400,000 tokens, with a maximum output of 360,000. The image parameters give you control over the shape and quality of what comes back: aspect_ratio accepts 1:1, 3:2, 2:3 or auto; quality accepts auto, low, medium or high; background accepts auto, transparent or opaque. You can request between 1 and 10 images per call with n, supply between 0 and 16 input references for edits, and set output_compression anywhere from 0 to 100. The provider highlights accurate text rendering, transparent backgrounds, and support for up to 16 reference images when editing.
Those capabilities point to a fairly specific set of jobs. Accurate text rendering makes it a reasonable fit for images that need legible words inside them, such as banners, mockups or product shots with labels. Transparent backgrounds suit assets that will be composited elsewhere, like icons, logos or layered design elements. The reference image input is what makes editing practical: you can pass existing images and ask for changes rather than generating from scratch, which is useful for iterating on a design or restyling an asset while keeping its structure. Generating several variations in one call with n helps when you want options to choose from rather than a single result.
To call it through api14, use the model id openai/gpt-image-1 against the OpenAI-compatible endpoint, so existing OpenAI client libraries and request shapes should carry over with minimal changes. The supported parameters are max_tokens, response_format, seed, and structured_outputs, alongside the image parameters described above. Use seed when you need reproducible output across runs, and response_format to control how the result is returned. Because the model outputs images rather than text, treat it as a generation endpoint rather than a chat completion one, even though the API surface is compatible.
One practical consideration is that the output modality is images only. If your task is text generation, classification, or anything that returns prose or structured text, a text model will fit better; structured_outputs here applies within an image generation request rather than turning the model into a text assistant. The 400,000 token context and 360,000 maximum output are generous, but the useful constraint is usually the 16 reference image ceiling for edits and the 10 image ceiling per call. Plan around those numbers when batching work.
How to call the OpenAI: GPT Image 1 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".
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",
"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: frequently asked questions
- How much does the OpenAI: GPT Image 1 API cost?
- OpenAI: GPT Image 1 costs Input $35.00 / 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?
- OpenAI: GPT Image 1 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 do?
- OpenAI: GPT Image 1 accepts text, image and returns image. It supports structured JSON output.
- How do I call OpenAI: GPT Image 1 from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "openai/gpt-image-1". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to OpenAI: GPT Image 1?
- Comparable Image models at a similar price: OpenAI: GPT-5 Image, Microsoft AI: MAI-Image-2.6 Flash, OpenAI: GPT-5.4 Image 2. Each runs through the same API key, so switching is one string.
OpenAI: GPT Image 1 community
New topicThis community has no topics yet. Open the first one about OpenAI: GPT Image 1.