Byleeos API Documentation

Dokumentasi resmi penggunaan endpoint GET & POST Byleeos AI

Tentang API

Byleeos API memungkinkan kamu berinteraksi dengan berbagai model AI melalui request GET maupun POST. Setiap request membutuhkan API Key yang valid serta parameter model sesuai kebutuhan (soft, xatanic, atau coder). Ingin Test Ai?

GET API

Example Cara request ke api AI Via GET

Byleeos Soft

https://api.byleeos.my.id/api/ask
?text=halo bantu aku
&model=byleeos/byleeos-soft-14b
&key=free-001
        

Byleeos Xatanic

https://api.byleeos.my.id/api/ask
?text=halo bantu aku
&model=byleeos/byleeos-125-14b
&key=free-001
        

Byleeos Coder

https://api.byleeos.my.id/api/ask
?text=buatkan api nodejs
&model=byleeos/byleeos-coder-30b
&key=free-001
        

POST API (curl)

Example Cara request ke api AI Via cURL

curl -X POST https://api.byleeos.my.id/api/ask \
-H "Content-Type: application/json" \
-H "x-api-key: free-001" \
-d '{
  "model": "byleeos/byleeos-soft-14b",
  "message": "halo bantu aku",
  "history": []
}'
curl -X POST https://api.byleeos.my.id/api/ask \
-H "Content-Type: application/json" \
-H "x-api-key: free-001" \
-d '{
  "model": "byleeos/byleeos-125-14b",
  "message": "halo bantu aku",
  "history": []
}'
curl -X POST https://api.byleeos.my.id/api/ask \
-H "Content-Type: application/json" \
-H "x-api-key: free-001" \
-d '{
  "model": "byleeos/byleeos-coder-30b",
  "message": "halo bantu aku",
  "history": []
}'

Free API Keys

Apikey Free Yang Dapat digunakan untuk request ke Api AI dengan limit/request 100 request/hari

free-001
free-002

Contact

Buy apikey unlimited request? Hubungi: