Grok Imagine Image
grok-imagine-imageSOTA image model from xAI
- Price
- US$0.024/image
- Aspect ratios
- 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2, 19.5:9, 9:19.5, 20:9, 9:20
- Input → output
- Text → Image
- Developer
- xAI
- Updated
- September 24, 2026
Playground
Try Grok Imagine Image
Input & output
This run
US$0.024 · 2.4 credits
For accounts without a purchase: runs above 2 credits need a top-up.
New here?
10 free credits (US$0.10) when you sign up with Google
Usable 24 hours after sign-up, up to 5 runs per day and at most 2 credits per run. Other sign-in methods start without credits.
Examples
Open full sizePrompt
A cinematic, ultra-detailed scene of a futuristic forest landscape at golden daylight. The setting is a lush, temperate forest resembling giant redwood groves, with massive reddish-brown tree trunks rising vertically out of a floor of ferns, moss, and low undergrowth. In the mid-ground, a gently sloping grassy hill is illuminated by warm sunlight filtering through the trees, creating soft patches of light and shadow. The air has a faint atmospheric haze, giving the distance a slightly misty, ethereal look. Hovering silently about 3–6 meters above the ground are two sleek, oval, white anti-gravity pods shaped like smooth capsules. Each pod has a continuous panoramic window wrapping around the front half, tinted slightly green, revealing a soft interior glow and faint silhouettes of seating. The hulls are glossy and seamless, with subtle panel lines and minimalistic futuristic design. From the undersides of the pods hang small trailing plants and vines, suggesting a blend of advanced technology and ecological design. A faint bluish light or energy source is visible beneath each pod, indicating their hovering mechanism. In the background, partially obscured by trees and mist, stands a tall futuristic tower with multiple circular platforms and vertical glowing blue light strips running up its structure, suggesting advanced architecture integrated into the forest. On top of the right-side hovering pod stands a medieval girl, contrasting strongly with the futuristic setting. Sh…
Settings
- aspect_ratio
- 1:1
About Grok Imagine Image
Grok Imagine Image is a model by xAI in the Image generation category. On Railwail, Grok Imagine Image costs US$0.024 per image. Supported aspect ratios: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2, 19.5:9, 9:19.5, 20:9 and 9:20.
Pricing
| Per image | US$0.024 per image |
|---|
- 1 credit = US$0.01
Cost calculator
Price calculator
Total
US$2.40
240 credits
Per run
US$0.024 · 2.4 credits
Fixed price per run, known before the run starts.
API
curl https://railwail.com/api/v1/images/generations \
-H "Authorization: Bearer $RAILWAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-image",
"prompt": "A lighthouse on a rocky coast at sunset, photorealistic"
}'import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["RAILWAIL_API_KEY"],
base_url="https://railwail.com/api/v1",
)
image = client.images.generate(
model="grok-imagine-image",
prompt="A lighthouse on a rocky coast at sunset, photorealistic",
)
print(image.data[0].url)import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.RAILWAIL_API_KEY,
baseURL: "https://railwail.com/api/v1",
});
const image = await client.images.generate({
model: "grok-imagine-image",
prompt: "A lighthouse on a rocky coast at sunset, photorealistic"
});
console.log(image.data[0].url);// npm install railwail
import railwail from "railwail";
const rw = railwail(process.env.RAILWAIL_API_KEY);
const res = await rw.image("grok-imagine-image", "A lighthouse on a rocky coast at sunset, photorealistic");
console.log(res.data[0].url);Specifications
- Model ID
grok-imagine-image- Developer
- xAI
- Category
- Image generation
- Input
- Text
- Output
- Image
- Aspect ratios
- 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2, 19.5:9, 9:19.5, 20:9, 9:20
- Billing
- Fixed price, known before the run
- Catalog entry updated
- September 24, 2026
Input parameters
Inputs and settings from the model's input schema. The example in the API section shows which of them the API accepts.
promptrequiredType: TextDefault: –Allowed values: –aspectRatioType: ChoiceDefault: –Allowed values: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2, 19.5:9, 9:19.5, 20:9, 9:20 or auto
Tags
- replicate
- xai
- text-to-image
Use cases
Frequently asked questions
What is Grok Imagine Image?
Grok Imagine Image is a model by xAI in the Image generation category. On Railwail you can call it with an API key through the Railwail API.
How much does Grok Imagine Image cost on Railwail?
On Railwail, Grok Imagine Image costs US$0.024 per image. The price is known before the run starts. Usage is paid from prepaid credits; 1 credit equals US$0.01.
Which settings does Grok Imagine Image support?
According to its input schema, Grok Imagine Image knows these parameters: prompt and aspectRatio (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2, 19.5:9, 9:19.5, 20:9, 9:20 or auto).
How fast is Grok Imagine Image?
There are not enough measured runs of Grok Imagine Image on Railwail yet to state a run time. It depends on the input, the settings and the load at the provider.
Is Grok Imagine Image better than FLUX 1.1 Pro?
That depends on the task. Grok Imagine Image (xAI) and FLUX 1.1 Pro (Black Forest Labs) are both models in the Image generation category. The comparison page shows their prices and specifications side by side.
Compare Grok Imagine Image and FLUX 1.1 ProHow do I use Grok Imagine Image through the API?
Create a Railwail API key and send your request with the model ID grok-imagine-image. Code examples for curl, Python and JavaScript are in the API section of this page.
Comparable models
All in this category- FLUX 1.1 ProBlack Forest Labs
Black Forest Labs' flagship text-to-image model. Faster generation than FLUX.1 Pro at higher prompt adherence, with strong photorealism and reliable spatial composition. Runs as a hosted Replicate model.
- Flux 1.1 Pro UltraBlack Forest Labs
FLUX 1.1 Pro in ultra mode. Up to 4 megapixel images with raw mode for photorealism.
- Flux DevBlack Forest Labs
Black Forest Labs' development model. Fast, high-quality image generation with LoRA support.
Use Grok Imagine Image via the API
One API key for every model on Railwail. Usage is charged from prepaid credits, 1 credit = US$0.01.