GPT Image 2
GPT Image 2 delivers next-gen AI image generation with near-perfect text rendering, native 4K output, and rich world knowledge.
Use cases
gpt-image-2 prototyping · gpt-image-2 production workflows
Input
Text or image
Output
Image
Billing
Per image
Sign up to get $0.5 in free credits — about 20 free images
Generate an image
Enter a prompt and click Generate
gpt-image-2 Examples
👆 Click on any example above to view full details, prompt, and parameters
Pricing details
Transparent usage-based pricing with no hidden fees.
Detailed Pricing
Usage-based pricing breakdown
| Spec | Price | Official | Savings |
|---|---|---|---|
| low@1K/image | 0.0048 Credits≈$0.0048 | 0.006 Credits | -20% |
| low@2K/image | 0.008 Credits≈$0.008 | 0.01 Credits | -20% |
| low@4K/image | 0.016 Credits≈$0.016 | 0.02 Credits | -20% |
| medium@1K/image | 0.0424 Credits≈$0.0424 | 0.053 Credits | -20% |
| medium@2K/image | 0.048 Credits≈$0.048 | 0.06 Credits | -20% |
| medium@4K/image | 0.088 Credits≈$0.088 | 0.11 Credits | -20% |
| high@1K/image | 0.1688 Credits≈$0.1688 | 0.211 Credits | -20% |
| high@2K/image | 0.184 Credits≈$0.184 | 0.23 Credits | -20% |
| high@4K/image | 0.328 Credits≈$0.328 | 0.41 Credits | -20% |
Billing Rules
- Output price varies by model, resolution, quality, duration, or token usage.
- Uploaded reference files may be charged separately when supported.
- Add-on capabilities such as web search or image search may be billed per request.
- Token-based models are billed by input and output tokens.
- If the primary route is unavailable, Velokey may automatically switch to a stable fallback route when possible.
- Usage is pay-as-you-go with transparent credit deduction.
* Final cost depends on the generated result.
Related models
Explore other models in the same family.
AlibabaSave 20%Wan 2.7 Image
Alibaba Wan 2.7 Image with Thinking Mode for prompt-accurate generation, thousand-face realism, instruction editing, and 4K multilingual text.
AlibabaSave 20%Qwen Image 2.0
Qwen-Image-2.0 combines generation and editing, supports long descriptions, and produces high-quality 2K results.
ByteDanceSave 20%Doubao Seedream 5.0
Seedream 5.0 Lite delivers ByteDance's cutting-edge text-to-image generation with 4K output and precise text rendering.
ByteDanceSave 20%Doubao Seedream 4.5
Seedream 4.5 focuses on crisp text rendering, visual consistency, and stable product-style compositions for commerce workflows.
Affordable gpt-image-2 API
Access OpenAI's new-generation image model on Velokey — flexible sizes up to 4K, text-to-image and editing, multi-image reference, and stronger text rendering, with a unified endpoint and below-list pricing for commercial visual production.
Meet gpt-image-2 and its API access
gpt-image-2 is OpenAI's new-generation model for fast, high-quality image generation and editing. It supports flexible sizes (square, landscape, portrait) up to a 3840px max edge (~4K), generating from text via images/generations or editing and inpainting via images/edits, with multi-image reference input.\n\nThe model supports low / medium / high / auto quality, outputs png / jpeg / webp, and processes input images at high fidelity automatically. Velokey provides an affordable, easy-to-integrate gpt-image-2 API: a unified endpoint, a clear request flow, and below-list pricing for product visuals, marketing assets, and creative design workflows.
Flexible sizes up to 4K
Supports square (1024², 2048²), landscape (1536×1024, 3840×2160), and portrait (1024×1536, 2160×3840) sizes with a max edge of 3840px and aspect ratio up to 3:1 — fit for everything from thumbnails to large posters.
View Documentation →
Text-to-image and editing
Generate from text with images/generations, edit and inpaint with images/edits. Masking is prompt-based, letting you modify targeted regions for iterative creation.
View Documentation →
Multi-image reference & high-fidelity input
Provide multiple reference images and the model composes a new one; input images are processed at high fidelity automatically — no parameter tuning — keeping style and subject consistent.
View Documentation →
Stronger text rendering & world knowledge
Markedly improved at rendering text in images, with rich world knowledge and more accurate prompt understanding to turn creative intent into finished images.
View Documentation →
How to deploy the gpt-image-2 API on Velokey
Get started with just a few steps.
Sign up and get an API Key
Sign in to the Velokey console to generate an API Key that authenticates every request sent to gpt-image-2.
Configure request parameters
Set model to gpt-image-2 and submit a prompt, with size, quality (low/medium/high/auto), format, and n as needed. For editing, use images/edits with a reference image and an optional mask.
Integrate and start calling
Send requests to Velokey's unified endpoint to power product imagery, marketing assets, and creative design, with usage managed in one console. Complex prompts may take up to ~2 minutes.
Real-world use cases for gpt-image-2
From commercial visuals to creative illustration, covering many image-production scenarios.
Product & ad visuals
Generate premium product shots and ad creative, with flexible sizes for e-commerce, feeds, and landing pages.
Posters & marketing assets
Quickly produce event posters, social visuals, and marketing graphics, with stronger text rendering for titles and layout.
Editorial illustration & publishing
Generate editorial-style illustration and imagery for content, media, and publishing teams across varied styles.
Style & subject consistency
With multi-image reference and high-fidelity input, keep style, character, and brand consistent across a series.
Image editing & inpainting
Use images/edits for local changes, extension, and repainting — fit for iterative refinement and remixing.
Design prototypes & UI assets
Quickly generate placeholders and visual assets for products, interfaces, and prototypes to speed up design and dev.
Why choose Velokey for gpt-image-2
Discount on list price
Call gpt-image-2 at a lower price on Velokey — pay-as-you-go with no forced subscription, cutting the cost of batch generation.
Unified API interface
One API Key accesses gpt-image-2 and other models — no juggling multiple accounts and keys, simplifying integration.
Complete docs and migration guidance
Generations / edits endpoint references, size and quality parameter details, and examples help you integrate quickly.
Stable and highly available
Automatic failover and stable fallback routes maintain availability when the primary route is down, keeping batch generation reliable.
API Reference
Complete API call examples and parameter descriptions
Endpoint
https://api.velokey.ai/v1/chat/completionsAuthentication
Bearer YOUR_API_KEYRequest Example
curl https://api.velokey.ai/v1/chat/completions \
-X POST \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2",
"prompt": "A premium product photo...",
"size": "1024x1024",
"quality": "high"
}'Response Example
{
"id": "req_abc123",
"model": "gpt-image-2",
"created": 1234567890,
"data": { ... }
}gpt-image-2 API FAQ
What is the gpt-image-2 API?
gpt-image-2 is available through Velokey as a image model. Set model to gpt-image-2 and use the family-specific endpoint.
Which parameters does gpt-image-2 use?
The playground shows the main fields for gpt-image-2, including the model id and the most important generation parameters.
How is gpt-image-2 billed?
Pricing is shown on this page when available, and credits are managed from one Velokey account.
Who should use gpt-image-2?
It fits teams that want to test, compare, and ship AI capabilities through a unified API.
Start building with GPT Image 2 today
Use one API key to access low-cost, stable AI models through Velokey.