GPT Image documentation

GPT Image API: live models, key & cost per image

Use the GPT Image API on AngelAPI across 18 live online image models spanning base, medium, and high quality tiers—starting from just 550K tokens (RM0.062) per picture. Developers get a predictable OpenAI-compatible /v1/images/generations workflow funded via RM1.12+ prepaid packs rather than recurring monthly design plans.

GPT Image API key

Provisioning one key inside AngelAPI unlocks all 18 GPT Image entries plus Nano Banana, Qwen Image, and chat models on the same prepaid balance:

  1. Open an AngelAPI account and pick a prepaid token pack under Pricing from RM1.12 (10M tokens) using Malaysian DuitNow QR / FPX or international USD crypto.
  2. Reveal your key in Account and inject ANGELAPI_KEY into your image script or MCP client header.

GPT Image API pricing and cost per image

Every GPT Image route bills a fixed token unit count per completed image—meaning a RM1.12 pack (10M units) produces up to 18 base pictures (~RM0.062 each), 5 medium renders (~RM0.19 each), or 3 high renders (~RM0.29 each). Standard square (1024x1024), portrait (1024x1536), and landscape (1536x1024) presets are supported. Notice the three exact pricing tiers below:

Model IDTypeStatusTokens per unitMYR per unit (RM0.112/1M)
gpt-5.6-luna-imageImageonline550K / imageRM0.062 / image
gpt-5.6-sol-imageImageonline550K / imageRM0.062 / image
gpt-5.6-terra-imageImageonline550K / imageRM0.062 / image
gpt-image-1.5Imageonline550K / imageRM0.062 / image
gpt-image-2Imageonline550K / imageRM0.062 / image
gpt-image-2.5Imageonline550K / imageRM0.062 / image
gpt-image-2.5-flareImageonline550K / imageRM0.062 / image
gpt-image-2.5-flare-highImageonline2.55M / imageRM0.29 / image
gpt-image-2.5-flare-mediumImageonline1.70M / imageRM0.19 / image
gpt-image-2.5-sunburstImageonline550K / imageRM0.062 / image
gpt-image-2.5-sunburst-highImageonline2.55M / imageRM0.29 / image
gpt-image-2.5-sunburst-mediumImageonline1.70M / imageRM0.19 / image
gpt-image-2.6-flareImageonline550K / imageRM0.062 / image
gpt-image-2.6-flare-highImageonline2.55M / imageRM0.29 / image
gpt-image-2.6-flare-mediumImageonline1.70M / imageRM0.19 / image
gpt-image-2.6-sunburstImageonline550K / imageRM0.062 / image
gpt-image-2.6-sunburst-highImageonline2.55M / imageRM0.29 / image
gpt-image-2.6-sunburst-mediumImageonline1.70M / imageRM0.19 / image
PackPrepaid tokensMYR priceRate per 1M units
10M10MRM1.12RM0.112
50M50MRM5.59RM0.112
100M100MRM11.18RM0.112
200M200MRM22.35RM0.112
300M300MRM33.53RM0.112
500M500MRM55.88RM0.112
1B1BRM111.77RM0.112

Is the GPT Image API free?

No—image synthesis consumes prepaid tokens per generated picture on AngelAPI. No active free_until image promo or Telegram welcome giveaway is live today, and non-billable requests are strictly metadata discovery calls (GET /v1/models and MCP list_media_models). Still, at ~RM0.062 per base render, the RM1.12 starter pack lets you iterate well over a dozen production images cheaply.

GPT Image API URL / base URL and models list

Direct image requests target POST https://api.angelapi.cc/v1/images/generations returning base64 PNG payloads inside data[0].b64_json. When selecting IDs in code, choose a base tier (such as gpt-image-2.6-flare) for low-cost ideation or select exact -medium and -high model IDs for final hero artwork. Inside Playground, pick any base ID and switch the built-in Quality menu directly.

GPT Image API status

All 18 GPT Image entries report 100% 24-hour uptime right now. Inspect Status anytime for response telemetry or compare other image families such as Nano Banana and Qwen Image 3.0 Pro.

Code examples: curl, Python, and Node.js

Generate and save a PNG file locally using live base-tier gpt-image-2.6-flare (550K tokens / RM0.062) with standard OpenAI image generation code:

curl
curl https://api.angelapi.cc/v1/images/generations \
  -H "Authorization: Bearer $ANGELAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-2.6-flare",
    "prompt": "Clean minimalist UI icon set on matte obsidian background, soft rim lighting",
    "size": "1024x1024"
  }'
Python (OpenAI SDK)
import base64, os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.angelapi.cc/v1",
    api_key=os.environ["ANGELAPI_KEY"],
)

result = client.images.generate(
    model="gpt-image-2.6-flare",
    prompt="Clean minimalist UI icon set on matte obsidian background, soft rim lighting",
    size="1024x1024",
)
with open("output.png", "wb") as f:
    f.write(base64.b64decode(result.data[0].b64_json))
Node.js (fetch)
import { writeFileSync } from "node:fs"

const res = await fetch("https://api.angelapi.cc/v1/images/generations", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${process.env.ANGELAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "gpt-image-2.6-flare",
    prompt: "Clean minimalist UI icon set on matte obsidian background, soft rim lighting",
    size: "1024x1024",
  }),
})
const data = await res.json()
writeFileSync("output.png", Buffer.from(data.data[0].b64_json, "base64"))

Related model APIs and developer guides

Frequently asked questions

How many GPT Image variants are live on AngelAPI?

All 18 GPT Image entries in the live directory are currently online: 10 base models at 550K tokens (~RM0.062), 4 medium-tier models at 1.7M (~RM0.19), and 4 high-tier models at 2.55M (~RM0.29) per image.

Why do separate -medium and -high model IDs appear in /api/pricing?

In direct API calls, pick the exact tier suffix (-medium or -high) or base ID matching the quality level you want to pay for. Inside AngelAPI Playground, choose Quality (low, medium, high) from the dropdown cleanly.

Does a RM1.12 starter pack cover GPT Image requests?

Yes! A 10M token pack (RM1.12) covers up to 18 base-tier images at 550K tokens each, 5 medium-tier images, or 3 high-tier renders.

Is AngelAPI affiliated with OpenAI?

No. AngelAPI is an independent third-party gateway and is not an official OpenAI or ChatGPT partner.