| 属性 | 值 |
|---|---|
| 提供商 ID | inworld |
| 插件 | bundled, enabledByDefault: true |
| 合约 | speechProviders (仅 TTS) |
| 认证环境变量 | INWORLD_API_KEY (HTTP Basic, Base64 仪表盘凭证) |
| 基础 URL | https://api.inworld.ai |
| 默认音色 | Sarah |
| 默认模型 | inworld-tts-1.5-max |
| 输出 | MP3(默认)、OGG_OPUS(语音备注)、PCM 22050 Hz(电话) |
| 网站 | inworld.ai |
| 文档 | docs.inworld.ai/tts/tts |
开始使用
设置你的 API 密钥
从你的 Inworld 仪表盘(Workspace > API Keys)复制凭证
并将其设置为环境变量。该值会按原样作为 HTTP Basic
凭证发送,因此不要再次对其进行 Base64 编码,也不要将其转换为 bearer
token。
配置选项
| Option | Path | Description |
|---|---|---|
apiKey | messages.tts.providers.inworld.apiKey | Base64 仪表盘凭证。回退到 INWORLD_API_KEY。 |
baseUrl | messages.tts.providers.inworld.baseUrl | 覆盖 Inworld API 基础 URL(默认 https://api.inworld.ai)。 |
speakerVoiceId | messages.tts.providers.inworld.speakerVoiceId | 语音标识符(默认 Sarah)。 |
modelId | messages.tts.providers.inworld.modelId | TTS 模型 ID(默认 inworld-tts-1.5-max)。 |
temperature | messages.tts.providers.inworld.temperature | 采样温度 0..2(可选)。 |
说明
认证
认证
模型
模型
支持的模型 id:
inworld-tts-1.5-max(默认)、
inworld-tts-1.5-mini、inworld-tts-1-max、inworld-tts-1。音频输出
音频输出
回复默认使用 MP3。当渠道目标是
voice-note
时,OpenClaw 会向 Inworld 请求 OGG_OPUS,以便音频作为原生
语音气泡播放。通话合成使用原始 PCM,采样率为 22050 Hz,
供通话桥接使用。自定义端点
自定义端点
使用
messages.tts.providers.inworld.baseUrl 覆盖 API 主机。
发送请求前会移除末尾的斜杠。相关内容
文本转语音
TTS 概览、提供商,以及
messages.tts 配置。配置
包含
messages.tts 设置在内的完整配置参考。提供商
所有内置的 OpenClaw 提供商。
故障排除
常见问题和调试步骤。