{"id":180,"date":"2026-03-21T22:47:21","date_gmt":"2026-03-21T14:47:21","guid":{"rendered":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/nodes-talk\/"},"modified":"2026-03-21T23:08:56","modified_gmt":"2026-03-21T15:08:56","slug":"nodes-talk","status":"publish","type":"post","link":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/nodes-talk\/","title":{"rendered":"Talk \u6a21\u5f0f"},"content":{"rendered":"<h1>Talk \u6a21\u5f0f<\/h1>\n<p>Talk \u6a21\u5f0f\u662f\u4e00\u4e2a\u8fde\u7eed\u7684\u8bed\u97f3\u5bf9\u8bdd\u5faa\u73af\uff1a<\/p>\n<ol>\n<li>\u76d1\u542c\u8bed\u97f3<\/li>\n<li>\u5c06\u8f6c\u5f55\u6587\u672c\u53d1\u9001\u5230\u6a21\u578b\uff08main \u4f1a\u8bdd\uff0cchat.send\uff09<\/li>\n<li>\u7b49\u5f85\u54cd\u5e94<\/li>\n<li>\u901a\u8fc7 ElevenLabs \u6717\u8bfb\uff08\u6d41\u5f0f\u64ad\u653e\uff09<\/li>\n<\/ol>\n<h2>\u884c\u4e3a\uff08macOS\uff09<\/h2>\n<ul>\n<li>Talk \u6a21\u5f0f\u542f\u7528\u65f6\u663e\u793a<strong>\u5e38\u9a7b\u60ac\u6d6e\u7a97<\/strong>\u3002<\/li>\n<li><strong>\u76d1\u542c \u2192 \u601d\u8003 \u2192 \u6717\u8bfb<\/strong>\u9636\u6bb5\u8f6c\u6362\u3002<\/li>\n<li><strong>\u77ed\u6682\u505c\u987f<\/strong>\uff08\u9759\u97f3\u7a97\u53e3\uff09\u540e\uff0c\u5f53\u524d\u8f6c\u5f55\u6587\u672c\u88ab\u53d1\u9001\u3002<\/li>\n<li>\u56de\u590d\u88ab<strong>\u5199\u5165 WebChat<\/strong>\uff08\u4e0e\u6253\u5b57\u76f8\u540c\uff09\u3002<\/li>\n<li><strong>\u8bed\u97f3\u4e2d\u65ad<\/strong>\uff08\u9ed8\u8ba4\u5f00\u542f\uff09\uff1a\u5982\u679c\u7528\u6237\u5728\u52a9\u624b\u6717\u8bfb\u65f6\u5f00\u59cb\u8bf4\u8bdd\uff0c\u6211\u4eec\u4f1a\u505c\u6b62\u64ad\u653e\u5e76\u8bb0\u5f55\u4e2d\u65ad\u65f6\u95f4\u6233\u4f9b\u4e0b\u4e00\u4e2a\u63d0\u793a\u4f7f\u7528\u3002<\/li>\n<\/ul>\n<h2>\u56de\u590d\u4e2d\u7684\u8bed\u97f3\u6307\u4ee4<\/h2>\n<p>\u52a9\u624b\u53ef\u4ee5\u5728\u56de\u590d\u524d\u6dfb\u52a0<strong>\u5355\u884c JSON<\/strong> \u6765\u63a7\u5236\u8bed\u97f3\uff1a<\/p>\n<p>&#8220;`json  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\n{ &#8220;voice&#8221;: &#8220;&#8221;, &#8220;once&#8221;: true }<\/p>\n<pre><code>\n\u89c4\u5219\uff1a\n\n* \u4ec5\u9002\u7528\u4e8e\u7b2c\u4e00\u4e2a\u975e\u7a7a\u884c\u3002\n* \u672a\u77e5\u952e\u4f1a\u88ab\u5ffd\u7565\u3002\n* `once: true` \u4ec5\u9002\u7528\u4e8e\u5f53\u524d\u56de\u590d\u3002\n* \u6ca1\u6709 `once` \u65f6\uff0c\u8be5\u8bed\u97f3\u6210\u4e3a Talk \u6a21\u5f0f\u7684\u65b0\u9ed8\u8ba4\u503c\u3002\n* JSON \u884c\u5728 TTS \u64ad\u653e\u524d\u4f1a\u88ab\u79fb\u9664\u3002\n\n\u652f\u6301\u7684\u952e\uff1a\n\n* `voice` \/ `voice_id` \/ `voiceId`\n* `model` \/ `model_id` \/ `modelId`\n* `speed`\u3001`rate`\uff08WPM\uff09\u3001`stability`\u3001`similarity`\u3001`style`\u3001`speakerBoost`\n* `seed`\u3001`normalize`\u3001`lang`\u3001`output_format`\u3001`latency_tier`\n* `once`\n\n## \u914d\u7f6e\uff08`~\/.openclaw\/openclaw.json`\uff09\n\n```json5  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\n{\n  talk: {\n    voiceId: &quot;elevenlabs_voice_id&quot;,\n    modelId: &quot;eleven_v3&quot;,\n    outputFormat: &quot;mp3_44100_128&quot;,\n    apiKey: &quot;elevenlabs_api_key&quot;,\n    interruptOnSpeech: true,\n  },\n}\n<\/code><\/pre>\n<p>\u9ed8\u8ba4\u503c\uff1a<\/p>\n<ul>\n<li><code>interruptOnSpeech<\/code>\uff1atrue<\/li>\n<li><code>voiceId<\/code>\uff1a\u56de\u9000\u5230 <code>ELEVENLABS_VOICE_ID<\/code> \/ <code>SAG_VOICE_ID<\/code>\uff08\u6216\u5f53 API \u5bc6\u94a5\u53ef\u7528\u65f6\u4f7f\u7528\u7b2c\u4e00\u4e2a ElevenLabs \u8bed\u97f3\uff09<\/li>\n<li><code>modelId<\/code>\uff1a\u672a\u8bbe\u7f6e\u65f6\u9ed8\u8ba4\u4e3a <code>eleven_v3<\/code><\/li>\n<li><code>apiKey<\/code>\uff1a\u56de\u9000\u5230 <code>ELEVENLABS_API_KEY<\/code>\uff08\u6216 Gateway \u7f51\u5173 shell profile\uff08\u5982\u679c\u53ef\u7528\uff09\uff09<\/li>\n<li><code>outputFormat<\/code>\uff1amacOS\/iOS \u4e0a\u9ed8\u8ba4\u4e3a <code>pcm_44100<\/code>\uff0cAndroid \u4e0a\u9ed8\u8ba4\u4e3a <code>pcm_24000<\/code>\uff08\u8bbe\u7f6e <code>mp3_*<\/code> \u4ee5\u5f3a\u5236 MP3 \u6d41\u5f0f\u4f20\u8f93\uff09<\/li>\n<\/ul>\n<h2>macOS UI<\/h2>\n<ul>\n<li>\u83dc\u5355\u680f\u5207\u6362\uff1a<strong>Talk<\/strong><\/li>\n<li>\u914d\u7f6e\u6807\u7b7e\u9875\uff1a<strong>Talk Mode<\/strong> \u7ec4\uff08voice id + \u4e2d\u65ad\u5f00\u5173\uff09<\/li>\n<li>\u60ac\u6d6e\u7a97\uff1a<\/li>\n<li><strong>\u76d1\u542c<\/strong>\uff1a\u4e91\u6735\u968f\u9ea6\u514b\u98ce\u7535\u5e73\u8109\u52a8<\/li>\n<li><strong>\u601d\u8003<\/strong>\uff1a\u4e0b\u6c89\u52a8\u753b<\/li>\n<li><strong>\u6717\u8bfb<\/strong>\uff1a\u8f90\u5c04\u5706\u73af<\/li>\n<li>\u70b9\u51fb\u4e91\u6735\uff1a\u505c\u6b62\u6717\u8bfb<\/li>\n<li>\u70b9\u51fb X\uff1a\u9000\u51fa Talk \u6a21\u5f0f<\/li>\n<\/ul>\n<h2>\u6ce8\u610f\u4e8b\u9879<\/h2>\n<ul>\n<li>\u9700\u8981\u8bed\u97f3 + \u9ea6\u514b\u98ce\u6743\u9650\u3002<\/li>\n<li>\u4f7f\u7528 <code>chat.send<\/code> \u9488\u5bf9\u4f1a\u8bdd\u952e <code>main<\/code>\u3002<\/li>\n<li>TTS \u4f7f\u7528\u5e26\u6709 <code>ELEVENLABS_API_KEY<\/code> \u7684 ElevenLabs \u6d41\u5f0f API\uff0c\u5e76\u5728 macOS\/iOS\/Android \u4e0a\u8fdb\u884c\u589e\u91cf\u64ad\u653e\u4ee5\u964d\u4f4e\u5ef6\u8fdf\u3002<\/li>\n<li><code>eleven_v3<\/code> \u7684 <code>stability<\/code> \u9a8c\u8bc1\u4e3a <code>0.0<\/code>\u3001<code>0.5<\/code> \u6216 <code>1.0<\/code>\uff1b\u5176\u4ed6\u6a21\u578b\u63a5\u53d7 <code>0..1<\/code>\u3002<\/li>\n<li>\u8bbe\u7f6e\u65f6 <code>latency_tier<\/code> \u9a8c\u8bc1\u4e3a <code>0..4<\/code>\u3002<\/li>\n<li>Android \u652f\u6301 <code>pcm_16000<\/code>\u3001<code>pcm_22050<\/code>\u3001<code>pcm_24000<\/code> \u548c <code>pcm_44100<\/code> \u8f93\u51fa\u683c\u5f0f\uff0c\u7528\u4e8e\u4f4e\u5ef6\u8fdf AudioTrack \u6d41\u5f0f\u4f20\u8f93\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Talk \u6a21\u5f0f Talk \u6a21\u5f0f\u662f\u4e00\u4e2a\u8fde\u7eed\u7684\u8bed\u97f3\u5bf9\u8bdd\u5faa\u73af\uff1a \u76d1\u542c\u8bed\u97f3 \u5c06\u8f6c\u5f55\u6587\u672c\u53d1\u9001\u5230\u6a21\u578b\uff08main \u4f1a\u8bdd\uff0cch [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-180","post","type-post","status-publish","format-standard","hentry","category-docs"],"_links":{"self":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/comments?post=180"}],"version-history":[{"count":1,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/180\/revisions"}],"predecessor-version":[{"id":475,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/180\/revisions\/475"}],"wp:attachment":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/media?parent=180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/categories?post=180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/tags?post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}