get_ai_record

get_ai_record写操作扩展
生成 AI 语音

Call via POST http://127.0.0.1:3000/get_ai_record (JSON params as the body) or WebSocket.

Parameters

Param Type Required Default Description
group_id uint 群号
character string
text string
chat_type int 1

Returns (data)

Returns the standard OneBot envelope; the data shape is not yet documented.

Examples

curl
Python
JavaScript
Go
SnowLuma SDK
curl -X POST http://127.0.0.1:3000/get_ai_record \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <access-token>' \
  -d '{"group_id":123456,"character":"","text":"","chat_type":1}'
Using an AI assistant?

MCP-capable clients can discover and call this action directly — no hand-written HTTP. See MCP.