Endpoints
Images
Synchronous image generation from a text description. The request and response format is compatible with the OpenAI Images API.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Image model ID from the catalog. |
prompt | string | Yes | Natural-language image description. |
size | string | No | Canvas size supported by the model (e.g. 1024x1024). |
n | number | No | Number of images in the request. |
cURL request
POST/v1/images/generations
cURL
curl -X POST https://kiree.net/v1/images/generations \
-H "Authorization: Bearer sk-your-kiree-key" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-nano-banana-2-1",
"prompt": "neon city at night, cinematic",
"size": "1024x1024",
"n": 1
}'