RodiumAi docs
Core concepts

Image generation

From zero: install openai, set base_url, call images.generate. Billed per image in RODI.

POSThttps://api.rodiumai.io/v1/images/generations

RodiumAi exposes OpenAI-compatible image generation. Use the official OpenAI package — only the base URL and API key change.

Examples

Request parameters

ParameterTypeRequiredDescription
modelstringRequiredImage model id (e.g. openai/gpt-image-1, google/imagen-4.0-generate-001).
promptstringRequiredText description of the image to generate.
nintegerOptionalNumber of images (1–10). Default 1.
sizestringOptionalOutput size, e.g. "1024x1024", "1536x1024", "1024x1536".
qualitystringOptionalQuality hint when supported by the upstream model (e.g. medium).

API reference: images