💎 Pilihan Paket API KEY:
💰 Harga: Rp 1000
🔄 Limit: 100 request/hari
💰 Harga: Rp 100
✨ Tidak ada batasan waktu
🎁 Bayar sesuai penggunaan
🔍 Cek Limit API KEY
Kami menyediakan fleksibilitas dalam mengakses API dengan mendukung multiple HTTP methods:
GET https://xiex.my.id/api/endpoint ?apikey=APIKEY ¶m1=value1
POST https://xiex.my.id/api/endpoint Content-Type: application/json { "apikey": "APIKEY", "param1": "value1" }
✨ Dokumentasi API AI - Unlock the Power of Artificial Intelligence ✨
const OPENAI = require('openai'); const openai = new OPENAI({ apiKey: 'APIKEY', baseURL: 'https://xiex.my.id/api/ai', }); openai.chat.completions.create({ model: 'brainxiex', messages: [{ role: 'user', content: 'Apakah Rapunzel suka makan kerupuk ?' }] }).then((res) => { console.log(res); });
const brainxiex = require('brainxiex')({ apikey: 'APIKEY', // Un-comment this line to use an API key session_local: true // Set to true for local session management }); brainxiex.ai.LLM({ messages: [{ role: "user", content: "Apakah Rapunzel suka makan kerupuk?"}], model: "brainxiex", // sessionID: "brainxiex_module123", // Jangan gunakan sessionID jika tidak diperlukan }).then(res => console.log(res.answer));
const axios = require('axios'); axios.post('https://xiex.my.id/api/ai/chat/completions', { apikey: 'APIKEY', model: 'brainxiex', messages: [{ role: 'user', content: 'Apakah Rapunzel suka makan kerupuk ?' }] }).then(res => console.log(res.data.answer));
import requests import json url = 'https://xiex.my.id/api/ai/chat/completions' headers = {'Content-Type': 'application/json'} data = { 'apikey': 'APIKEY', 'model': 'brainxiex', 'messages': [{ 'role': 'user', 'content': 'Apakah Rapunzel suka makan kerupuk ?' }] } response = requests.post(url, headers=headers, data=json.dumps(data)) print(response.json()['answer'])
$data = array( 'apikey' => 'APIKEY', 'model' => 'brainxiex', 'messages' => array( array( 'role' => 'user', 'content' => 'Apakah Rapunzel suka makan kerupuk ?' ) ) ); $options = array( 'http' => array( 'method' => 'POST', 'header' => 'Content-Type: application/json', 'content' => json_encode($data) ) ); $context = stream_context_create($options); $result = file_get_contents('https://xiex.my.id/api/ai/chat/completions', false, $context); $response = json_decode($result); echo $response->answer;
curl -X POST 'https://xiex.my.id/api/ai/chat/completions' \ -H 'Content-Type: application/json'" \ -d '{ "apikey": "APIKEY", "model": "brainxiex", "messages": [{ "role": "user", "content": "Apakah Rapunzel suka makan kerupuk ?" }] }'
✨ List API & Test ✨
Aku berputar tapi tak pernah pusing
Aku berjalan tapi tak pernah sampai
Aku bekerja tapi tak pernah lelah
Apakah aku?
(Jawaban: Loading spinner/indicator)