@acedatacloud/node-red-kimi 1.0.0

Call Ace Data Cloud Kimi Chat Completions from a Node-RED flow.

npm install @acedatacloud/node-red-kimi

Kimi Chat for Node-RED

Call Ace Data Cloud Kimi Chat Completions from a Node-RED flow. The node accepts one non-streaming request per input and returns the provider's JSON in msg.payload.

Install

Search for @acedatacloud/node-red-kimi in Manage palette → Install. You can also install it with npm install @acedatacloud/node-red-kimi in your Node-RED user directory and restart Node-RED. Use Node.js 22 or later with Node-RED 4 or 5.

Send a request

  1. Open Import → Examples → @acedatacloud/node-red-kimi and select Ask Kimi Chat.
  2. Open the Kimi Chat node and configure an application token that can access this API. Use the raw token from Ace Data Cloud Applications. Node-RED stores it as a password credential outside the exported flow.
  3. Set a published model available to your application and deploy the flow. Click Example prompt once to send the request. Usage may consume Credits at the selected model's rates.

Set model to a published Kimi model and supply the messages array. The node sends POST /kimi/chat/completions and returns a single JSON response. Returned tool calls are data for the next node in your flow. Connect a Catch node for request errors. Each input sends at most one request.

{
  "model": "kimi-k3",
  "messages": [
    {
      "role": "user",
      "content": "Explain a rainbow in one sentence."
    }
  ]
}

Public Kimi Chat API contract

Node Info

Version: 1.0.0
Updated 4 days ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

0 in the last week

Nodes

  • acedatacloud-kimi-account
  • acedatacloud-kimi-completions

Keywords

  • node-red
  • kimi
  • chat
  • acedatacloud

Maintainers