AllVoiceLab-MCP

by Ruxo0
Integrations
  • Used for making HTTP requests to the MCP server's endpoints, enabling communication with the text-to-speech and video translation APIs

  • Enables cloning the MCP repository to access the server code and contribute to its development

  • Hosts the repository and provides access to releases, documentation, and contribution workflows

AllVoiceLab-MCP🎤🌐

欢迎来到 AllVoiceLab 模型上下文协议 (MCP) 服务器的官方代码库。该项目支持与先进的文本转语音和视频翻译 API 无缝交互,让开发者能够将强大的语音和视频功能集成到他们的应用程序中。

目录

介绍

AllVoiceLab MCP 服务器旨在简化语音和视频技术的集成。借助此服务器,开发者可以利用高质量的文本转语音和视频翻译服务,提升各种应用中的用户体验。无论您是构建教育工具、游戏应用还是内容创作平台,MCP 都能为您提供所需的工具。

特征

  • 文本到语音 (TTS) :将书面文本转换为自然的语音。
  • 视频翻译:自动将视频内容翻译成不同的语言。
  • 轻松集成:简单的 API 调用即可与您现有的应用程序集成。
  • 可扩展性:旨在有效处理大量请求。
  • 自定义:自定义语音设置和翻译偏好的选项。

安装

要开始使用 AllVoiceLab MCP,请按照以下步骤操作:

  1. 克隆存储库
    git clone https://github.com/Ruxo0/AllVoiceLab-MCP.git cd AllVoiceLab-MCP
  2. 安装依赖项:确保已安装必要的依赖项。使用以下命令:
    npm install
  3. 下载最新版本:访问“发布”部分下载最新版本。按照发行说明中的说明运行服务器。
  4. 运行服务器:使用以下命令启动服务器:
    npm start

用法

设置服务器后,即可开始使用 API。以下是如何向文本转语音端点发出请求的简单示例:

文本转语音示例

const axios = require('axios'); const text = "Hello, welcome to AllVoiceLab!"; const url = 'http://localhost:3000/api/tts'; axios.post(url, { text }) .then(response => { console.log('Audio URL:', response.data.audioUrl); }) .catch(error => { console.error('Error:', error); });

视频翻译示例

const axios = require('axios'); const videoUrl = "http://example.com/video.mp4"; const targetLanguage = "es"; // Spanish const url = 'http://localhost:3000/api/translate'; axios.post(url, { videoUrl, targetLanguage }) .then(response => { console.log('Translated Video URL:', response.data.translatedVideoUrl); }) .catch(error => { console.error('Error:', error); });

API 文档

AllVoiceLab MCP 服务器提供 RESTful API,方便用户交互。以下是主要接口:

文本转语音端点

  • 网址/api/tts
  • 方法POST
  • 请求正文
    { "text": "string" }
  • 回复
    { "audioUrl": "string" }

视频翻译端点

  • 网址/api/translate
  • 方法POST
  • 请求正文
    { "videoUrl": "string", "targetLanguage": "string" }
  • 回复
    { "translatedVideoUrl": "string" }

更详细的API文档请参考Wiki

贡献

我们欢迎社区的贡献!如果您想贡献,请按照以下步骤操作:

  1. 分叉存储库:单击页面右上角的“分叉”按钮。
  2. 创建新分支
    git checkout -b feature/YourFeature
  3. 进行更改:实现您的功能或修复错误。
  4. 提交您的更改
    git commit -m "Add your message here"
  5. 推送至分支
    git push origin feature/YourFeature
  6. 打开拉取请求:转到原始存储库并单击“新建拉取请求”。

执照

本项目遵循 MIT 许可证。详情请参阅LICENSE文件。

接触

如有任何疑问或反馈,请联系项目维护人员:

欢迎随时访问“发布”部分获取更新并下载最新版本。您的贡献和反馈对我们持续改进 AllVoiceLab MCP 服务器至关重要。

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

模型上下文协议服务器使开发人员能够通过简单的 API 调用将高级文本到语音和视频翻译功能集成到他们的应用程序中。

  1. 目录
    1. 介绍
      1. 特征
        1. 安装
          1. 用法
            1. 文本转语音示例
            2. 视频翻译示例
          2. API 文档
            1. 文本转语音端点
            2. 视频翻译端点
          3. 贡献
            1. 执照
              1. 接触

                Related MCP Servers

                • -
                  security
                  F
                  license
                  -
                  quality
                  A Model Context Protocol server that provides text-to-speech capabilities using the Kokoro TTS model, offering multiple voice options and customizable speech parameters.
                  Last updated -
                  239
                  JavaScript
                  • Apple
                  • Linux
                • -
                  security
                  -
                  license
                  -
                  quality
                  A Model Context Protocol server that enables access to YouTube video content through transcripts, translations, summaries, and subtitle generation in various languages.
                  Last updated -
                  Python
                  MIT License
                • -
                  security
                  A
                  license
                  -
                  quality
                  A Model Context Protocol server that integrates high-quality text-to-speech capabilities with Claude Desktop and other MCP-compatible clients, supporting multiple voice options and audio formats.
                  Last updated -
                  TypeScript
                  MIT License
                • -
                  security
                  A
                  license
                  -
                  quality
                  A Model Context Protocol server that provides DeepL translation capabilities, allowing AI assistants to translate text between supported languages via the DeepL API.
                  Last updated -
                  1
                  JavaScript
                  MIT License
                  • Apple

                View all related MCP servers

                ID: yreapng3n9