Back to MCP directory
publicPublicdnsLocal runtime

mcp-server-07r

一个通过HTTP请求实现文本克隆的语音服务项目

article

README

🚀 语音克隆请求调用项目

本项目用于向指定地址发送语音克隆请求,通过设置请求头和请求体,实现语音克隆功能。

🚀 快速开始

运行以下命令来发起语音克隆请求:

Invoke-WebRequest -Uri "http://127.0.0.1:5050/clone" -Method POST -Headers @{ "Content-Type" = "application/json" } -Body '{"text": "你好,我的名字是Saanidhya", "voice_id": "您的 voice_id", "api_key": "您的 api_key"}'

命令解释

| 参数 | 详情 | |------|------| | Invoke-WebRequest | 调用 Web 请求 | | -Uri "http://127.0.0.1:5050/clone" | 指定请求的 URI 地址为 http://127.0.0.1:5050/clone | | -Method POST | 设置请求方法为 POST | | -Headers @{ "Content-Type" = "application/json" } | 添加请求头,内容类型为 application/json | | -Body '{"text": "你好,我的名字是Saanidhya", "voice_id": "您的 voice_id", "api_key": "您的 api_key"}' | 设置请求体,包含文本、语音 ID 和 API 密钥 |

⚠️ 重要提示

请将 "您的 voice_id""您的 api_key" 替换为您自己的语音 ID 和 API 密钥,否则请求将无法正常工作。

💡 使用建议

在发起请求前,确保服务器地址 http://127.0.0.1:5050 可正常访问,并且语音 ID 和 API 密钥是有效的。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client