Feedback

Inworld

本文主要介绍如何在接口中配置 Inworld。
Inworld 专注于面向游戏、虚拟世界和沉浸式体验的 AI 驱动交互角色。其 TTS 与角色个性、情感系统和上下文感知深度耦合。如果你正在构建游戏 NPC、虚拟伴侣或交互式叙事体验——语音是完整角色 AI 栈的一部分——Inworld 是首选。

使用方式

如需使用 Inworld 作为 TTS 引擎,请在 StartAIConversation API 的 TTSConfig 字段中传入以下 JSON:
// json — TTSConfig
{
"TTSType": "inworld",
"APIKey": "<your_inworld_api_key>",
"VoiceId": "Dennis",
"ModelId": "inworld-tts-1.5-max",
"Temperature": 1.0
}
完整 TTSConfig 参数参考,请参阅 Text-to-Speech Configuration

参数参考

字段
类型
必填
说明
TTSType
String
固定值:"inworld"
APIKey
String
你的 Inworld API 密钥。请从 Inworld Studio 获取。
VoiceId
String
要使用的音色名称(如 "Dennis")。请参阅 Inworld TTS Playground
ModelId
String
Inworld TTS 模型 ID(如 "inworld-tts-1.5-max")。请参阅 Inworld TTS 模型
Temperature
Float
控制音色表现力。默认值:1.0。
说明:
Inworld 音色和角色在 Inworld Studio 中配置。请参阅 Inworld 文档了解音色设置详情。
更多 Inworld 的详细信息,请参阅 Inworld 文档