Skip to main content

🚀 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

Metadata

Release files for ayaiml 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ayaiml 1.0.0
File Size Uploaded Provenance
ayaiml-1.0.0.tar.gz 5.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ayaiml 1.0.0
File Interpreter ABI Platform
ayaiml-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.5 kB

Release files / ayaiml-1.0.0.tar.gz

Download URL ayaiml-1.0.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7024169e9264a9e8b95b8d2dfa07893d23aebea3216b81ea0d8202aa3786d0d5
BLAKE2b-256 checksum
How to use checksums
498b4fec44e85cee8669450739f735e1201f6731485decdb6244e809586e8d70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.5

Release files / ayaiml-1.0.0-py3-none-any.whl

Download URL ayaiml-1.0.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe45ee9dca2db1397099df50f61f3ddaadd3cc7798fbe8b18a375b55692a472e
BLAKE2b-256 checksum
How to use checksums
cb0e44887f32249881bebbe6edf0b110db8849cf123b6f4f8e65660dc48107ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.5

Security for ayaiml 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page