Why pick it
- Availability is synced from the live service catalog.
- Pricing appears only when verified by the live service catalog.
OpenAI
gpt-image-2
GPT Image 2 is listed on the current BatchIn Model API surface.
Params
N/A
Context
N/A
Max Output
N/A
License
Vendor Commercial License
API Surface
/v1/images
Access
Available
Why pick it
Pricing
Quick start
Works with common OpenAI-style integrations. Point your client to the BatchIn base URL and start testing.
from openai import OpenAI
client = OpenAI(
base_url="https://api.batchin.tech/v1",
api_key="BATCHIN_API_KEY"
)
resp = client.images.generate(
model="gpt-image-2",
prompt="A cinematic skyline at sunrise"
)
print(resp.data[0].url)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.batchin.tech/v1",
apiKey: process.env.BATCHIN_API_KEY,
});
const resp = await client.images.generate({
model: "gpt-image-2",
prompt: "A cinematic skyline at sunrise",
});
console.log(resp.data[0]?.url);curl https://api.batchin.tech/v1/images \ -H "Authorization: Bearer ***" \ -H "Content-Type: application/json" \ -d '{
"model": "gpt-image-2",
"prompt": "A cinematic skyline at sunrise"
}'Specs
Architecture
MoE Transformer
Vendor
OpenAI
Context window
N/A
Max output
N/A
Best for
Related models
Back to model center