GPT Image 2 Beta
| Provider | OpenAI |
| Model name | gpt-image-2-beta |
| Endpoint | /v1/images/generations |
| Result | Commonly returned as b64_json |
| Pricing | See HiAPI Pricing |
GPT Image 2 Beta is useful for preview testing and comparisons. Treat availability and behavior as less stable than production model tiers.
Key Parameters
Section titled “Key Parameters”| Parameter | Type | Notes |
|---|---|---|
model | string | Use gpt-image-2-beta |
prompt | string | Use a clear visual instruction |
Example
Section titled “Example”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" }'Next Steps
Section titled “Next Steps”- Compare with GPT Image 2
- Read the Image Generation guide
- Review API Reference