xai/grok-2-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
Performance Metrics
10.85s
Prediction Time
10.86s
Total Time
Input Parameters
- prompt (required)
- Text prompt for image generation
Output Schema
Output
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