Is text ai
by RFour · Aug 11, 2026 ·javascript
Idk bro the ai response is always ai generated
LazyMalazJsJson
istextai.jsjavascript
1const axios = require('axios');
2
3async function isTextAI(text) {
4 const { data } = await axios.post('https://www.nyckel.com/v1/functions/dwerrk27psylc7hk/invoke', {
5 data: text
6 }, {
7 headers: {
8 'User-Agent': 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36',
9 'Accept': 'application/json',
10 'Accept-Language': 'en-US,en;q=0.9,id-ID;q=0.8,id;q=0.7',
11 'Content-Type': 'application/json',
12 'Origin': 'https://www.nyckel.com',
13 'Referer': 'https://www.nyckel.com/pretrained-classifiers/ai-text-identifier/',
14 'X-Requested-With': 'XMLHttpRequest'
15 }
16 });
17 return data;
18}
19
20isTextAI('Why the fuck are you here bro')
21 .then(r => console.log(JSON.stringify(r, null, 2)))
22 .catch(e => console.error(e.message));