Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/nayalsaurav/ai360/llms.txt

Use this file to discover all available pages before exploring further.

By the end of this guide you’ll have a fully working local instance of AI360, with all three AI providers connected, and you’ll have made your first successful call to the Text Summarizer API. No prior knowledge of Gemini or Cloudflare Workers AI is required — just a terminal and the API keys listed in Step 3.
1

Clone the repository

Pull the source code from GitHub and navigate into the project directory:
git clone https://github.com/nayalsaurav/ai360.git && cd ai360
2

Install dependencies

Install all Node.js dependencies using your preferred package manager:
npm install
3

Configure environment variables

Create a .env.local file at the project root and populate it with your API credentials. The six variables below are the minimum required to run every tool:
# Google Gemini — powers all text and code tools
GEMINI_API_KEY=your_gemini_api_key
GOOGLE_API_KEY=your_google_api_key      # used specifically by Resume Analyzer

# Cloudflare Workers AI — powers Image Generator
CLOUDFLARE_ID=your_cloudflare_account_id
CLOUDFLARE_API_KEY=your_cloudflare_api_key

# ImageKit — powers Background Remover
NEXT_PUBLIC_IMAGEKIT_PUBLIC_KEY=your_imagekit_public_key
IMAGEKIT_PRIVATE_KEY=your_imagekit_private_key
NEXT_PUBLIC_IMAGEKIT_URL_ENDPOINT=https://ik.imagekit.io/your_imagekit_id
See the Configuration page for the full variable reference, including the optional GOOGLE_AI_MODEL override and instructions for obtaining each key.
4

Start the development server

Run the Next.js development server:
npm run dev
Once the server is ready, open http://localhost:3000 in your browser. You should see the AI360 landing page with navigation links to the Dashboard and all eight utility tools.
5

Try your first AI tool

With the server running, send a POST request to the Text Summarizer API route. The endpoint accepts a JSON body with a userPrompt field containing the text you want condensed:
curl -X POST http://localhost:3000/api/utilities/summarizer \
  -H "Content-Type: application/json" \
  -d '{"userPrompt": "Artificial intelligence is transforming industries worldwide. From healthcare diagnostics to autonomous vehicles, AI systems are performing tasks that once required human expertise. Machine learning models trained on vast datasets can now detect diseases earlier than human doctors, optimise supply chains in real time, and generate creative content indistinguishable from human output."}'
A successful response will look like this:
{
  "summary": "Artificial intelligence is revolutionizing diverse sectors, enabling machines to match or surpass human expertise in areas like medical diagnostics, logistics optimization, and creative generation."
}
If you receive a 500 error, double-check that GEMINI_API_KEY is set correctly in .env.local and restart the dev server.
Before diving into individual tools, visit /dashboard for the Global AI Insights Dashboard — it requires no API keys and gives you an immediate feel for the app’s layout and interactive charts. When you’re ready to test image AI, head to /utilities/image-generator for a live demo of Cloudflare’s FLUX.1 Schnell model.

Build docs developers (and LLMs) love