BLACKFRIDAY is here!

    Get 40% off
    Armox
    Armox Academy 📚
    Introduction
    Quickstart Guide
    Understanding Brains
    Nodes
    AI Models
    The Canvas Editor
    Train LoRA
    Train MiniMax H3 LoRA
    Prompt Engineering
    Nano Banana ProFlux ModelsVideo PromptingAudio Prompting
    Text Nodes
    Image Nodes
    Video Nodes
    Audio Nodes
    Upload Nodes
    Tool Nodes
    3D Nodes
    Connecting Nodes
    Running Workflows
    What are Apps?
    Building Your First App
    Running Apps
    App Ideas for Creatives
    API Reference Introduction
    AuthenticationModels EndpointApps EndpointJobs EndpointAccount EndpointWebhooksErrors & Rate Limits
    The Gallery
    Downloading & Exporting
    Using AI Chat
    Brainstorming with AI
    Text Models
    GPT-5.4Gemini 3.1 ProClaude Opus 4.6GPT-5Gemini 2.5 FlashClaude 4.5 SonnetDeepSeek V3.1Grok 4Llama 3 70BLlama 3 8B
    Image Models
    Nano BananaNano Banana 2Nano Banana ProGPT Image 2.5Flux 2 ProKrea 2 LargeKrea 2 MediumFlux 2 FlexFlux 2 DevFlux 1.1 Pro UltraGrok ImagineFlux Kontext MaxFlux Kontext ProSeedream 4Seedream 4.5Wan 2.2 ImageQwen ImageQwen Image Edit AnglesStable Diffusion XLGrok 2 ImageGen4 Image
    Video Models
    Kling V2.5 Turbo ProKling 2.6 ProGrok VideoVeo 3.1Veo 3.1 FastSeedance 1 ProSeedance 1 Pro FastSeedance 1 LiteSeedance 2.0Wan 2.6 I2VWan 2.6 T2VWan 2.5 I2VWan 2.5 T2VSora 2 ProSora 2Hailuo 2.3Hailuo 2.3 FastVideo-01 DirectorGen4 Aleph
    Audio Models
    MusicGenMusic 1.5Music-01Lyria 2Speech-02 TurboSpeech-02 HDVoice CloningXTTS-v2
    Tool Models
    Topaz Image UpscalerPrunaAI UpscaleCrystal UpscalerRemove BackgroundFace SwapImage FiltersProfessional HeadshotText RemovalInpaintAdd WatermarkVideo Upscale (Runway)Video Upscale (Topaz)Video Upscale (Bytedance)Lip Sync ProAuto CaptionReplace CharacterMotion Transfer
    3D Models
    Hunyuan3D V3
    Social Media Content
    Product Photography
    Marketing Campaigns
    Video Production
    Audio & Music
    Multi-Step Workflows
    Image-to-Image
    Consistent Style
    Credit Optimization
    Common Mistakes
    Keyboard Shortcuts
    Examples Gallery
    Prompt Library
    Seedance 2.0 for AEC
    Enterprise Overview
    Admin Dashboard
    Requesting Credits
    FAQ
    Understanding Credits
    Troubleshooting
    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

    Related Models

    • Grok 2 Image — Simpler, no edit mode
    • Flux 2 Flex — Multi-reference support
    • Nano Banana — Google's dual-mode model
    • Flux Kontext Pro — Advanced context-aware editing
    PreviousFlux 1.1 Pro Ultra
    NextFlux Kontext Max

    Ready to transform your creative workflow?

    No credit card required500 free credits

    On this page

    OverviewWhat It's Best ForInputsPrompt (Required)Input Image (Optional)ConfigurationAspect Ratio OptionsOutputAutomatic Mode SelectionUse CasesText-to-Image: Aesthetic ArtText-to-Image: Product VisualizationImage Edit: Style EnhancementImage Edit: Scene ModificationTips for Best ResultsText-to-Image ModeEdit ModeComparisonWhen to Choose Grok ImagineExample WorkflowRelated Models