xai/grok-2-image 📝 → 🖼️

⭐ Official ▶️ 3.1K runs 📅 Oct 2025 ⚙️ Cog 0.16.12
photorealistic text-to-image

About

Generate vivid, realistic images based on a text prompt. Excels at generating images for marketing, social media, and entertainment.

Example Output

Prompt:

"a photo of a cat relaxing in an old armchair"

Output

Example output

Performance Metrics

10.85s Prediction Time
10.86s Total Time
Input Parameters
prompt (required) Type: string
Text prompt for image generation
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Enhanced prompt: A high-resolution photograph of a gray cat with soft, fluffy fur relaxing in an old, worn-out armchair. The scene is set in a cozy living room with warm, ambient lighting. The armchair, possibly in a dark green or burgundy, is positioned near a window, allowing natural light to softly illuminate the cat. The background is slightly blurred, featuring a simple bookshelf or a glimpse of a garden through the window, ensuring the focus remains on the cat. The overall composition exudes a peaceful and inviting atmosphere, emphasizing the cat's relaxed state.
Generated image in 10.6sec
Version Details
Version ID
59692e81a9ecd636dc429bdf96e7102eb21fae41767b438d79189b861cf5fa3b
Version Created
February 25, 2026
Run on Replicate →