_get_model_show

_get_model_show只读扩展
获取机型展示(兼容 mock)

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

Parameters

Param Type Required Default Description
model string ""

Returns (data)

数组,每项含 variants(回显请求的机型名与 need_pay 标记)。

Every response is wrapped in the standard envelope: { "status": "ok", "retcode": 0, "data": ... }. The table below describes data.

data is an array; each element:

Field Type Required Description
variants object
Raw JSON Schema
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "variants": {
        "type": "object",
        "properties": {
          "model_show": {
            "type": "string",
            "description": "机型展示名(回显请求的 model,缺省 snowluma)"
          },
          "need_pay": {
            "type": "boolean",
            "description": "是否需付费(恒 false)"
          }
        },
        "required": [
          "model_show",
          "need_pay"
        ]
      }
    },
    "required": [
      "variants"
    ]
  }
}

Examples

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

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