← All models

gpt-image-2

gpt-image-2·OpenAI·Image

gpt-image-2 is an image generation model from OpenAI, available through NovAPI's OpenAI-compatible API with the model ID gpt-image-2. Pricing is $0.053 per image.

GPT-Image image generation, text-to-image and image-to-image. model is now required: gpt-image-1 / gpt-image-1.5 / gpt-image-2 / gpt-image-2.5-flare / gpt-image-2.5-sunburst.

Pricing

Price
$0.053/image

You are billed in credits (1 USD = 100 credits); USD is shown for reference.

Quick start

Call gpt-image-2 through the OpenAI-compatible endpoint POST /v1/images/generations. Set model to gpt-image-2 and send your API key as a Bearer token in the Authorization header.

from openai import OpenAI

client = OpenAI(base_url="https://api.novapi.ai/v1", api_key="sk-...")

img = client.images.generate(
    model="gpt-image-2",
    prompt="An isometric night city with neon reflections, tilt-shift miniature look",
    size="1024x1024",
)
print(img.data[0].url)

More languages and parameters are on the API tab →

Quick answers

How much does gpt-image-2 cost?
Pricing is $0.053 per image. Prices are in USD (1 USD = 100 credits) and come from the live model catalog (https://api.novapi.ai/v1/models), the same source as the pricing page; any account discount applies at billing.
How do I call gpt-image-2 through NovAPI?
Send a request to https://api.novapi.ai/v1/images/generations with model set to "gpt-image-2" and your API key as a Bearer token in the Authorization header.

Contact support about this model