{"id":50526697,"url":"https://github.com/poyih/bob-plugin-gemini-tts","last_synced_at":"2026-06-03T09:00:14.835Z","repository":{"id":352392452,"uuid":"1212278999","full_name":"poyih/bob-plugin-gemini-tts","owner":"poyih","description":"Bob 翻译插件 - 使用 Google Gemini TTS API 进行语音合成","archived":false,"fork":false,"pushed_at":"2026-04-19T11:58:17.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-19T12:10:12.637Z","etag":null,"topics":["bobplugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/poyih.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-16T08:16:49.000Z","updated_at":"2026-04-19T11:58:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/poyih/bob-plugin-gemini-tts","commit_stats":null,"previous_names":["poyih/bob-plugin-gemini-tts"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/poyih/bob-plugin-gemini-tts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poyih%2Fbob-plugin-gemini-tts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poyih%2Fbob-plugin-gemini-tts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poyih%2Fbob-plugin-gemini-tts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poyih%2Fbob-plugin-gemini-tts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poyih","download_url":"https://codeload.github.com/poyih/bob-plugin-gemini-tts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poyih%2Fbob-plugin-gemini-tts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33856287,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bobplugin"],"created_at":"2026-06-03T09:00:13.512Z","updated_at":"2026-06-03T09:00:14.799Z","avatar_url":"https://github.com/poyih.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bob Plugin - Gemini TTS\n\n使用 Google Gemini TTS API 为 [Bob](https://bobtranslate.com/) 提供语音合成功能。\n\n支持 Gemini 3.1 Flash TTS、Gemini 2.5 Pro TTS 和 Gemini 2.5 Flash TTS 模型，提供 30 种预置声音。\n\n支持直接在文本中使用 Gemini `audio tags` 控制语气、停顿和情绪。\n\n\u003e 需要 Bob ≥ 1.20.0。\n\n## 安装\n\n1. 下载最新的 `gemini-tts.bobplugin` 文件\n2. 双击文件安装到 Bob\n\n## 配置\n\n| 选项 | 必填 | 说明 |\n| --- | --- | --- |\n| API Key | 是 | Gemini API Key，在 [Google AI Studio](https://aistudio.google.com/apikey) 获取 |\n| 自定义 API 地址 | 否 | 默认 `https://generativelanguage.googleapis.com`，支持自定义代理地址 |\n| 模型 | 否 | 默认 `gemini-3.1-flash-tts-preview`，可选 2.5 Pro / 2.5 Flash |\n| 声音 | 否 | 默认 `Kore`，可选 30 种预置声音 |\n| 语音指令 | 否 | 用于控制语音风格和语气，如\"用欢快的语气朗读\" |\n\n### 模型选择\n\n| 模型 | 模型 ID | 特点 |\n| --- | --- | --- |\n| Gemini 3.1 Flash TTS | `gemini-3.1-flash-tts-preview` | 最新，表现力与可控性更佳（默认） |\n| Gemini 2.5 Pro TTS | `gemini-2.5-pro-preview-tts` | 偏高质量 |\n| Gemini 2.5 Flash TTS | `gemini-2.5-flash-preview-tts` | 偏低延迟 |\n\n### 预置声音\n\nZephyr, Puck, Charon, Kore, Fenrir, Leda, Orus, Aoede, Callirrhoe, Autonoe, Enceladus, Iapetus, Umbriel, Algieba, Despina, Erinome, Algenib, Rasalgethi, Laomedeia, Achernar, Alnilam, Schedar, Gacrux, Pulcherrima, Achird, Zubenelgenubi, Vindemiatrix, Sadachbia, Sadaltager, Sulafat\n\n### 自定义 API 地址说明\n\n- 填入完整地址（含路径）将直接使用\n- 仅填域名将自动拼接 `/v1beta/models/{model}:generateContent`\n\n## Audio Tags\n\nGemini TTS 支持在正文中直接插入 `audio tags`。插件会将文本原样发送给 Gemini，因此这类标签无需额外开关。\n\n示例：\n\n```text\n[whispers] 你好。[short pause] 我们开始吧。\n```\n\n建议：\n\n- 将全局风格放在“语音指令”里，例如“用轻松自然的语气朗读”\n- 将局部效果放在正文里，例如 `[short pause]`、`[whispers]`\n- `audio tags` 属于提示词能力，不是严格 SSML，实际效果会随模型和声音略有波动\n\n## 支持语言\n\n中文（简体/繁体）、英语、日语、韩语、法语、德语、西班牙语、意大利语、葡萄牙语、俄语、阿拉伯语、泰语、越南语、印尼语、马来语、土耳其语、波兰语、荷兰语、瑞典语、丹麦语、挪威语、芬兰语、希腊语、捷克语、罗马尼亚语、匈牙利语、斯洛伐克语、乌克兰语、保加利亚语、克罗地亚语、印地语、孟加拉语、泰米尔语、泰卢固语、马拉雅拉姆语、希伯来语、菲律宾语\n\n## 开发\n\n构建插件：\n\n```bash\nzip -j gemini-tts.bobplugin info.json main.js\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoyih%2Fbob-plugin-gemini-tts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoyih%2Fbob-plugin-gemini-tts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoyih%2Fbob-plugin-gemini-tts/lists"}