MyRouterMyRouter
/
ModelsDocsSign In
Back to catalog

GPT Image 2 Native Generations

Provider: OpenAIType: Images

Description

OpenAI-compatible native GPT Image 2 generation passthrough.

Capabilities

  • text-to-image
  • native-openai-image

Model Info

Model ID
oai-gpt-image-2-generations
Modalities

Input: Text

Output: Image

Pricing

Price (per request)
$21.00

Quick Start

Use your MyRouter API key with an OpenAI-compatible base URL, then pick the example that matches your stack.

Direct HTTP request for quick testing.

curl https://api.myrouter.ai/openai/v1/chat/completions \
  -H "Authorization: Bearer $MYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "oai-gpt-image-2-generations",
    "messages": [
      {
        "role": "user",
        "content": "Hello from MyRouter"
      }
    ]
  }'