Bawa kekuatan Si Mbah ke bot Telegram, WhatsApp Business, website UMKM, atau aplikasi apapun yang kamu bikin. Gampang, cepet, dan murah meriah.
Daftar & Ambil API Key
Install SDK (opsional)
Langsung Ngobrol!
curl https://api.simbah.id/v1/chat/completions \
-H "Authorization: Bearer sk-mbah-1234567890abcdef" \
-H "Content-Type: application/json" \
-d '{
"model": "simbah-v2",
"messages": [
{"role": "user", "content": "Mbah, carane nggoleki duit tambahan online?"}
],
"temperature": 0.8
}'
const fetch = require('node-fetch');
async function tanyaMbah() {
const response = await fetch('https://api.simbah.id/v1/chat/completions', {
method: 'POST',
headers: {
'Authorization': 'Bearer sk-mbah-xxxxxx',
'Content-Type': 'application/json'
},
body: JSON.stringify({
model: "simbah-v2",
messages: [{ role: "user", content: "Mbah, resep soto Betawi enak gimane?" }],
temperature: 0.7
})
});
const data = await response.json();
console.log(data.choices[0].message.content);
}
tanyaMbah();
import requests
url = "https://api.simbah.id/v1/chat/completions"
headers = {
"Authorization": "Bearer sk-mbah-xxxxxx",
"Content-Type": "application/json"
}
data = {
"model": "simbah-v2",
"messages": [{"role": "user", "content": "Mbah, jelasin dong cara bikin batik tulis"}],
"temperature": 0.8
}
response = requests.post(url, json=data, headers=headers)
print(response.json()["choices"][0]["message"]["content"])
Rp 0
1 juta token/bulan
Rp 150.000 /bulan
50 juta token
Custom
Ngobrol aja sama Mbah
Link dashboard: https://dashboard.simbah.id