Skip to content

Iamsantoshpoudel/VerifiAI

Repository files navigation

VerifyAI

VerifiAi is a powerful web application designed to detect AI-generated content in just a few seconds. Whether it's AI-written text or AI-generated images, VerifiAi leverages advanced models to analyze and identify synthetic content with high precision.

Project Stricture

app/
├── (pages)/
│   ├── about/
│   │   └── page.tsx
│   ├── chat/
│   │   └── page.tsx
│   ├── detect/
│   │   └── page.tsx
│   └── detecti/
│       └── page.tsx
│
├── api/
│   ├── chat/
│   │   └── route.ts
│   ├── detect/
│   │   └── route.ts
│   └── detecti/
│       └── route.ts
│
├── favicon.ico
├── globals.css
├── layout.tsx
├── not-found.tsx
└── page.tsx

🔍 Features

⚡ Fast Detection: Analyze content within seconds.

🖼️ Image Verification: Detect AI-generated images with exceptional accuracy.

📝 Text Analysis: (Optional – include if applicable) Identify AI-generated text content.

📊 User-Friendly Interface: Simple, responsive, and intuitive design.

🛠️ Tech Stack Frontend: React / Next.js / Tailwind CSS /

AI Detection: Hugging Face API / Custom Model /Openrouter model / google costom search

🚀 Live Demo
https://santoshpoudel06.com.np/

⚙️ Setup Instructions

git clone https://github.com/Iamsantoshpoudel/PS.git
Copy-Item -Path "local.env" -Destination ".env"
npm install

npm run dev

You can also run in Docker

docker build -t verifiai .
docker run -p 3001:3001 verifiai

🔌 Chat API Endpoint

POST https://santoshpoudel06.com.np/api/chat

📝 API Request and Response Demo

<body>
  <h2>Chat API Demo</h2>

  <label for="message">Your Message:</label><br>
  <textarea id="message" rows="4" cols="50" placeholder="type your massage">
  </textarea><br><br>

  <button onclick="sendMessage()">Send Message</button>

  <h3>Response:</h3>
  <pre id="response"></pre>

  <script>
    async function sendMessage() {
      const message = document.getElementById('message').value.trim();


      const apiKey = Contact me for api | you get in free of cost ;

      const responseBox = document.getElementById('response');
      responseBox.textContent = 'Loading...';

      try {
        const res = await fetch('https://santoshpoudel06.com.np/api/chat', {
          method: 'POST',
          headers: {
            'Content-Type': 'application/json',
            'Authorization': apiKey
          },
          body: JSON.stringify({
            messages: [
              { role: 'user', content: message }
            ]
          })
        });

        const data = await res.json();
        responseBox.textContent = JSON.stringify(data, null, 2);
      } catch (err) {
        responseBox.textContent = 'Error: ' + err.message;
      }
    }
  </script>
</body>

Why Use VerifiAI ?

1.Detects whether content is AI-generated or authentic text and images.

2.Integrates advanced image recognition for verifying visual content.

3.Offers a custom search feature to fact-check information using multiple AI models.

4.Helps combat misinformation by verifying the truthfulness of data quickly.

5.Supports educators, publishers, and users in maintaining content credibility.

6.Provides an easy-to-use tool for making informed decisions on digital content authenticity.

🎉 Thank You for Checking Out the Project! If you enjoy this project, feel free to ⭐️ it and share it with others!

About

VerifiAI : Unified AI-Generated Content Detector

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages