# xAI API Key (Required) # Get your API key from: https://console.x.ai/ XAI_API_KEY=xai-.... # Debug mode (optional) # Set to "true" to enable debug logging DEBUG=false # Default output directory for generated images (optional) # If not set, images are saved in the current working directory # OUTPUT_DIR=/path/to/output # Include thumbnail in MCP response (optional) # Set to "true" to include base64 thumbnail preview in response # XAI_IMAGE_THUMBNAIL=false