๐ก Endpoint API
Guna endpoint ni sebagai drop-in replacement untuk OpenRouter API:
BASE URL: https://api.tahansayang.cloud/v1
Masuk ke Panel untuk dapatkan White-Label API Key & Model IDs.
๐ป Contoh Penggunaan (cURL)
curl -X POST "https://api.tahansayang.cloud/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <API_KEY_FROM_PANEL>" \
-d '{
"model": "afqfree/llama-3.3-70b",
"messages": [{"role":"user","content":"Hello!"}]
}'
๐ Contoh Penggunaan (Python)
import requests
url = "https://api.tahansayang.cloud/v1/chat/completions"
headers = {"Authorization": "Bearer <API_KEY_FROM_PANEL>"}
payload = {
"model": "afqfree/llama-3.3-70b",
"messages": [{"role": "user", "content": "Hello!"}]
}
resp = requests.post(url, headers=headers, json=payload)
print(resp.json())
๐ White-Label Free Models (... Models)
Semua model ni 100% free. Proxy akan translate ID ke OpenRouter secara auto. Masuk Panel untuk copy ID.
โก Info
- Tiada rate limit โ lenjan sampai lebam bro ๐ค
- White-label API Key & Model IDs โ branding
afqfree
- Best effort uptime โ kalau down, sabar kejap