
Output
image
Aspect ratio
1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3
Resolution
1k, 2k
Max batch
4
Inputs
- Batch up to 4 per request
Example prompt
A serene mountain lake at golden hour, glassy water reflecting snow-capped peaks, lone kayaker in the middle distance, cinematic wide shot, ultra-sharp clarityTry this prompt →
LLM-ready
API & LLM schema
Exact request contract for this model. Agents can fetch it from /api/v1/models?id=xai/grok-imagine-image.
POST
/api/v1/generate11 fields · 2 required| Field | Type | Requirement | Contract |
|---|---|---|---|
model_id | constant | Required | ArtEmotion model identifier. |
extra | object | Optional | Model-specific settings may also be nested here. |
max_credits | number | Optional | Reject before submission if the estimated list price exceeds this cap. · Range: 1–… |
webhook_url | string | Optional | Format: uri |
webhook_secret | string | Optional | Optional model input. |
folder_id | string | Optional | Optional model input. |
prompt | string | Required | Optional model input. |
aspect_ratio | string | Optional | Allowed: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 |
resolution | string | Optional | Allowed: 1k, 2k |
output_format | string | Optional | Allowed: jpeg, png, webp |
num_images | integer | Optional | Range: 1–4 |
Minimal request example
{
"model_id": "xai/grok-imagine-image",
"prompt": "A serene mountain lake at golden hour, glassy water reflecting snow-capped peaks, lone kayaker in the middle distance, cinematic wide shot, ultra-sharp clarity"
}Raw JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.artemotion.ai/api/v1/models?id=xai%2Fgrok-imagine-image",
"title": "Grok Imagine generation request",
"description": "Request body accepted by POST /api/v1/generate for xai/grok-imagine-image.",
"type": "object",
"properties": {
"model_id": {
"type": "string",
"const": "xai/grok-imagine-image",
"description": "ArtEmotion model identifier."
},
"extra": {
"type": "object",
"additionalProperties": true,
"description": "Model-specific settings may also be nested here."
},
"max_credits": {
"type": "number",
"minimum": 1,
"description": "Reject before submission if the estimated list price exceeds this cap."
},
"webhook_url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"webhook_secret": {
"type": "string",
"maxLength": 512
},
"folder_id": {
"type": "string"
},
"prompt": {
"type": "string"
},
"aspect_ratio": {
"type": "string",
"enum": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3"
]
},
"resolution": {
"type": "string",
"enum": [
"1k",
"2k"
]
},
"output_format": {
"type": "string",
"enum": [
"jpeg",
"png",
"webp"
]
},
"num_images": {
"type": "integer",
"minimum": 1,
"maximum": 4
}
},
"required": [
"model_id",
"prompt"
],
"additionalProperties": false
}FAQ
How much does Grok Imagine cost on ArtEmotion?
Credit-based pricing. You pay in ArtEmotion credits — every plan and top-up converts USD to credits at a fixed rate.
Do I get my credits back if Grok Imagine fails?
Yes — failed generations are never charged. The credits are released back to your balance automatically.
Can I call Grok Imagine from the API?
Yes. Use POST /api/v1/generate with model_id: "xai/grok-imagine-image". See the API reference for the full schema.
Where are my generations stored?
Every output is saved to your personal Library. You can export or delete everything any time from Privacy & deletion.
Ready to generate with Grok Imagine?
Start now →No commitment. New accounts get 50 free credits on signup. See pricing.