跳至主要內容
所有用戶端
Local Frontend · World-Building & Fiction1M Context · ZDR

SillyTavern

極客首選本地對話前端,支援世界書(Lorebook)、完整提示詞控制與長篇互動敘事創作。

基礎網址
https://api.bf16.ai/v1
協定
openai-completions

適用對象
需要 1M 上下文世界書記憶與無說教打斷創作體驗的遊戲編劇與作者。

架構原理與接入優勢

SillyTavern local frontend connected via Custom OpenAI-Compatible endpoint to https://api.bf16.ai/v1 with 1M lorebook context
Connect SillyTavern via Chat Completion → Custom (OpenAI-compatible) at https://api.bf16.ai/v1 — or install our official extension.

SillyTavern gives writers and game designers total control over system prompts, Lorebooks/World Info, sampler parameters, and local chat history. Stock commercial APIs routinely derail dramatic fiction, historical dialogue, or dark fantasy scenes with out-of-character refusal lectures.

bf16.ai delivers 1M-token context across every model — letting entire multi-book lorebooks stay cached at $0.045–$0.28/1M tokens — paired with strict zero prompt retention so your manuscripts and local sessions stay strictly on your own machine.

指令預設顯示 $BF16_API_KEY。登入並建立金鑰後會自動填入你的真實金鑰。

一鍵快速配置

Verify Your Key & Model List for SillyTavern

Confirms your API key and displays all active 1M-context model IDs ready to select in SillyTavern.

export BF16_API_KEY="sk-bf16-v1-..."
curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"
  1. 1

    設定你的 bf16.ai API 金鑰

    Click the plug icon in the top navigation bar, choose Chat Completion, and select Custom (OpenAI-compatible) as the Chat Completion Source.

  2. 2

    填入 bf16.ai 端點與 1M 免審查模型

    使用頁面提供的 Base URL 與 API 金鑰,即可立即存取全系 1M 上下文免審查模型(含零留存政策)。

    Custom Endpoint: https://api.bf16.ai/v1
    Custom API Key:  $BF16_API_KEY
    Model ID:        moonshotai/kimi-k3.1-pro-uncensored
  3. 3

    Optional: Install the Official bf16.ai SillyTavern Extension

    Open Extensions → Install Extension and paste https://github.com/BF16-AI/bf16-sillytavern-extension for one-click preset switching and live model catalog refresh.

SillyTavern — API Connections (Plug Icon)
介面與設定檔欄位對照
API: Chat Completion → Source: Custom (OpenAI-compatible)

關鍵參數核對清單

Chat Completion Source
Custom (OpenAI-compatible)
Custom Endpoint (Base URL)
https://api.bf16.ai/v1
Custom API Key
sk-bf16-v1-••••••••••••
Model ID
moonshotai/kimi-k3.1-pro-uncensored (or deepseek/deepseek-v4.1-flash-uncensored-fast)

Auto-populates when clicking Connect, or enter directly

Do NOT append /chat/completions to the Custom Endpoint URL — SillyTavern appends it automatically.

推薦模型分層配置

架構規劃使用旗艦模型,高頻子任務與螢幕截圖使用 Flash 模型以節省開銷。

工作流角色模型 ID選型說明USD / 1M Tokens
Rich Literary Prose & 2.8T World-Buildingmoonshotai/kimi-k3.1-pro-uncensoredNuanced long-horizon character consistency, rich literary voice, and 1M lorebook capacity.$1.95 in / $0.28 cached / $6.90 out
Fast Multi-Turn Interactive Prototypingdeepseek/deepseek-v4.1-flash-uncensored-fastUltra-fast streaming and $0.055/1M cached lorebook reads for high-volume creative sessions.$0.28 in / $0.055 cached / $1.12 out

如何確認設定成功

  • 發送測試訊息後,可在 bf16.ai 控制台請求紀錄中即時查看計費與狀態。
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

生產環境護欄與預算隔離

  • SillyTavern keeps all character cards and lorebooks on local disk; combined with bf16.ai ZDR, zero prompt text is persisted remotely.

常見錯誤

現象
連線測試出現 404 或驗證失敗。
原因
端點網址多加或漏寫了 /v1 後綴。
解法
請嚴格對照本頁顯示的 Base URL 複製貼上。