Armox
    Armox Academy 📚
    AI Models ReferenceImage ModelsGrok Imagine

    Grok Imagine

    Grok Imagine is xAI's advanced image generation model that creates highly aesthetic images. It supports both text-to-image generation and image editing, automatically routing to the appropriate mode based on whether you attach an input image.

    Overview

    PropertyValue
    ProviderxAI
    Cost22 credits
    ModalityImage
    Reference Images1 (optional, enables edit mode)
    Prompt RequiredYes

    What It's Best For

    • Aesthetic imagery — Creates visually stunning, artistic images
    • Dual-mode flexibility — Text-to-image OR image editing in one model
    • Multiple aspect ratios — 13 different aspect ratio options
    • Budget-friendly — Only 22 credits per generation

    Inputs

    Prompt (Required)

    Describe the image you want to generate or the edits you want to make.

    Connection Color: Yellow

    Input Image (Optional)

    When an image is connected, the model switches to edit mode and modifies your image based on the prompt.

    Connection Color: Blue

    Configuration

    SettingOptionsDefaultNotes
    Aspect Ratio1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2, 20:9, 9:20, 19.5:9, 9:19.51:1Only for text-to-image mode
    Output FormatJPEG, PNG, WebPJPEGFile format of generated image

    Aspect Ratio Options

    RatioUse Case
    1:1Social media posts, profile pictures
    16:9YouTube thumbnails, presentations
    9:16Stories, TikTok, Reels
    4:3Traditional photos
    3:2Photography standard
    2:1Ultra-wide panoramas
    20:9 / 19.5:9Cinematic, phone screens

    Note: Aspect ratio is ignored in edit mode — the output matches your input image.

    Output

    Type: Image
    Connection Color: Blue

    Automatic Mode Selection

    Grok Imagine intelligently routes your request:

    Input ImageModeEndpoint
    Not attachedText-to-Imagexai/grok-imagine-image
    AttachedImage Editxai/grok-imagine-image/edit

    Use Cases

    Text-to-Image: Aesthetic Art

    Abstract human silhouette, golden particles ready to burst 
    outward representing joy, data visualization style, 
    emotional expression through particles, artistic scientific
    

    Text-to-Image: Product Visualization

    Luxury perfume bottle on marble surface, soft bokeh lights, 
    elegant minimalist composition, warm golden hour lighting
    

    Image Edit: Style Enhancement

    Make this scene more cinematic, add dramatic lighting 
    and color grading, keep the composition
    

    Image Edit: Scene Modification

    Transform this daytime photo into a moody nighttime scene, 
    add city lights and atmospheric fog
    

    Tips for Best Results

    Text-to-Image Mode

    1. Use descriptive language — Grok responds well to detailed, evocative prompts
    2. Include style references — "artistic", "cinematic", "editorial", "dreamy"
    3. Specify mood — "serene", "energetic", "mysterious", "joyful"
    4. Add lighting cues — "golden hour", "soft diffused light", "dramatic shadows"

    Edit Mode

    1. Be specific about changes — State exactly what you want modified
    2. Reference original elements — "Keep the subject but change..."
    3. Use comparative language — "Make it more...", "Transform this into..."
    4. Preserve intent — Mention what should stay the same

    Comparison

    ModelCostEdit ModeAspect RatiosReference Images
    Grok Imagine22 creditsYes (auto)131
    Grok 2 Image60 creditsNoNone0
    Flux 2 Flex20 creditsYes710
    Nano Banana15 creditsYes105

    When to Choose Grok Imagine

    Choose when:

    • You want aesthetic, artistic results
    • You need both generation and editing in one workflow
    • You want extensive aspect ratio options
    • Budget matters (cheaper than Grok 2 Image)

    Consider alternatives when:

    • You need multiple reference images (use Flux 2 Flex)
    • You want advanced editing features (use Flux Kontext)
    • Ultra-low cost is priority (use Nano Banana)

    Example Workflow

    1. Generate base image — Use text-to-image with aspect ratio 16:9
    2. Refine with edit — Connect output to a new Grok Imagine node
    3. Enhance details — Prompt: "Enhance details, add subtle grain, more dramatic"
    4. Final adjustments — Connect to tools for upscaling if needed