TypeScript MIT

whatsapp-ai-bot

This is a WhatsApp AI bot that uses various AI models, including Deepseek, GPT, DALL-E, Gemini and StabilityAI, to generate responses to user input.

Z

Zain-ul-din

Dernière activité 30 août 2026
Zain-ul-din/whatsapp-ai-bot

248

étoiles

127

forks

4

issues ouvertes

chatchatbotchatgptchatgpt-4chatgpt-botcollaboratedalledeepseekfluxgeminiollamaopen-sourcepuppeteerstability-aistable-diffusionwhatsappwhatsapp-apiwhatsapp-botwhatsapp-webwhatsapp-web-js

Ce README est souvent en anglais.

WhatsApp Agents 🚀

- Disclaimer: This project is under active development. Features and documentation may change; contributions to improve the docs are welcome.

The WhatsApp AI Agents is a chatbot that uses AI models APIs to generate responses to user input. The bot supports several AI models, including Gemini, ChatGPT, Ollama, DALL-E, Flux, and Stability AI.

Table of Content

Supported Models

Model Provider Type Command
ChatGPT OpenAI Text to Text !chatgpt
Gemini Google Text to Text !gemini
Gemini Vision Google Image to Text none
Dalle 2 & 3 OpenAI Text to Image !dalle
Flux Hugging Face Text to Image !flux
Stability AI Stability AI Text to Image !stability
Ollama Open Source Text to Text !ollama
Custom Base Provider Text to Text !wa

Demo

Gemini

Screenshot (1186)

Stability AI + Chat-GPT

image

Dalle + Custom Model

image


Usage

1. Download Source Code

 git clone https://github.com/Zain-ul-din/WhatsApp-Ai-bot.git
 cd WhatsApp-Ai-bot

OR

2. Get API Keys

3. Add API Keys

Copy the file .env.example and rename it to .env, then set any settings you want to change.

4. Run the code

  • Run npm run start to run the bot.

  • Scan QR code.

Default Settings

  • !gemini use gemini.
  • !chatgpt use chat-gpt.
  • !dalle use Dalle.
  • !flux use flux.
  • !stability use stability.

Note! open src/whatsapp-ai.config.ts to edit config.

Docs Link

Tutorials

FQA

Disclaimer

This bot utilizes baileys to operate an actual instance of Whatsapp Web to prevent blocking. However, it is essential to note that these operations come at a cost charged by OpenAI and Stability AI for every request made. Please be aware that WhatsApp does not support bots or unofficial clients on its platform, so using this method is not entirely secure and could lead to getting blocked.

Contributors

Sponsors

A big thank you to these people for supporting this project.

Levitco Anas Ashfaq
Levitco Anas Ashfaq YOU?

Useful links

♥ Sponsor 💎 Bounty 🚀 Deployment ✉ WhatsApp Group
Link Link Link Link
Featured on Aura++

About Us

This repository is maintained by Zain-Ul-Din

Show some ❤️ by starring this awesome repository!

Buy Me A Coffee

Projets similaires

ChatGPT + DALL-E + WhatsApp = AI Assistant

TypeScriptartificial-intelligencebotchatbot
Aaskrella
3,8 k étoiles906

🤖 Multi-platform IM AI Agent for Telegram, WhatsApp, Lark, and WeChat. Connects ChatGPT / Claude / Kimi / DeepSeek / Ollama / Pi for auto-replies, community analysis, contact management, and inactive-friend detection.

JavaScriptchatgptopenaiwechat
Wwangrongding
11,4 k étoiles1,3 k

Ready-to-use AI Multimodal ChatGPT-based WhatsApp chatbot assistant for your business. Now supports GPT-4o with text + audio + image input, audio responses, and improved RAG + MCP 🤩

JavaScriptai-botchatbotchatgpt
Wwassengerhq
180 étoiles69