본문으로 건너뛰기
노트
이 페이지는 아직 번역되지 않아 영어로 표시됩니다.

API

Everything you need to call OceanToken from code, on one page.

The API page: base URL and quickstart

Base URL​

https://api.oceantoken.ai/v1. Point any OpenAI-compatible client at it; Copy puts it on your clipboard. The Anthropic SDK is the one exception: it adds /v1 itself, so for any model through that SDK use https://api.oceantoken.ai (see the Quickstart).

Quickstart​

Pick a Model and a Language and the page writes a runnable snippet for that model on the endpoint it is served from. Replace the placeholder with a key from API Keys, Copy code, and run it.

Endpoints​

Below the quickstart, the table lists the endpoints your account can call right now. It is derived from the live catalog, so an endpoint appears only when a model behind it is deployed. The same table, with more detail, is on the API reference page here.