Create an image
Images
Create an image
Supported across providers: OpenAI (gpt-image-1, gpt-image-1-mini,
gpt-image-1.5), Google Imagen (imagen-4.0-{fast,standard,ultra}-generate-001),
and xAI Grok (grok-imagine-image, grok-imagine-image-pro).
POST
Create an image
Authorizations
OrcaRouter API keys look like sk-orca-.... Pass them in the
Authorization: Bearer sk-orca-... header.
Body
application/json
Image-generation model. OpenAI / Google Imagen / xAI Grok families are all served on this endpoint.
Example:
"openai/gpt-image-1"
Required range:
1 <= x <= 10OpenAI-style size like 1024x1024. For models that use
aspect-ratio instead (Gemini Imagen), OrcaRouter maps
1024x1024 → 1:1, 1792x1024 → 16:9, etc.
Examples:
"1024x1024"
"1792x1024"
"1024x1792"
Available options:
auto, standard, hd, high, medium, low Available options:
vivid, natural Available options:
url, b64_json 