OpenAI: openai/gpt-image-2
gpt-image-2
openai/gpt-image-2Capabilities
3
lowmediumhigh
Context length
128K
Tokens
Max output tokens
—
Tokens
Type
Image
OpenAI
Playground
Output
Ready to generate
Configure the options and submit a prompt. Generated images will appear here.
Pricing
Pricing breakdown
Usage-based pricing, broken down by billing item at your current rates.
20% off
Input tokens
Standard rate
4 credits / 1M
Input image tokens
Standard rate
6.4 credits / 1M
Output tokens
Standard rate
24 credits / 1M
Billing items are additive. Only one matching price tier applies to each item. Charges are calculated from actual usage per request, with each item rounded up.
API
cURL example
request.sh
POST
/v1/images/generationsSynchronousOpenAI-compatible
curl "https://api.modelrover.ai/v1/images/generations" \ -X POST \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "openai/gpt-image-2", "prompt": "A quiet mountain lake.", "n": 1}'Set your API_KEY environment variable before running. Keep your key server-side.