Skip to main content
Glama

MCP DeepInfra AI Tools Server

by phuihock

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ENABLED_TOOLSNoComma-separated list of tools to enable. Use "all" to enable all toolsall
MODEL_FILL_MASKNoDefault model for fill maskmicrosoft/DialoGPT-medium
MODEL_EMBEDDINGSNoDefault model for embeddingssentence-transformers/all-MiniLM-L6-v2
DEEPINFRA_API_KEYYesYour DeepInfra API key
MODEL_GENERATE_IMAGENoDefault model for image generationBria/Bria-3.2
MODEL_TEXT_GENERATIONNoDefault model for text generationmeta-llama/Llama-2-7b-chat-hf
MODEL_OBJECT_DETECTIONNoDefault model for object detectionopenai/gpt-4o-mini
MODEL_SPEECH_RECOGNITIONNoDefault model for speech recognitionopenai/whisper-large-v3
MODEL_TEXT_CLASSIFICATIONNoDefault model for text classificationmicrosoft/DialoGPT-medium
MODEL_IMAGE_CLASSIFICATIONNoDefault model for image classificationopenai/gpt-4o-mini
MODEL_TOKEN_CLASSIFICATIONNoDefault model for token classificationmicrosoft/DialoGPT-medium
MODEL_ZERO_SHOT_IMAGE_CLASSIFICATIONNoDefault model for zero-shot image classificationopenai/gpt-4o-mini

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_image

Generate an image from a text prompt using DeepInfra OpenAI-compatible API.

text_generation

Generate text completion using DeepInfra OpenAI-compatible API.

embeddings

Generate embeddings for a list of texts using DeepInfra OpenAI-compatible API.

speech_recognition

Transcribe audio to text using DeepInfra OpenAI-compatible API (Whisper).

zero_shot_image_classification

Classify an image with zero-shot labels using DeepInfra OpenAI-compatible API (CLIP).

object_detection

Detect objects in an image using DeepInfra OpenAI-compatible API with multimodal model.

image_classification

Classify an image using DeepInfra OpenAI-compatible API with multimodal model.

text_classification

Classify text sentiment/category using DeepInfra OpenAI-compatible API.

token_classification

Perform named entity recognition (NER) on text using DeepInfra OpenAI-compatible API.

fill_mask

Fill masked tokens in text using DeepInfra OpenAI-compatible API.

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/phuihock/mcp-deeinfra'

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