# Grok Imagine Image Pro > xAI's premium image generation model offering higher fidelity output and stronger performance on single-image editing benchmarks compared to the standard Grok Imagine model ## Quick Reference - Model ID: grok-imagine-image-pro - Creator: xAI - Status: active - Family: grok-imagine - Base URL: https://api.lumenfall.ai/openai/v1 ## Specifications - Max Output Images: 10 - Input Modalities: text, image - Output Modalities: image ## Model Identifiers - Primary Slug: grok-imagine-image-pro ## Dates ## Tags image-generation, text-to-image, image-editing ## Available Providers ### xAI - Config Key: xai/grok-imagine-image-pro - Provider Model ID: grok-imagine-image-pro - Pricing: - source: official - currency: USD - components: [{"type" => "input", "metric" => "image", "unit_price" => 0.002}, {"type" => "output", "metric" => "image", "unit_price" => 0.07}] - source_url: https://docs.x.ai/developers/models - effective_at: 2025-06-01 ## Performance Metrics Provider performance over the last 30 days. ### xai - Median Generation Time (p50): 29464ms - 95th Percentile Generation Time (p95): 50264ms - Average Generation Time: 31904ms - Success Rate: 81.4% - Total Requests: 70 - Time to First Byte (p50): 29464ms - Time to First Byte (p95): 50018ms ## Arena Benchmarks ### Isometric Miniature Diorama Scenes - Elo: 1232 - Record: 11W / 6L / 1T (18 battles) - Rank: #2 of 19 ### Candid Street Photography - Elo: 1212 - Record: 5W / 3L / 0T (8 battles) - Rank: #2 of 22 ### Geometric Composition - Elo: 1187 - Record: 9W / 1L / 0T (10 battles) - Rank: #6 of 22 ### Over-the-top cartoon caricature - Elo: 1184 - Record: 10W / 3L / 2T (15 battles) - Rank: #7 of 13 ### Night Sky Transformation - Elo: 1180 - Record: 11W / 5L / 6T (22 battles) - Rank: #3 of 15 ### Studio Ghibli Anime Style - Elo: 1168 - Record: 6W / 4L / 1T (11 battles) - Rank: #10 of 13 ### Adorable Baby Animals in Sunny Meadow - Elo: 1165 - Record: 0W / 3L / 2T (5 battles) - Rank: #8 of 23 ### Bald man challenge - Elo: 1156 - Record: 10W / 5L / 3T (18 battles) - Rank: #6 of 14 ### Golden Hour Stroll - Elo: 1145 - Record: 6W / 11L / 1T (18 battles) - Rank: #8 of 12 ### Neutral Expression to Genuine Smile - Elo: 1138 - Record: 3W / 5L / 0T (8 battles) - Rank: #9 of 12 ### Fantasy Warrior - Elo: 1134 - Record: 5W / 12L / 1T (18 battles) - Rank: #15 of 19 ### Victorian Greenhouse Oasis - Elo: 1130 - Record: 4W / 6L / 2T (12 battles) - Rank: #15 of 17 ### Heroic Super Hero Portrait - Elo: 1123 - Record: 4W / 7L / 0T (11 battles) - Rank: #15 of 19 ### Modern Clean Menu - Elo: 1123 - Record: 6W / 10L / 0T (16 battles) - Rank: #17 of 19 ### Vintage Cafe Logo - Elo: 1116 - Record: 4W / 4L / 0T (8 battles) - Rank: #18 of 19 ### Apollo 11: Journey to Tranquility - Elo: 1082 - Record: 2W / 4L / 1T (7 battles) - Rank: #16 of 19 ### Intricate Floral Mandala - Elo: 1061 - Record: 3W / 2L / 4T (9 battles) - Rank: #14 of 15 ## Use Cases & Category Performance ### Photorealism (Text-to-Image) - Rank: #10 of 22 - Elo: 1189 - Record: 5W / 3L / 0T (8 battles) - Win Rate: 62.5% ### Anime (Image Editing) - Rank: #7 of 13 - Elo: 1197 - Record: 6W / 4L / 1T (11 battles) - Win Rate: 54.5% ### Portrait (Image Editing) - Rank: #8 of 14 - Elo: 1234 - Record: 13W / 10L / 3T (26 battles) - Win Rate: 50.0% ### Product, Branding & Commercial (Text-to-Image) - Rank: #11 of 19 - Elo: 1165 - Record: 4W / 4L / 0T (8 battles) - Win Rate: 50.0% ### Portrait (Text-to-Image) - Rank: #14 of 19 - Elo: 1151 - Record: 5W / 12L / 1T (18 battles) - Win Rate: 27.8% ### Text Rendering (Text-to-Image) - Rank: #16 of 21 - Elo: 1199 - Record: 12W / 18L / 1T (31 battles) - Win Rate: 38.7% ### Photorealism (Image Editing) - Rank: #13 of 16 - Elo: 1179 - Record: 30W / 26L / 10T (66 battles) - Win Rate: 45.5% ## Image Gallery 21 images available for this model. - Curated examples: 4 - "A sophisticated, high-end showroom interior with a minimalist aesthetic, featuring a sleek, backlit architectural sig..." - "A hyper-realistic cinematic close-up of a weathered vintage compass resting on a detailed topographic map of an alpin..." - "A hyper-realistic close-up of a weathered leather craftsman's workbench, featuring a pair of vintage brass spectacles..." - "A cozy street-side flower shop called "Bloom & Prose" with elegant gold cursive lettering on the window. A vintage bi..." - Competition results: 17 - Isometric Miniature Diorama Scenes: #2 of 19 (Elo 1232) - Candid Street Photography: #2 of 22 (Elo 1212) - Geometric Composition: #6 of 22 (Elo 1187) - Over-the-top cartoon caricature: #7 of 13 (Elo 1184) - Night Sky Transformation: #3 of 15 (Elo 1180) - Studio Ghibli Anime Style: #10 of 13 (Elo 1168) - Adorable Baby Animals in Sunny Meadow: #8 of 23 (Elo 1165) - Bald man challenge: #6 of 14 (Elo 1156) - Golden Hour Stroll: #8 of 12 (Elo 1145) - Neutral Expression to Genuine Smile: #9 of 12 (Elo 1138) - Fantasy Warrior: #15 of 19 (Elo 1134) - Victorian Greenhouse Oasis: #15 of 17 (Elo 1130) - Heroic Super Hero Portrait: #15 of 19 (Elo 1123) - Modern Clean Menu: #17 of 19 (Elo 1123) - Vintage Cafe Logo: #18 of 19 (Elo 1116) - Apollo 11: Journey to Tranquility: #16 of 19 (Elo 1082) - Intricate Floral Mandala: #14 of 15 (Elo 1061) ## Example Prompt The following prompt was used to generate an example image in our playground: A cozy street-side flower shop called "Bloom & Prose" with elegant gold cursive lettering on the window. A vintage bicycle leans against the brick wall. In the soft-focus background, a capybara sits patiently by the shop door. ## Code Examples ### Text to Image (Generation) #### cURL curl -X POST \ https://api.lumenfall.ai/openai/v1/images/generations \ -H "Authorization: Bearer $LUMENFALL_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "grok-imagine-image-pro", "prompt": "A serene mountain landscape at sunset", "size": "1024x1024" }' # Response: # { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] } #### JavaScript import OpenAI from 'openai'; const client = new OpenAI({ apiKey: 'YOUR_API_KEY', baseURL: 'https://api.lumenfall.ai/openai/v1' }); const response = await client.images.generate({ model: 'grok-imagine-image-pro', prompt: 'A serene mountain landscape at sunset', size: '1024x1024' }); // { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } console.log(response.data[0].url); #### Python from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.lumenfall.ai/openai/v1" ) response = client.images.generate( model="grok-imagine-image-pro", prompt="A serene mountain landscape at sunset", size="1024x1024" ) # { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } print(response.data[0].url) ### Image Editing #### cURL curl -X POST \ https://api.lumenfall.ai/openai/v1/images/edits \ -H "Authorization: Bearer $LUMENFALL_API_KEY" \ -F "model=grok-imagine-image-pro" \ -F "image=@source.png" \ -F "prompt=Add a starry night sky to this image" \ -F "size=1024x1024" # Response: # { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] } #### JavaScript import OpenAI from 'openai'; import fs from 'fs'; const client = new OpenAI({ apiKey: 'YOUR_API_KEY', baseURL: 'https://api.lumenfall.ai/openai/v1' }); const response = await client.images.edit({ model: 'grok-imagine-image-pro', image: fs.createReadStream('source.png'), prompt: 'Add a starry night sky to this image', size: '1024x1024' }); // { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } console.log(response.data[0].url); #### Python from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.lumenfall.ai/openai/v1" ) response = client.images.edit( model="grok-imagine-image-pro", image=open("source.png", "rb"), prompt="Add a starry night sky to this image", size="1024x1024" ) # { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } print(response.data[0].url) ## About ## Overview Grok Imagine Image Pro is xAI's high-fidelity image generation model, designed to offer superior visual quality and more precise control over image synthesis than the standard Grok Imagine version. It processes both text and image inputs to generate high-resolution visual outputs with a focus on realism and adherence to complex instructions. The model is distinguished by its performance in the "Pro" tier, specifically optimized for professional-grade detail and iterative editing workflows. ## Strengths * **High-Resolution Fidelity:** Produces images with high pixel density, sharp textures, and realistic lighting, making it suitable for high-quality digital assets. * **Image-to-Image Editing:** Excels at single-image editing benchmarks, demonstrating a strong ability to modify existing images while maintaining structural consistency. * **Complex Prompt Adherence:** Displays a nuanced understanding of long-form, descriptive prompts, accurately placing objects and handling spatial relationships better than the base model. * **Text Rendering Accuracy:** Shows improved performance in rendering legible text and character symbols within generated scenes compared to earlier iterations. ## Limitations * **Inference Latency:** Due to the complexity and fidelity of the output, generation times may be longer than those of more lightweight or "turbo" style models. * **Stylistic Bias:** While highly capable in realism, the model may default to a specific "digital" aesthetic unless explicitly directed otherwise through detailed stylistic prompting. * **Hardware Demand:** The premium nature of the model results in higher per-image costs ($0.07 starting price) compared to standard or open-source alternatives. ## Technical Background Grok Imagine Image Pro is part of the Grok family of models developed by xAI. It utilizes a latent diffusion architecture tailored for high-dimensional image synthesis and is trained on high-quality datasets curated for visual clarity and prompt relevance. A key technical focus for this "Pro" version is its optimization for editing tasks, likely achieved through fine-tuning on paired image-manipulation data to improve consistency between input and output states. ## Best For * **Professional Content Creation:** Ideal for generating marketing assets, high-fidelity concept art, and detailed illustrations where quality is prioritized over speed. * **Iterative Design Workflows:** Well-suited for users who need to upload an initial image and perform precise modifications through text instructions. * **Detailed Scene Synthesis:** Recommended for projects requiring complex arrangements of multiple objects or specific lighting conditions. Grok Imagine Image Pro is available through Lumenfall's unified API and playground, allowing developers to integrate high-end image generation into their applications with minimal setup. ## Frequently Asked Questions ### How much does Grok Imagine Image Pro cost? Grok Imagine Image Pro starts at $0.07 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing. ### How do I use Grok Imagine Image Pro via API? You can use Grok Imagine Image Pro through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "grok-imagine-image-pro". Code examples are available in Python, JavaScript, and cURL. ### Which providers offer Grok Imagine Image Pro? Grok Imagine Image Pro is available through xAI on Lumenfall. Lumenfall automatically routes requests to the best available provider. ## Links - Model Page: https://lumenfall.ai/models/xai/grok-imagine-image-pro - About: https://lumenfall.ai/models/xai/grok-imagine-image-pro/about - Providers, Pricing & Performance: https://lumenfall.ai/models/xai/grok-imagine-image-pro/providers - API Reference: https://lumenfall.ai/models/xai/grok-imagine-image-pro/api - Benchmarks: https://lumenfall.ai/models/xai/grok-imagine-image-pro/benchmarks - Use Cases: https://lumenfall.ai/models/xai/grok-imagine-image-pro/use-cases - Gallery: https://lumenfall.ai/models/xai/grok-imagine-image-pro/gallery - Playground: https://lumenfall.ai/playground?model=grok-imagine-image-pro - API Documentation: https://docs.lumenfall.ai