Imaginate
БесплатноНе проверенMCP server that expands rough ideas into detailed image prompts via LangChain and generates images using the Hugging Face Inference API.
Описание
MCP server that expands rough ideas into detailed image prompts via LangChain and generates images using the Hugging Face Inference API.
README
Turn a rough idea into a generated image — a LangChain prompt-enhancement chain expands your casual description into a detailed image prompt, which is then sent to a text-to-image model. Also exposed as an MCP tool, so any MCP-compatible AI agent (e.g. Claude Desktop) can call it directly.
How it works
User idea ("a cat astronaut")
│
▼
LangChain LCEL chain (Gemini) → expands into a detailed, styled prompt
│
▼
Hugging Face Inference API → generates the actual image
│
▼
Streamlit UI / MCP tool call → shown to the user or returned to the agent
Project Structure
imaginate/
├── src/
│ ├── prompt_chain.py # LangChain LCEL: rough idea -> detailed prompt
│ ├── image_gen.py # Hugging Face Inference API call
│ └── mcp_server.py # Exposes generate_image_tool as an MCP tool
├── app/
│ └── streamlit_app.py # UI
├── outputs/ # generated images land here
├── .env.example
├── .gitignore
├── requirements.txt
└── README.md
Setup
Install dependencies:
pip install -r requirements.txtCopy
.env.exampleto.envand fill in your keys:GOOGLE_API_KEY=your_gemini_api_key HF_API_KEY=your_huggingface_token- Gemini key: https://aistudio.google.com/app/apikey
- Hugging Face token: https://huggingface.co/settings/tokens
Run the Streamlit app
streamlit run app/streamlit_app.py
Run as an MCP server
python src/mcp_server.py
To connect this to Claude Desktop, add this to your Claude Desktop MCP config
(claude_desktop_config.json):
{
"mcpServers": {
"imaginate": {
"command": "python",
"args": ["/absolute/path/to/imaginate/src/mcp_server.py"]
}
}
}
Restart Claude Desktop, and you'll be able to ask it to generate an image using
the imaginate tool directly.
Author
Установка Imaginate
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/vanshgurawalia/ImaginateFAQ
Imaginate MCP бесплатный?
Да, Imaginate MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Imaginate?
Нет, Imaginate работает без API-ключей и переменных окружения.
Imaginate — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Imaginate в Claude Desktop, Claude Code или Cursor?
Открой Imaginate на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
ARA
Generate images, video and audio from any AI agent — one connector.
автор: ARAOmni Video
An MCP server that transforms LLM-enabled IDEs into professional video editors by pre-processing footage into text proxies, generating motion graphics via HTML/
автор: buildwithtazaYouTube
Transcripts, channel stats, search
автор: YouTubeEverArt
AI image generation using various models.
автор: modelcontextprotocolgpu-bridge/mcp-server
GPU inference API for LLMs, image and video generation, TTS, Whisper, embeddings, reranking and OCR, paid per use via x402 or an API key.
автор: gpu-bridgemerterbak/Grok-MCP
Access xAI's Grok API with agentic tool calling, image generation, vision and file support.
автор: merterbakSureScaleAI/openai-gpt-image-mcp
Image generation and editing with OpenAI's GPT image models.
автор: SureScaleAIYangLiangwei/PersonalizationMCP
Aggregate personal data from Steam, YouTube, Bilibili, Spotify, Reddit and other gaming, music, video and social platforms, with OAuth2 and token management.
автор: YangLiangweiAceDataCloud/MCPFlux
Flux image generation and editing from Black Forest Labs via the Ace Data Cloud API.
автор: AceDataCloudAceDataCloud/MCPNanoBanana
Nano Banana image generation and editing, including virtual try-on and product placement in realistic scenes.
автор: AceDataCloudCompare Imaginate with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории media
