All modelsOpen in Console
Get started free
OpenAI GPT Image 2
openaiopenai/gpt-image-2
OpenAI's native multimodal image model. Strong at photorealism, complex scene composition, and prompt adherence. Accepts reference images for editing and compositing.
Input
Image and prompt
Output
Generated images
Tools
MINIMAL
Reasoning
No
Pricing
| Lane | Per 1M tokens |
|---|---|
| Input | $5.00 |
| Output | $30.00 |
Billed per token. No minimums, no per-request fees. Caching applies on supported providers; misses fall back to standard input/output rates.
Quickstart
from openai import OpenAI
client = OpenAI(
base_url="https://api.vecbase.com/v1",
api_key="sk-vbc-...",
)
with open("product.jpg", "rb") as image:
response = client.images.edit(
model="openai/gpt-image-2",
image=image,
prompt="Create a commerce-ready vertical product detail image.",
size="1024x1024",
quality="low",
)
print(len(response.data), response.usage)Ready to ship?
Create a project, mint an API key, and call this model from any OpenAI-compatible client.