fetch_custom_face

fetch_custom_face只读扩展
获取自定义表情

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

Parameters

Param Type Required Default Description
count int 10
return_type string "url"

Returns (data)

字符串数组:return_type=url 时为图片 URL,return_type=id 时为 emoji_id。

data is string[].

Raw JSON Schema
{
  "type": "array",
  "items": {
    "type": "string",
    "description": "图片 URL 或 emoji_id(取决于 return_type)"
  }
}

Examples

curl
Python
JavaScript
Go
SnowLuma SDK
curl -X POST http://127.0.0.1:3000/fetch_custom_face \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <access-token>' \
  -d '{"count":10,"return_type":"url"}'
Using an AI assistant?

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