Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYNoGoogle Gemini API Key for AI cover generation

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
text_to_imagesB

Convert text content to a series of images with Xiaohongshu (小红书) style themes.

Supported themes:

  • minimal: Clean white background, good for knowledge/tips content

  • elegant: Warm beige with serif font, good for novels/essays

  • warm: Warm gradient with card style, good for lifestyle/emotional content

  • dark: Dark mode, eye-friendly for night reading

Image ratios:

  • 3:4 (1080x1440): Best for Xiaohongshu feed, takes most screen space

  • 1:1 (1080x1080): Square format

  • 4:3 (1080x810): Landscape format

file_to_imagesA

Convert a local markdown or text file to a series of images. Supports .md, .txt, .text files. Automatically extracts title from the first # heading in markdown files. Cleans up markdown formatting for cleaner text display.

estimate_pagesA

Estimate how many pages the text will be split into without generating images

list_themesA

List all available themes with descriptions

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/dthinkr/xhs-image-mcp'

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