API endpoints
Images
POST /api/v1/images/generations — synchronous image generation, OpenAI-compatible.
POST
https://orux.top/api/v1/images/generationsRequest
This endpoint returns image URLs synchronously once generation completes. Use it only for models whose reference page specifies this endpoint. Asynchronous image models must use the Tasks API, regardless of their generation speed.
Supported request fields
- model (required) — an image-capable model alias.
- prompt (required) — text description of the desired image.
- n — number of images to generate, 1–10.
- size — image dimensions, model-dependent.
- response_format — optional, passed through to the upstream model.
Billing
Billed in Credits per generated image, only on success.