Hermex lets you call ChatGPT and Gemini from Python without API keys or billing. It drives a real browser session — log in once, then run queries with file attachments straight from your scripts.
from hermex import ChatGPT
ChatGPT.simple_query(
"What does this receipt say?",
attachments=["receipt.jpg"]
)
Hermex is a Python library that automates ChatGPT and Gemini through browser automation, with no API keys or billing required. Use it to run queries, attach files for OCR or analysis, generate images, and pull text out of screenshots — all from a Python script, without paying for API access.
Under the hood, Hermex runs a real Chrome instance and simulates user input. Responses come back as Python objects with text and image fields, so you can use them directly in your script:
from hermex import ChatGPT
response = ChatGPT.simple_query(
"What does this receipt say?",
attachments=["receipt.jpg"]
)
print(response.text)
response = Gemini.simple_query("What is the capital of France?")
print(response.text)
Hermex supports common attachment formats including .jpg, .png, .pdf and more.
For setup, methods, and additional examples, see the Hermex Documentation.
No comments yet.
Sign in to be the first to comment.