The Gemini AI Interface allows you to analyze and generate insights from web content using Google's advanced AI model. Simply enter a website URL, provide a prompt, and receive a generated response.
The backend is built using Flask and integrates a custom AI generation API. The system fetches website content, cleans it, and sends the data to Gemini AI for processing.
Frontend (HTML, CSS, JS)
Backend (Flask API)
app.py
: Manages API endpoints for content generation.api.py
: Handles fetching, cleaning, and generating responses from Gemini AI.Data Processing
fetch_content(url)
: Retrieves website content.clean_data(text)
: Removes unnecessary words and HTML tags.generate_content(prompt, context)
: Sends data to Gemini AI API and retrieves the response.GET /
→ Serves the frontend.POST /generate
→ Accepts a JSON request with prompt
and url
, processes the data, and returns AI-generated content.{ "prompt": "Summarize this article", "url": "https://example.com" }
{ "response": "This article discusses..." }
There are no datasets linked
There are no datasets linked