API
POST /v1/images/generations
Generate images with provider-scoped model ids. Response includes b64_json and/or url fields.
POST
https://api.rodiumai.io/v1/images/generationsBody parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Required | Image model id (e.g. openai/gpt-image-1, google/imagen-4.0-generate-001). |
| prompt | string | Required | Text description of the image to generate. |
| n | integer | Optional | Number of images (1–10). Default 1. |
| size | string | Optional | Output size, e.g. "1024x1024", "1536x1024", "1024x1536". |
| quality | string | Optional | Quality hint when supported by the upstream model (e.g. medium). |
Request examples
…