API Documentation

All requests (except /v1/health) require the Authorization: Bearer YOUR_API_KEY header.

POST/v1/images/generations

Generate images from a text prompt.

GET/v1/models

List available generation models.

GET/v1/account

Current user token balance.

GET/v1/health

API availability endpoint for monitoring.

generate-image.sh