参数指引 · TypeScript 框架
在 Mastra 的自定义端点 / 供应商设置中填入:
https://starseaapi.com/v1
Mastra → 使用 createOpenAI({ baseURL: "https://starseaapi.com/v1", apiKey: "sk-..." }),再传给 Agent 的 model。
createOpenAI({ baseURL: "https://starseaapi.com/v1", apiKey: "sk-..." })
获取 Key:客服发放,或登录 starseaapi.com 在「令牌」页创建;充值在 Key 服务台,全站模型按官方定价计费。