Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYYesGoogle AI or Cliproxy API key
GEMINI_BASE_URLNoCustom API endpoint (e.g., Cliproxy)https://generativelanguage.googleapis.com
IMAGE_OUTPUT_DIRNoOutput directory for generated images./output
SKIP_PROMPT_ENHANCEMENTNoDisable automatic prompt optimizationfalse

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageA

Generate images from simple text prompts with automatic prompt enhancement for professional results.

Use this when:

  • Any image generation from text prompts

  • Need specific pixel dimensions (use targetWidth/targetHeight)

  • Professional use with precise control over all parameters

  • Quick generation with sensible defaults

NOT for:

  • Editing existing images (use edit_image instead)

  • Format conversion only (use convert_image instead)

  • Resize existing image without regeneration (use resize_image instead)

Example: "Create a hero image for a coffee shop website"

edit_imageA

Edit existing images using natural language instructions.

Use this when:

  • Modifying an existing image

  • Adding or removing elements from a photo

  • Changing backgrounds or styles

  • Enhancing or retouching images

NOT for:

  • Creating new images from scratch (use generate_image instead)

  • Format conversion without AI changes (use convert_image instead)

Example: "Remove the background from this product photo"

convert_imageA

Convert images between formats without AI processing.

Use this when:

  • Converting image format (PNG to WebP, JPEG to PNG, etc.)

  • Optimizing file size with compression settings

  • Batch format standardization

NOT for:

  • AI-powered image generation (use generate_image instead)

  • Content modification with AI (use edit_image instead)

Example: "Convert photo.png to WebP format with 80% quality"

resize_imageA

Resize images to specific dimensions without AI processing.

Use this when:

  • Scaling images to specific width/height

  • Creating thumbnails or previews

  • Fitting images within size constraints

  • Batch resizing for web optimization

NOT for:

  • AI-powered image generation (use generate_image instead)

  • Content modification with AI (use edit_image instead)

  • Format conversion only (use convert_image instead)

Example: "resize_image inputPath='./photo.jpg' width=800 height=600 fit='cover'"

generate_logoA

Generate professional logos with text support and multiple style options for branding.

Use this when:

  • Creating a logo for a business or brand

  • Need text-integrated logo design

  • Want specific brand colors in the logo

  • Need icon-only logo (no text)

NOT for:

  • Simple icons without branding context (use generate_image instead)

  • General images not for branding (use generate_image instead)

  • Editing existing logos (use edit_image instead)

Chain with: If user requests specific pixel dimensions for the logo, chain with resize_image after generation.

Example: "generate_logo businessName='TechStart' tagline='Innovation Made Simple' style='modern'"

generate_iconA

Generate icons, avatars, and stickers - small visual assets optimized for clarity at small sizes.

Use this when:

  • Creating app or website icons

  • Generating user avatars or profile pictures

  • Creating stickers for messaging apps

  • Need small, recognizable visual assets

NOT for:

  • Logos with text or business branding (use generate_logo instead)

  • Large detailed images (use generate_image instead)

  • Editing existing icons (use edit_image instead)

Chain with: If user requests specific pixel dimensions for icons (e.g., 512x512, 192x192), chain with resize_image after generation.

Example: "generate_icon description='shopping cart' purpose='icon' style='outlined'"

generate_productA

Generate professional e-commerce product photography that drives purchases with automatic style optimization.

Use this when:

  • Creating product photos for online stores

  • Need marketplace-compliant images (Amazon, Shopee, Tokopedia)

  • Want consistent catalog photography

  • Need category-optimized shots (food, fashion, electronics, jewelry, furniture)

NOT for:

  • Artistic or creative images (use generate_image instead)

  • Logos or branding assets (use generate_logo instead)

  • Icons or small visual assets (use generate_icon instead)

  • Editing existing product photos (use edit_image instead)

Chain with: If user requests specific pixel dimensions for marketplace requirements, chain with resize_image after generation.

Example: "generate_product productDescription='handmade leather wallet' style='premium'"

generate_social_mediaA

Generate platform-optimized social media content with correct dimensions and engagement-focused styling.

Use this when:

  • Creating content for Instagram, TikTok, YouTube, Twitter, LinkedIn, Facebook, Pinterest

  • Need platform-specific aspect ratios automatically applied

  • Want scroll-stopping, engagement-optimized visuals

  • Need text-safe zones for overlay design

NOT for:

  • E-commerce product photography (use generate_product instead)

  • Logos or branding assets (use generate_logo instead)

  • General artistic images (use generate_image instead)

  • Editing existing social media images (use edit_image instead)

Chain with: If user requests specific pixel dimensions beyond platform defaults, chain with resize_image after generation.

Example: "generate_social_media content='summer sale announcement' platform='instagram-post'"

generate_ugcA

Generate authentic user-generated content style images that look natural, relatable, and not AI-generated.

Use this when:

  • Creating UGC-style content for marketing campaigns

  • Need authentic, smartphone-quality aesthetic

  • Want relatable, casual content that connects with audiences

  • Creating unboxing, lifestyle, review, or testimonial-style visuals

  • Need diverse, realistic scenarios (home, cafe, gym, outdoor, etc.)

NOT for:

  • Polished product photography (use generate_product instead)

  • Professional social media graphics (use generate_social_media instead)

  • Logos or branding assets (use generate_logo instead)

  • Editing existing UGC images (use edit_image instead)

Chain with: If user requests specific pixel dimensions, chain with resize_image after generation.

Example: "generate_ugc description='person enjoying morning coffee' scenario='lifestyle' setting='home'"

remove_backgroundA

Remove backgrounds from images to create transparent PNGs for product shots, portraits, and design assets.

Use this when:

  • Creating transparent product images for e-commerce

  • Removing backgrounds from portraits or headshots

  • Preparing images for compositing or design work

  • Converting product photos to transparent PNGs

NOT for:

  • Adding new backgrounds to images (use edit_image instead)

  • General image editing (use edit_image instead)

  • Format conversion without background removal (use convert_image instead)

Example: "remove_background imagePath='/path/to/product.jpg'"

analyze_imageA

Analyze images using AI vision to generate descriptions, alt-text, tags, or detailed semantic analysis.

Use this when:

  • Generating accessible alt-text for images

  • Creating image descriptions for content management

  • Auto-tagging images for organization and search

  • Getting detailed semantic analysis of image content

  • Extracting text from images (OCR)

NOT for:

  • Generating new images (use generate_image instead)

  • Editing or modifying images (use edit_image instead)

  • Removing backgrounds (use remove_background instead)

Example: "analyze_image imagePath='/path/to/photo.jpg' analysisType='description'"

blend_imagesA

Blend multiple images together using AI-powered composition with various blend modes (seamless, collage, double-exposure, overlay).

Use this when:

  • Combining 2-4 images into a single composition

  • Creating seamless blends or artistic collages

  • Making double-exposure effects

  • Overlaying images with natural transitions

NOT for:

  • Editing a single image (use edit_image instead)

  • Generating images from scratch (use generate_image instead)

  • Simple format conversion (use convert_image instead)

  • Removing backgrounds only (use remove_background instead)

Example: "blend_images imagePaths=['./bg.jpg', './subject.png'] instruction='Place subject on background' blendMode='seamless'"

generate_infographicA

Generate AI-powered infographic images from content descriptions with customizable styles, layouts, and branding.

Use this when:

  • Creating visual summaries of data, processes, or concepts

  • Generating infographics for presentations or social media

  • Visualizing comparisons, timelines, or step-by-step guides

  • Creating branded infographics with specific colors and fonts

NOT for:

  • Simple image generation without data/content (use generate_image instead)

  • Editing existing infographics (use edit_image instead)

  • Logo or icon creation (use generate_logo instead)

  • Product photography (use generate_product instead)

Chain with: If user requests specific pixel dimensions, chain with resize_image after generation.

Example: "generate_infographic content='5 steps to improve productivity: 1. Set goals 2. Prioritize tasks 3. Eliminate distractions 4. Take breaks 5. Review progress' style='corporate' layout='vertical'"

generate_character_setA

Generate consistent character images across multiple poses and expressions for character series, mascots, or visual narratives.

Use this when:

  • Creating character turnarounds (front, side, back views)

  • Generating expression sheets for the same character

  • Building consistent mascots or characters across multiple images

  • Creating sprite sheets for games or animations

NOT for:

  • Single character image without multiple poses (use generate_image instead)

  • Editing existing character images (use edit_image instead)

  • Style transfer between images (use style_transfer instead)

Chain with: If user requests specific pixel dimensions for character images, chain with resize_image after generation.

Example: "generate_character_set characterDescription='friendly robot mascot with blue eyes' poses=['front', 'waving', 'thinking'] style='cartoon'"

style_transferA

Apply artistic style from a reference image to new or existing content while preserving the content structure.

Use this when:

  • Applying artistic styles to new image generations

  • Transforming existing images with a reference style

  • Creating consistent visual aesthetics across multiple images

  • Blending multiple style references together

  • Analyzing style characteristics before generation

NOT for:

  • Character consistency across poses (use generate_character_set instead)

  • Simple image editing (use edit_image instead)

  • Generating images from scratch without style reference (use generate_image instead)

Chain with: If user requests specific pixel dimensions for styled images, chain with resize_image after generation.

Example: "style_transfer referenceStyleImage='./van-gogh.jpg' contentDescription='mountain landscape at sunset' styleStrength=0.8"

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 15 tools

Disambiguation4/5

Every tool carries explicit 'Use this when / NOT for / use X instead' guidance, so the eight generate_* variants are clearly separated by domain (logo, icon, product, social, UGC, infographic, character set). The only residual overlap is conceptual: generate_product vs generate_ugc vs generate_social_media can all produce marketing imagery, and style_transfer vs blend_images both combine references, though descriptions steer correctly.

Naming Consistency4/5

Nearly all names follow a snake_case verb_noun pattern (generate_image, edit_image, convert_image, resize_image, remove_background, analyze_image, blend_images). The single deviation is 'style_transfer', which inverts to noun_verb, a minor inconsistency in an otherwise predictable scheme.

Tool Count5/5

Fifteen tools sit at the top of the well-scoped range for an image media server. Each has a distinct modality or operation, and the specialized generators justify their separation through differing parameters (platform, poses, brand text, layout) rather than being duplicates.

Completeness4/5

The surface covers the full lifecycle: generation (general + specialized), editing, style transfer, blending, background removal, analysis/OCR, format conversion, and resizing, with documented chaining to resize_image. Minor gaps remain: no crop/rotate/upscale, no text or watermark overlay, and no metadata/inspection tool for existing files.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues