Skip to content
English

GPT Image 2 Beta

ProviderOpenAI
Model namegpt-image-2-beta
Endpoint/v1/images/generations
ResultCommonly returned as b64_json
PricingSee HiAPI Pricing

GPT Image 2 Beta is useful for preview testing and comparisons. Treat availability and behavior as less stable than production model tiers.

ParameterTypeNotes
modelstringUse gpt-image-2-beta
promptstringUse a clear visual instruction
Terminal window
curl -X POST https://api.hiapi.ai/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2-beta",
"prompt": "An editorial portrait of a founder in a quiet office, dramatic natural light, premium magazine aesthetic"
}'