Endpoints

Images

Synchronous image generation from a text description. The request and response format is compatible with the OpenAI Images API.

Request parameters

ParameterTypeRequiredDescription
modelstringYesImage model ID from the catalog.
promptstringYesNatural-language image description.
sizestringNoCanvas size supported by the model (e.g. 1024x1024).
nnumberNoNumber 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
  }'
Available image models, sizes and the fixed per-image price are listed in the Images section and the catalog.