ClearMaas exposes image generation through two paths, depending on which model you pick:Documentation Index
Fetch the complete documentation index at: https://docs.clearmaas.com/llms.txt
Use this file to discover all available pages before exploring further.
/v1/images/generations— OpenAI image API shape. Best for dedicated image-generation models (DALL-E replacement family, Imagen, Grok Imagine)./v1/chat/completions— chat-style image generation. Best when you want a model that returns text and an image in one turn (Gemini’s nano-banana / “imagine” family).
Path 1: dedicated image API
/v1/images/generations follows the OpenAI image API shape. Model
families that serve this endpoint:
- OpenAI:
openai/gpt-image-1,openai/gpt-image-1-mini,openai/gpt-image-1.5 - Google Imagen:
google/imagen-4.0-fast-generate-001,google/imagen-4.0-generate-001,google/imagen-4.0-ultra-generate-001 - xAI:
grok/grok-imagine-image,grok/grok-imagine-image-pro
Path 2: image generation via chat completions
Some Gemini models can return an image as part of a normal chat completion turn. When you pick one of these models, ClearMaas automatically tells the upstream to emit both text and an image in the response:google/gemini-2.5-flash-imagegoogle/gemini-3-pro-image-previewgoogle/gemini-3.1-flash-image-preview
Example
/v1/images/generations — use
chat completions for them.
See also
- API Reference / Images — full schema with try-it
- Operations / Billing & Usage