OpenAI gpt-image-1.5 (US)

OpenAI API model gpt-image-1.5 in US (region-scoped projection).

Provider: All OpenAI models | OpenAI API

Inference regions: us

API Endpoint

https://api.openai.com/v1/chat/completions

Quick Start (Python)

Install: pip install openai

from openai import OpenAI

client = OpenAI()

response = client.chat.completions.create(
    model="gpt-image-1.5",
    messages=[
        {"role": "user", "content": "Hello, how are you?"},
    ],
    max_completion_tokens=1024,
    temperature=0.7,
)

print(response.choices[0].message.content)

Supported Parameters

ParameterTypeDescription
max_completion_tokensintegerMaximum number of tokens to generate, including reasoning tokens. (≥1)
temperaturefloatControls randomness. Lower values make output more deterministic. (0–2) Default: 1.
top_pfloatNucleus sampling threshold. (0–1) Default: 1.
frequency_penaltyfloatPenalises tokens based on their frequency in the text so far. (-2–2) Default: 0.
presence_penaltyfloatPenalises tokens based on whether they appear in the text so far. (-2–2) Default: 0.
stopstringUp to 4 sequences where the model will stop generating.