zXAI Assistant
Always online • Cost: 10 IDR/hit
Halo! Saya zXAI. Masukkan API Key kamu di sidebar kiri, lalu tanyakan apa saja padaku!
Topup / Beli API Key
Sistem otomatis via QRIS. Saldo masuk otomatis.
*Hanya huruf dan angka, tanpa spasi.
Isi form untuk memunculkan QRIS
Generate QRIS...
Total: Rp0
Scan QRIS di atas sebelum waktu habis.
Sisa Waktu:
05:00
Menunggu pembayaran...
Developer Documentation NodeJS
GET
/aipro - Chat AI
NodeJS (Axios)
const axios = require('axios');
async function chatWithAI() {
try {
const apikey = 'YOUR_APIKEY';
const question = 'Hello AI';
const url = `https://ai.zpr0.com/aipro?apikey=${apikey}&q=${question}`;
const response = await axios.get(url);
console.log(response.data);
} catch (error) {
console.error(error.message);
}
}
chatWithAI();
GET
/me - Check Profile & Balance
NodeJS (Axios)
const axios = require('axios');
async function checkProfile() {
try {
const apikey = 'YOUR_APIKEY';
const url = `https://ai.zpr0.com/me?apikey=${apikey}`;
const response = await axios.get(url);
console.log(response.data);
} catch (error) {
console.error(error.message);
}
}
checkProfile();
GET
/buyapi - Create Transaction
NodeJS (Axios)
const axios = require('axios');
async function createInvoice() {
try {
const username = 'newuser123';
const amount = 5000;
const url = `https://ai.zpr0.com/buyapi?apicustom=${username}&nominal=${amount}`;
const response = await axios.get(url);
console.log(response.data);
} catch (error) {
console.error(error.message);
}
}
createInvoice();
GET
/checktrx - Check Transaction Status
NodeJS (Axios)
const axios = require('axios');
async function checkStatus() {
try {
const trxId = 'UUID_TRANSACTION_ID';
const url = `https://ai.zpr0.com/checktrx?id=${trxId}`;
const response = await axios.get(url);
console.log(response.data);
} catch (error) {
console.error(error.message);
}
}
checkStatus();
GET
/status - Server Health
NodeJS (Axios)
const axios = require('axios');
async function getServerInfo() {
try {
const url = 'https://ai.zpr0.com/status';
const response = await axios.get(url);
console.log(response.data);
} catch (error) {
console.error(error.message);
}
}
getServerInfo();