BuildShip 是一個低程式碼的視覺化後端建置工具。使用社群提供的 CometAPI Text Generator 節點,為任何工作流程加入 AI 驅動的文字生成功能。Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
先決條件
取得你的 CometAPI API key
使用 REST API 觸發器建立工作流程
- 在 BuildShip 控制台中,點擊 Create a new workflow → From Scratch。
- 在畫布上,點擊 Add Trigger 並選擇 REST API。這會為工作流程產生一個可呼叫的端點。
新增 CometAPI Text Generator 節點
- 在 REST API 觸發器下方,點擊 + Add a new step。
- 在節點庫搜尋框中,輸入
cometapi。 - 從 Community 清單中,選擇 CometAPI Text Generator。


連結 CometAPI 整合
此步驟會告訴節點應使用哪一種金鑰管理系統。
- 點擊節點,在右側開啟 Node Editor。
- 切換到 Settings 分頁。
- 在 Key-based Integration 中,開啟下拉選單並選擇 CometAPI。
- 點擊右上角藍色的 Save 按鈕。

將你的 API key 加入節點
- 在 Node Editor 中,切換到 Inputs 分頁(或直接點擊節點)。
- 點擊節點右上角的 🔑 金鑰圖示以開啟金鑰下拉選單。
- 選擇 + Bring your own Key。
- 輸入 Key ID(例如
cometapi-key-1),並將你的$COMETAPI_KEY金鑰貼到 Value。 - 點擊 Save。


設定輸入參數
在節點的 Inputs 分頁中:
- Instructions(可選):設定 system role,例如
You are a productivity assistant. - Prompt:點擊
</>圖示,然後選擇 Trigger → Body → prompt 來對應傳入的 request body。 - Advanced → Model:輸入你想使用的目前 model ID。

新增 Return Response 節點並測試
- 在 CometAPI 節點下方,點擊 + Add a new step 並選擇 Return Response。
- 在 Body 欄位中,點擊
</>並從 CometAPI Text Generator 節點中選擇response變數。 - 點擊右上角的 Test,選擇 JSON 輸入格式,並送出:
- 如果 Result 面板中顯示成功回應,即表示工作流程運作正常。


