{"id":18654364,"url":"https://github.com/llmkira/llmbot_plugin_reecho_voice","last_synced_at":"2025-11-05T16:30:37.446Z","repository":{"id":207220921,"uuid":"718676038","full_name":"LlmKira/llmbot_plugin_reecho_voice","owner":"LlmKira","description":"调用 reecho 的语音 Api 进行中文语音回复，自然真实的中文语音，且可快速克隆","archived":false,"fork":false,"pushed_at":"2023-11-18T15:24:18.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T14:12:50.236Z","etag":null,"topics":["function-calling","llmkira-function-calling"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LlmKira.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-14T15:17:44.000Z","updated_at":"2023-11-14T17:14:51.000Z","dependencies_parsed_at":"2023-11-14T18:24:08.756Z","dependency_job_id":"28d93aed-1a3f-4f54-9fdc-2dbb1d4d4723","html_url":"https://github.com/LlmKira/llmbot_plugin_reecho_voice","commit_stats":null,"previous_names":["llmkira/llmbot_plugin_reecho_voice"],"tags_count":2,"template":false,"template_full_name":"LlmKira/llmbot_plugin_bilisearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LlmKira%2Fllmbot_plugin_reecho_voice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LlmKira%2Fllmbot_plugin_reecho_voice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LlmKira%2Fllmbot_plugin_reecho_voice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LlmKira%2Fllmbot_plugin_reecho_voice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LlmKira","download_url":"https://codeload.github.com/LlmKira/llmbot_plugin_reecho_voice/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239467434,"owners_count":19643604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["function-calling","llmkira-function-calling"],"created_at":"2024-11-07T07:14:49.605Z","updated_at":"2025-11-05T16:30:37.413Z","avatar_url":"https://github.com/LlmKira.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://llmkira.github.io/Docs/plugin/basic\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/LlmKira/.github/main/llmbot/func_call_big.png\"\u003e\n\u003c/a\u003e\n\u003ch2\u003ellmbot_plugin_reecho_voice\u003c/h2\u003e\n\u003c/div\u003e\n\n适用于 [OpenaiBot](https://github.com/LlmKira/Openaibot) 的函数插件，可以提供中文语音合成功能。\n\n## 📦 Install\n\n```shell\npip install llmbot_plugin_reecho_voice -U\n```\n\n## 📄 Usage\n\n`/env REECHO_MODEL=xxx;REECHO_KEY=xxx;REECHO_VOICE_ID=xxx`\n\n模型 ID 可以在 [ReEcho](https://dash.reecho.ai/voices) 的控制台中找到。注意需要完整的模型\nID，例如 `9ede7186-f24b-4018-a907-c3927c5e596a`。\n\n### 公共 API Key\n\n可以额外配置 `PLUGIN_REECHO_KEY` 来指定默认公共 API Key。\n\n默认参数如下\n\n```python\nvoice_id = \"4a632551-65d5-427e-b617-b2696c34587d\"\nmodel = \"reecho-neural-voice-001\"\n```\n\n也就是晓蕾 https://dash.reecho.ai/voice/4a632551-65d5-427e-b617-b2696c34587d\n\n## 📝 Hook\n\n```python\nclass ReechoSpeak(BaseTool):\n    \"\"\"\n    语音工具\n    \"\"\"\n    silent: bool = False\n    function: Function = speak_chinese\n    keywords: list = [\"语音\", \"说\", \"读\", \"念\", \"回答\", \"骂\", \"唱\", \"朗读\", \"朗诵\"]\n    require_auth: bool = False\n    repeatable: bool = False\n    env_required: list = [\"KEY\", \"VOICE_ID\", \"MODEL\"]\n    env_prefix: str = \"REECHO_\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllmkira%2Fllmbot_plugin_reecho_voice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllmkira%2Fllmbot_plugin_reecho_voice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllmkira%2Fllmbot_plugin_reecho_voice/lists"}