v1 · Live

Add an AI assistant to anything

MHN AI API lets you connect a smart, multilingual AI to your Telegram bot, website or app with a single request.

⚡ Simple

One endpoint, one JSON field, one key in the URL.

🌐 Multilingual

Bengali, English and many more languages.

🧠 Context aware

Send chat history for natural conversations.

🔒 Secure

Private API keys with expiry & limits.

Quick start

Endpoint:

POST
https://mhngpt.xyz/api/public/ai-chat?key=YOUR_API_KEY

Request

json
{ "message": "আপনার প্রশ্ন..." }

Response

json
{ "success": true, "reply": "AI এর উত্তর..." }

Try it with curl

bash
curl -X POST https://mhngpt.xyz/api/public/ai-chat?key=YOUR_API_KEY \
  -H "Content-Type: application/json" \
  -d '{"message": "হ্যালো, কেমন আছো?"}'

Set it up in 3 steps

  1. Copy the endpoint URL above and replace YOUR_API_KEY with your key.
  2. From your bot or website, send a POST request with {"message": "..."}.
  3. Show the reply field to your user. Done!
Full documentation with Telegram, Python, JS & PHP examples →