StarSeaStarAPI
Ready to build?Get an API key — 50% off online top-up →

PydanticAI with StarSea — custom endpoint setup

Custom endpoint parameters

Configuration

Fill in the custom endpoint / provider settings of PydanticAI:

PydanticAI → OpenAIModel("deepseek-v4.1-flash", provider=OpenAIProvider(base_url="https://starseaapi.com/v1", api_key="sk-..."))。

Get a key

Create a key and top up at the Key Desk — online top-up is 50% off.