Why pick it
- Request access before sending production traffic.
- Pricing is shown when the model is available for your account.
Image generation model
gpt-image-2-4k
GPT Image 2 4K is available by request. Contact sales or request access from your workspace.
Params
N/A
Context
N/A
Max Output
N/A
License
Vendor Commercial License
API Surface
/v1/images
Access
Available on request
Why pick it
Pricing
Quick start
This model is not yet open for public testing. Contact the team for the right access path.
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-4k",
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-4k",
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-4k",
"prompt": "A cinematic skyline at sunrise"
}'Specs
Architecture
MoE Transformer
Model type
Image generation model
Context window
N/A
Max output
N/A
Best for
Related models
Back to model center