MaiBot/_manifest.json

235 lines
7.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{
"manifest_version": 1,
"name": "统一TTS语音合成插件",
"version": "3.2.3",
"description": "统一TTS语音合成插件整合AI Voice、GSV2P、GPT-SoVITS、豆包语音、CosyVoice五种后端引擎提供灵活的语音合成能力。",
"author": {
"name": "靓仔",
"url": "https://github.com/xuqian13"
},
"license": "AGPL-v3.0",
"homepage_url": "",
"repository_url": "https://github.com/xuqian13/tts_voice_plugin",
"keywords": [
"TTS",
"语音合成",
"文本转语音",
"AI语音",
"GSV2P",
"GPT-SoVITS",
"豆包",
"CosyVoice",
"火山引擎",
"多后端",
"语音",
"朗读",
"音色",
"语音播报",
"方言",
"声音克隆",
"MaiCore"
],
"categories": [
"语音",
"AI",
"聊天增强",
"娱乐",
"Utility",
"Communication",
"Accessibility"
],
"host_application": {
"min_version": "0.12.0"
},
"default_locale": "zh-CN",
"plugin_info": {
"is_built_in": false,
"plugin_type": "general",
"components": [
{
"type": "action",
"name": "unified_tts_action",
"description": "统一TTS语音合成Action支持四种后端引擎智能切换LLM自主判断触发"
},
{
"type": "command",
"name": "unified_tts_command",
"description": "统一TTS命令支持/tts、/voice、/gsv2p、/doubao多种命令格式灵活指定后端和音色"
}
],
"features": [
"支持五种TTS后端AI Voice、GSV2P、GPT-SoVITS、豆包语音、CosyVoice",
"AI Voice: MaiCore内置简单快速22+预设音色",
"GSV2P: 云端API高质量合成丰富的调节参数",
"GPT-SoVITS: 本地服务,高度定制化,多风格支持",
"豆包语音: 字节跳动云服务,支持复刻音色和情感控制",
"CosyVoice: 阿里云语音合成支持17种方言、3秒声音克隆、情感控制",
"模块化架构,后端独立实现,易于扩展",
"HTTP Session复用提升性能",
"临时文件自动清理,避免并发冲突",
"智能触发模式LLM自主判断和手动命令模式",
"概率控制机制,避免语音回复过于频繁",
"智能语言检测(中文/英文/日文)",
"文本自动清理和网络用语转换",
"完善的错误处理和重试机制",
"灵活的配置系统,支持各后端独立配置"
],
"dependencies": {
"python": [
"aiohttp",
"gradio_client"
],
"system": [],
"plugins": []
},
"backend_info": {
"ai_voice": {
"provider": "MaiCore内置",
"endpoint": "AI_VOICE_SEND命令",
"authentication": "无需认证",
"limitations": "仅支持群聊使用",
"voices": "22+预设音色(小新、妲己、酥心御姐等)"
},
"gsv2p": {
"provider": "GSV2P云服务",
"endpoint": "https://gsv2p.acgnai.top/v1/audio/speech",
"authentication": "需要API Token",
"limitations": "API调用限制",
"features": "高质量合成、多语言支持、丰富参数调节"
},
"gpt_sovits": {
"provider": "本地GPT-SoVITS服务",
"endpoint": "http://127.0.0.1:9880",
"authentication": "无需认证",
"limitations": "需要本地部署服务",
"features": "高度定制化、多风格支持、模型权重切换"
},
"doubao": {
"provider": "字节跳动火山引擎",
"endpoint": "https://openspeech.bytedance.com/api/v3/tts/unidirectional",
"authentication": "需要app_id、access_key、resource_id",
"limitations": "需要火山引擎账号",
"features": "快速高质量、支持复刻音色、情感语气控制"
},
"cosyvoice": {
"provider": "阿里云 CosyVoice",
"endpoint": "ModelScope Gradio API",
"authentication": "无需认证公开Gradio接口",
"limitations": "依赖ModelScope服务可用性",
"features": "3秒声音克隆、17种方言支持、情感语速控制、自然语言指令"
}
}
},
"configuration": {
"config_file": "config.toml",
"config_template": "config.toml.example",
"auto_generate": true,
"sections": [
{
"name": "plugin",
"description": "插件基本配置"
},
{
"name": "general",
"description": "通用设置(默认后端、超时、文本长度等)"
},
{
"name": "components",
"description": "组件启用控制"
},
{
"name": "probability",
"description": "概率控制配置(避免语音回复过于频繁)"
},
{
"name": "ai_voice",
"description": "AI Voice后端配置音色映射等"
},
{
"name": "gsv2p",
"description": "GSV2P后端配置API地址、Token、参数等"
},
{
"name": "gpt_sovits",
"description": "GPT-SoVITS后端配置服务地址、风格配置等"
},
{
"name": "doubao",
"description": "豆包语音后端配置(火山引擎认证、音色、情感等)"
},
{
"name": "cosyvoice",
"description": "CosyVoice后端配置Gradio URL、模式、方言等"
}
]
},
"usage_examples": [
{
"type": "action",
"backend": "auto",
"description": "LLM自动触发语音回复",
"example": "用户:请用语音说\"你好世界\"\n机器人[使用默认后端自动生成语音文件并发送]"
},
{
"type": "command",
"backend": "ai_voice",
"description": "手动命令使用AI Voice",
"example": "/tts 你好世界 小新"
},
{
"type": "command",
"backend": "gsv2p",
"description": "手动命令使用GSV2P",
"example": "/gsv2p 今天天气不错"
},
{
"type": "command",
"backend": "doubao",
"description": "手动命令使用豆包语音",
"example": "/doubao 你好世界"
},
{
"type": "command",
"backend": "gpt_sovits",
"description": "手动命令使用GPT-SoVITS",
"example": "/tts 测试一下 default gpt_sovits"
},
{
"type": "command",
"backend": "cosyvoice",
"description": "手动命令使用CosyVoice",
"example": "/cosyvoice 你好世界 四川话"
},
{
"type": "command",
"backend": "auto",
"description": "使用默认后端",
"example": "/tts 你好世界"
}
],
"migration_info": {
"from_plugins": [
"ai_voice_plugin (v1.0.0)",
"gsv2p_tts_plugin (v1.0.0)",
"tts_voice_plugin (v2.0.0)",
"tts_voice_plugin (v3.0.0)"
],
"migration_notes": [
"本插件整合了ai_voice_plugin、gsv2p_tts_plugin和旧版tts_voice_plugin的所有功能",
"v3.2.2适配智能分割插件(支持|||SPLIT|||分隔符精确分段)",
"v3.2.2支持GPT-SoVITS数组格式配置WebUI友好向后兼容字典格式",
"v3.2.2修复豆包语音音色信息显示乱码问题",
"v3.2.2优化配置文件注释,更简洁清晰",
"v3.2.0新增CosyVoice后端支持阿里云语音合成支持17种方言和3秒声音克隆",
"v3.1.0新增豆包语音后端支持",
"v3.1.0重构为模块化架构,提升代码可维护性",
"配置文件需要重新生成,原配置需手动迁移",
"建议备份旧插件配置后再迁移",
"AI Voice音色映射保持兼容",
"GSV2P API配置需重新填写Token",
"GPT-SoVITS风格配置需要重新设置",
"新增config.toml.example模板文件"
]
},
"id": "tts_voice_plugin"
}