Skip to main content
Glama
jashwanth0712

RunPod Image MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RUNPOD_API_KEYYesYour RunPod API key

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageA

Generate images from text descriptions using Seedream V4 T2I.

This tool creates high-quality photorealistic or artistic images from text prompts.
Jobs are processed asynchronously and typically complete in 30-90 seconds.

Args:
    prompt: Detailed text description of the desired image. Be specific about
        style, composition, lighting, colors, and subject matter.
    negative_prompt: Elements to exclude from the image (e.g., "blurry, low quality,
        distorted faces"). Optional but recommended for better results.
    size: Image dimensions in format "width*height" (e.g., "2048*2048").
        Valid range: 1024-4096 pixels for both width and height.
        Default: "2048*2048"
    seed: Random seed for reproducibility. Use -1 for random generation (default),
        or provide a specific number to reproduce results.
    enable_safety_checker: Enable content safety filtering. Default: true.
        Set to false only if you need to bypass content filtering.
    max_wait_seconds: Maximum time to wait for job completion in seconds.
        Default: 300 (5 minutes). Increase for very large images.

Returns:
    Success message with image URL, generation details, and job ID for status tracking.
    Format: "✓ Image generated successfully!

URL: ... Size: ... Seed: ... Job ID: ..."

Examples:
    - "A photorealistic sunset over snow-capped mountains with dramatic clouds"
    - "An oil painting of a medieval castle on a cliff, fantasy art style"
    - "Product photo of a sleek smartphone on a white background, studio lighting"
edit_imageA

Edit or transform images using Nano Banana Pro Edit API.

This tool applies AI-powered edits to existing images based on text descriptions.
You can adjust style, add/remove elements, change backgrounds, enhance quality, etc.

Args:
    prompt: Description of desired edits or transformations. Be specific about
        what changes you want (e.g., "change background to sunset", "add studio
        lighting", "remove watermark", "enhance colors").
    image_urls: List of 1-10 publicly accessible image URLs to edit.
        Images must be reachable via HTTP/HTTPS. Common formats supported: JPEG, PNG, WebP.
    resolution: Output resolution. Options:
        - "1k": Lower resolution, faster processing ($0.14)
        - "2k": Standard resolution, best value ($0.14) [default]
        - "4k": High resolution for detailed work ($0.24)
    aspect_ratio: Output aspect ratio (optional). If not specified, maintains original.
        Options: "1:1" (square), "16:9" (landscape), "9:16" (portrait), "3:2", "2:3",
        "4:3", "3:4", "4:5", "5:4", "21:9"
    output_format: Output file format. Options:
        - "jpeg": Smaller file size, good for photos (default)
        - "png": Lossless quality, good for graphics
    enable_base64_output: Return base64-encoded image data instead of URL.
        Default: false (return URL)
    enable_sync_mode: Enable synchronous mode for immediate processing.
        Default: false (asynchronous processing)
    max_wait_seconds: Maximum time to wait for job completion in seconds.
        Default: 300 (5 minutes)

Returns:
    Success message with edited image URL, resolution, cost, and job ID.
    Format: "✓ Image edited successfully!

URL: ... Resolution: ... Cost: $... Job ID: ..."

Examples:
    - "Add dramatic sunset lighting to this portrait"
    - "Remove background and replace with solid white"
    - "Enhance colors and increase sharpness for product photography"
    - "Transform into oil painting style while keeping the subject"
check_job_statusA

Check the status of a previously submitted job.

Use this tool to monitor long-running jobs or check on jobs that timed out. Works for both image generation (Seedream) and image editing (Nano Banana) jobs.

Args: job_id: Job ID returned from generate_image or edit_image. Format: typically a UUID like "abc123-def456" endpoint_type: Which API the job was submitted to: - "seedream": For text-to-image generation jobs - "nano_banana": For image editing jobs

Returns: Current job status with result URL if completed. Possible statuses: IN_QUEUE, IN_PROGRESS, COMPLETED, FAILED

Examples: - Check a generation job: check_job_status("abc123-def456", "seedream") - Check an editing job: check_job_status("xyz789-ghi012", "nano_banana")

get_api_infoA

Get information about supported parameters and capabilities.

This tool provides reference information about what each API supports, including valid parameter values, pricing, and best practices.

Args: api: Which API to get information about: - "seedream": Seedream V4 T2I text-to-image generation - "nano_banana": Nano Banana Pro Edit image editing - "all": Information about both APIs (default)

Returns: Formatted reference information including supported parameters, constraints, pricing, and usage recommendations.

Examples: - Get all API info: get_api_info() - Get only Seedream info: get_api_info("seedream") - Get only Nano Banana info: get_api_info("nano_banana")

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jashwanth0712/runpod-image-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server