Getting Started
-
Quickstart in 5 Minutes
Get Your API KeySign up at api.westtree.top/register and grab your API key from the dashboard.Install the SDKWesttree is Ope
-
Authentication & API Keys
How Authentication WorksWesttree uses Bearer token authentication. Pass your API key in the Authorization header.API Key SecurityNever commit keys to vers
-
Get an API Key
Sign up for a free account in the console and create an API key. One key gives you access to every model on the…
-
Base URL
Use this OpenAI-compatible base URL with any SDK: https://api.onefast.ai/v1 Put your key in the Authorization: Bearer header. All endpoints and formats are OpenAI-compatible, so…
-
Your First Request
Here is how to make your first request with cURL, Python, and Node.js. cURL curl https://api.onefast.ai/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer sk-your-api-key" -d…
-
Billing & Balance
Pay per token: each model has a flat input and output price per 1M tokens. Pay per call: image and video models are billed…