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

Mastra with StarSea — custom endpoint setup

Custom endpoint parameters

Configuration

Fill in the custom endpoint / provider settings of Mastra:

Mastra → 使用 createOpenAI({ baseURL: "https://starseaapi.com/v1", apiKey: "sk-..." }),再传给 Agent 的 model。

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.