import requests r = requests.post( "https://api.aimlapi.com/v1/images/generations", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "openai/gpt-image-1-5", "prompt": "A cat holding a sign that says hello" }, ) print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/images/generations", { method: "POST", headers: { Authorization: `Bearer ${process.env.AIMLAPI_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "model": "openai/gpt-image-1-5", "prompt": "A cat holding a sign that says hello" }), }); console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/images/generations \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"openai/gpt-image-1-5","prompt":"A cat holding a sign that says hello"}'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Cached input |
Text prompt $6.5/1M · cached text $1.625/1M · generated image tokens $41.6/1M (image input tokens $10.4/1M, cached image tokens $2.6/1M; text output tokens, if used, $13/1M).
| Benchmark | Score | What it measures | Source | Retrieved |
|---|---|---|---|---|
| Text-to-Image Arena | 1104 | Human preference Elo from blind pairwise comparisons of generated images, measured independently by Artificial Analysis | Source | September 28, 2026 |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
GPT Image 1.5 This page | Image generation at scale | |||
| Image generation at scale | ||||
| Image generation at scale | ||||
| Image generation at scale | ||||
| Image generation at scale |
1. Register on our platform
2. Verify your account
3. Create an API key
4. Copy the code from this page
5. Paste it in your project
GPT-Image-1.5 is 4x Faster than the previous models – DALL-E 3 and GPT-Image-1. Detailed high resolution images now take near 30 seconds to be generated.
GPT-image-1.5 is OpenAI's most advanced image generation model, capable of creating and editing high-quality, detailed images from text descriptions and reference images.
GPT-Image-1.5 was released on December 16, 2025. OpenAI made the model available globally to all ChatGPT users and through the API on this date, marking a significant upgrade to their image generation capabilities.