xai/grok-2-image 📝 → 🖼️

⭐ Official ▶️ 2.4K runs 📅 Oct 2025 ⚙️ Cog 0.16.8
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
a4f695a3cd3ee06ab43b3789493dc964e69669b1e82a30c3b86211c8c3e244e3
Version Created
October 14, 2025
Run on Replicate →