Skip to main content
Family: GPT (OpenAI) Model ID: gpt-image-2-official Capability: 1024² – 4096² · photorealism · prompt-following Pricing: per image, official tier (live rate) GPT-Image 2 Official is a higher compliance tier of GPT-Image 2 — same model weights and output as GPT-Image 2. Use this variant when compliance, data-residency contracts, or audit requirements call for the stricter tier. The price tier reflects the premium.

Request

curl https://llm.bytespike.ai/v1/images/generations \
  -H "Authorization: Bearer $BYTESPIKE_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "model": "gpt-image-2-official",
    "prompt": "Studio shot of a teacup on a wooden table, soft natural light",
    "size": "1024x1024",
    "quality": "high"
  }'

Body parameters

Same as GPT-Image 2prompt, size, n, quality, style, output_format, output_compression. Only the model value changes.

Response

Same shape as GPT-Image 2.
{
  "created": 1715174400,
  "data": [{"url": "https://cdn.bytespike.ai/img/...", "revised_prompt": "..."}]
}
URLs pre-signed, 24h expiry.

Code examples

curl https://llm.bytespike.ai/v1/images/generations \
  -H "Authorization: Bearer $BYTESPIKE_API_KEY" \
  -H "content-type: application/json" \
  -d '{"model": "gpt-image-2-official", "prompt": "Studio teacup", "quality": "high"}'

Errors

Same as GPT-Image 2. Note the official tier can be more sensitive to rate limits during peak hours; expect occasional 429 with a longer Retry-After.

When to use

  • Compliance / data-residency contracts requiring the stricter tier.
  • Audited workflows where the compliance tier is part of the spec.
  • For lower cost on identical model output, see GPT-Image 2.
  • For text-rendering edge cases, Nano Banana 2 is also strong.

Limits

LimitValue
Max output resolution4096×4096
Max images per call (n)4
Supports quality modifierYes
Sync?Yes (≤30s typical)
Avg latency for 1024² high14-22s