GPT-Image-2
gpt-image-2
State-of-the-art image generation and editing model. Use POST /v1/images/generations.
Vision vision
| Model ID | gpt-image-2 |
|---|---|
| Context | |
| Output | |
| Modalities | image |
API
curl https://noxery.net/v1/images/generations \
-H "Authorization: Bearer nox-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-image-2", "prompt": "Create a watercolor image of Istanbul\u0027s Bosphorus at sunset.", "n": 1, "response_format": "b64_json"}'