安装插件
开始使用
1
Set your API key
从 Inworld 仪表板(Workspace > API Keys)复制凭据,并将其设置为环境变量。该值会按原样作为 HTTP Basic 凭据发送,因此不要再次对其进行 Base64 编码,也不要将其转换为 bearer token。
2
Select Inworld in tts
3
发送消息
通过任何已连接的渠道发送回复。OpenClaw 会使用 Inworld 合成音频,并将其以 MP3 形式发送(如果该渠道期望语音备注,则发送 OGG_OPUS)。
配置选项
说明
Authentication
Authentication
Inworld 使用 HTTP Basic 身份验证,并使用单个 Base64 编码的凭据字符串。请从 Inworld 仪表板中原样复制它。该提供商会将其作为
Authorization: Basic <apiKey> 发送,不会进行任何进一步编码,因此不要自行对其进行 Base64 编码,也不要传入 bearer 风格的 token。有关相同提示,请参见 TTS auth notes。Models
Models
支持的模型 ids:
inworld-tts-1.5-max(默认)、inworld-tts-1.5-mini、inworld-tts-1-max、inworld-tts-1。Audio outputs
Audio outputs
回复默认使用 MP3。当天渠道目标是
voice-note 时,OpenClaw 会请求 Inworld 返回 OGG_OPUS,以便音频作为原生语音气泡播放。电话合成使用 22050 Hz 的原始 PCM,以供电话桥接使用。Custom endpoints
Custom endpoints
Override the API host with
tts.providers.inworld.baseUrl. Trailing slashes are stripped before requests are sent.相关内容
Text-to-speech
TTS overview, providers, and
tts config.Configuration
Full config reference including
tts settings.Providers
所有受支持的 OpenClaw 提供商。
故障排除
常见问题和调试步骤。