Back to approved models

Approved model profile_

OpenAIactive

GPT Image 2

OpenAI's latest image generation model. Supports high-fidelity image generation and editing via the dedicated Images API.

gpt-image-2
relay/request.mjsready to route
POST https://api.pipellm.ai/v1/images/generations
Authorization: Bearer $PIPELLM_API_KEY
Content-Type: application/json

Model: gpt-image-2
See the provider documentation for request parameters.
policy checked provider selected
CONTEXTN/Aprompt window
MAX OUTPUTN/Aper response
INPUT$8.00 / Mtoken price
OUTPUT$30.00 / Mtoken price

Route configuration_

Call this model through its native API.

Use the documented HTTP endpoint and request body for this model.

ENDPOINThttps://api.pipellm.aiUse the native HTTP request format for this model.

NATIVE API · NO CONVERSION

Native HTTP/v1/images/generationsDocs Use this native API directly. Protocol conversion is not supported.
MODEL IDgpt-image-2Use this in every request
GOVERNANCEPolicy controlledApprovals and tool rules apply
PROVIDER AVAILABILITY2 routes
ProviderContextMax outputDiscountInput / MOutput / M
AzureN/AN/A—$8.00 / M$30.00 / M
Openai-Azure-01N/AN/A—$8.00 / M$30.00 / M
Displayed pricing is per one million tokens and may vary by provider.
SUPPORTED SURFACESactive
input: textinput: imageoutput: image

Relay governs model access with the same routing policy that Lens keeps visible and auditable.