星海词元星海词元
Ready to build?Get an API key — all models at 50% of the official price →

Cline CLI with StarSea — custom endpoint setup

Custom endpoint parameters

Configuration

Fill in the custom endpoint / provider settings of Cline CLI:

安装:npm i -g cline(需 Node 20 或更新版本)。
配置:cline auth -p openai -k 你的Key -b https://starseaapi.com/v1 -m 站内模型名;随后 cline config 可核对 openAiBaseUrl 与模型是否写入。
也可只执行 cline auth 走交互式向导,按提示填 provider / Key / Base URL / 模型。
提示:-b 填到 /v1,不要带 /chat/completions;CLI 与 IDE 扩展是两套配置,本项只影响命令行。

Get a key

Get your key: use a key from our support team, or create one in the "Tokens" page at starseaapi.com. Top up on the Key Desk — all models are billed at 50% of the official price.