• 製品
  • 価格
  • リソース
  • サポート
このページは現在英語版のみで提供されており、日本語版も近日中に提供される予定です。ご利用いただきありがとうございます。
Feedback

Coze

Coze (by ByteDance) is a no-code AI bot platform that lets you create and manage conversational bots with built-in plugins, knowledge bases, and memory — all from a visual interface. Ideal if you want to rapidly prototype AI bots with rich plugin capabilities without writing custom backend logic.

Usage

To use Coze as the LLM engine, pass the following JSON in the LLMConfig field of the StartAIConversation API. Coze uses its own dedicated LLMType:
// json — LLMConfig
{
"LLMType": "coze",
"APIKey": "<your_coze_api_key>",
"APIUrl": "https://api.coze.com/v3/chat?conversation_id=xxx",
"BotId": "<your_bot_id>",
"Streaming": true,
"UserId": "user_id",
"conversation_id": "xxx"
}
For full Conversational AI configuration (STT, TTS, interruption handling, VAD, etc.), see the TRTC Conversational AI API Reference.

Parameter reference

Field
Type
Required
Description
LLMType
String
Yes
Fixed value: "coze".
APIKey
String
Yes
Coze API key. Obtain from Coze Developer Portal.
APIUrl
String
Yes
Coze chat endpoint (includes conversation_id as query param).
BotId
String
Yes
Your Coze Bot ID from the Coze platform.
Streaming
Boolean
No
Enable streaming. Default: true.
UserId
String
No
User identifier for session tracking.
conversation_id
String
No
Conversation ID to continue an existing session.
For more details on Coze platform, see the Coze documentation.