Local Ai Gen
БесплатноНе проверенLocal AI generation for images, audio, speech, and 3D models using open source models.
Описание
Local AI generation for images, audio, speech, and 3D models using open source models.
README
This project runs a local MCP (Model Context Protocol) server that exposes tools for:
- Text to Image
- Text to Music / Audio
- Text to Speech
- Image/Text to 3D Model
Models Used
- Image Generation:
segmind/SSD-1BA fast, distilled version of SDXL that works well on consumer GPUs. - Music Generation:
stabilityai/stable-audio-open-1.0A high-quality open model for generating sound effects, short music tracks, and ambient audio. (Note: Requires accepting license terms) - Speech Generation:
Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoiceA robust, multilingual text-to-speech model. - 3D Generation:
stabilityai/TripoSRA fast feed-forward model for image-to-3D reconstruction.
Requirements
- Python 3.10+
- NVIDIA GPU (8GB+ VRAM recommended for running everything smoothly)
- Hugging Face User Access Token (for
stable-audio-open-1.0)
Complete Setup Guide
1. Preparation and Hugging Face Authenication
The Stable Audio Open model is gated and requires you to accept its license before downloading.
- Go to stabilityai/stable-audio-open-1.0 on Hugging Face.
- Log in and click to Accept the Terms/License.
- Generate a User Access Token in your Hugging Face Settings.
- Run the Hugging Face CLI login locally:
(Paste your token when prompted. You do not need to add it as a git credential).pip install -U "huggingface_hub" hf auth
2. Environment Installation
python -m venv .venv
source .venv/bin/activate
python setup.py
What python setup.py does:
- Creates output directories (
generated_images,generated_audio,generated_models,models) - Clones
third_party/TripoSRif it is missing - Installs everything from
requirements.txt - Compiles and installs
torchmcubesagainst your active torch version (needed for 3D generation) - Installs
flash-attn.
Run the MCP server
To run the MCP server manually (via standard I/O):
python mcp_server/main.py
Note: The first run of any specific tool will be slower because it has to download the weights for that model into your Hugging Face cache.
Smoke Test
You can run the included smoke test script to verify all models are working correctly:
python smoke_test_generate.py
MCP Tools Exposed
generate_imagegenerate_audiogenerate_speechgenerate_3d_modelhealth_check
Notes
- Generated files are written to
generated_images,generated_audio, andgenerated_modelsby default. - For
generate_audioandgenerate_speech, you can override the destination with: - tool arg
output_dir(highest priority), or - env var
GENAI_OUTPUT_AUDIO_DIR - For
generate_image, override destination with tool argoutput_diror env varGENAI_OUTPUT_IMAGE_DIR - For
generate_3d_model, override destination with tool argoutput_diror env varGENAI_OUTPUT_MODEL_DIR
Using with MCP Clients (Cursor, Claude Desktop, etc.)
To use this server in an MCP-compatible client, add the following to your mcp.json (or the respective MCP configuration file for your client). Make sure to replace <YOUR_PROJECT_PATH> with the absolute path to where you cloned this repository:
{
"mcpServers": {
"local_ai_gen": {
"command": "<YOUR_PROJECT_PATH>/.venv/bin/python",
"args": [
"<YOUR_PROJECT_PATH>/mcp_server/main.py"
],
"env": {}
}
}
}
Установка Local Ai Gen
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/davidemodolo/local-asset-gen-mcpFAQ
Local Ai Gen MCP бесплатный?
Да, Local Ai Gen MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Local Ai Gen?
Нет, Local Ai Gen работает без API-ключей и переменных окружения.
Local Ai Gen — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Local Ai Gen в Claude Desktop, Claude Code или Cursor?
Открой Local Ai Gen на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Omni 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/
автор: buildwithtazaARA
Generate images, video and audio from any AI agent — one connector.
автор: ARAYouTube
Transcripts, channel stats, search
автор: YouTubeEverArt
AI image generation using various models.
автор: modelcontextprotocolCompare Local Ai Gen with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории media
