Skip to main content

Automation-based AI model runner for Gemini, ChatGPT, Grok, Perplexity and Image models.

Project description

🚀 ayaiml — Automate Gemini, ChatGPT, Grok, Perplexity & Image Models (Web-based AI Automation Library)

ayaiml is a powerful Python library that automates real AI models directly from the web UI — including:

Google Gemini AI Mode

Google Gemini App

ChatGPT

Grok AI (xAI)

Perplexity

DeepAI Image Generator

This library uses Undetected ChromeDriver + Selenium automation to interact with the official web UI of each model — giving you zero-API-key access to real LLMs.

Perfect for:

Students

Developers

Researchers

Automation projects

No-API-key usage

✨ Features

📌 Zero API Key required

🌐 Works directly on web UI of LLMs

🤖 Supports 5 text models + image model

⚡ Fast and stable (Undetected ChromeDriver)

🧩 Easy unified API: llm.invoke("your prompt")

🧠 Compatible with LangChain LLM interface

📥 Installation pip install ayaiml

(If not uploaded yet, install manually from source)

🧠 Supported Models Model Class Name Description Gemini AI Mode GeminiAIMode Google Search AI Mode Gemini App Gemini Google Gemini App (full model) ChatGPT ChatGPT ChatGPT Web (Free/GPT-4o mini) Grok Grok xAI Model Perplexity Perplexity Perplexity Web DeepAI Image Text-to-Image generator 🚀 Usage 1️⃣ Gemini AI Mode from ayaiml import GeminiAIMode

llm = GeminiAIMode() print(llm.invoke("Explain quantum computing in simple language"))

2️⃣ Gemini (Full Model) from ayaiml import Gemini

llm = Gemini() response = llm.invoke("Write a poem about AI and humanity") print(response)

3️⃣ ChatGPT Web from ayaiml import ChatGPT

llm = ChatGPT() print(llm.invoke("What is the future of programming?"))

4️⃣ Grok (xAI) from ayaiml import Grok

bot = Grok() print(bot.invoke("Tell me a dark joke (safe mode)."))

5️⃣ Perplexity AI from ayaiml import Perplexity

px = Perplexity() print(px.invoke("Who will win World Cup 2026?"))

6️⃣ Image Generator (DeepAI) from ayaiml import Image

img = Image() print(img.invoke("A futuristic city floating in clouds"))

📌 How It Works?

Opens a real Chrome browser (undetected)

Anti-bot evasion enabled

Fully bypasses navigator.webdriver

Sends your prompt

Waits for model response

Extracts the text

Returns result as plain text

Works even with free accounts.

⚠ Important Notes

This library uses web automation, not API requests

Requires Chrome installed

First response may take 10–20 seconds

Keep browser window open during execution

Some websites may change HTML structure (updates will fix)

📁 Project Structure ayaiml/ ├── init.py └── core.py README.md

🤝 Contributing

Pull requests are welcome! You can add new models, fix XPaths, or improve performance.

📜 License

MIT License Feel free to use commercially.

⭐ Show Support

If you like this project:

⭐ Star the GitHub repo

📦 Install from PyPI

📝 Use & share it

🔥 Author

Ayush Kumar

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ayaiml-1.0.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ayaiml-1.0.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file ayaiml-1.0.0.tar.gz.

File metadata

  • Download URL: ayaiml-1.0.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for ayaiml-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7024169e9264a9e8b95b8d2dfa07893d23aebea3216b81ea0d8202aa3786d0d5
MD5 5e7d5c6f4351157da2dc5818ca50d543
BLAKE2b-256 498b4fec44e85cee8669450739f735e1201f6731485decdb6244e809586e8d70

See more details on using hashes here.

File details

Details for the file ayaiml-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ayaiml-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for ayaiml-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe45ee9dca2db1397099df50f61f3ddaadd3cc7798fbe8b18a375b55692a472e
MD5 107d36477110799054ab10a0a4deebba
BLAKE2b-256 cb0e44887f32249881bebbe6edf0b110db8849cf123b6f4f8e65660dc48107ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page