OpenAI: GPT-5 Image

Not supportedQuick start

GPT-5 Image is OpenAI's multimodal model, released 2025-10, pairing the GPT-5 architecture with image generation and editing. It combines improved reasoning and code quality with GPT Image 1's instruction following and text rendering.

MirAPI doesn’t offer this model. The prices shown are the official list prices.

Modalities
inImageinTextinFileoutImage
Price / 1M
$10.00 / $10.00
Context
400K
Released
Oct 14, 2025

Capabilities

ReasoningVisionLong contextPrompt cachingStructured output

Parameters

Request parameters this model accepts through the API.

include_reasoninglogprobsmax_tokensreasoningresponse_formatseedstructured_outputstemperaturetop_logprobstop_pverbosity

Quick start

POST /v1/images/generations/
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

img = client.images.generate(
    model="",
    prompt="A red bicycle leaning on a white wall",
    n=1,
    size="1024x1024",
)
# img.data[0].b64_json — or .url, depending on the model
Wire GPT-5 Image into your product

1M free tokens to start, no card required. It’s OpenAI-compatible, so you only change the base URL.

Start free