Skip to content

dechecker-ai/ai-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

🧠 AI Checker Free & Online - Dechecker

Dechecker's AI Checker and Detector Tool

🌐 Language Switch / 语言切换


🔍 Overview

Dechecker is a powerful AI Checker tool designed to detect whether a piece of text was written by humans or generated by AI models like ChatGPT, GPT-5, Claude, Gemini, or LLaMA. It provides sentence-level AI detection, highlights AI-written parts, and helps users optimize text for authenticity and originality.

This repository contains the backend Python project of Dechecker’s AI Checker, offering a RESTful API for text detection and analysis. You can integrate it into your web app, Chrome extension, or internal moderation tools.

👉 Live product reference: https://dechecker.ai


⚙️ Core Features

  • AI Detection – Identify whether text is AI-generated or human-written with confidence scores.
  • Sentence-Level Analysis – Highlight specific sentences likely generated by AI.
  • Content Authenticity Score – Get a numerical score representing the probability of AI authorship.
  • Optimization Suggestions – (Optional) Rewrite or refine AI-written content to sound more human and natural.
  • Multi-use Scenarios – Perfect for academic papers, SEO content, blogs, social media posts, essays, and copywriting.
  • Fast & Lightweight API – Built with FastAPI/Flask for easy deployment and integration.

🧩 Tech Stack

  • Language: Python 3.10+
  • Framework: FastAPI (or Flask)
  • Model Backend: Hugging Face Transformers, PyTorch
  • AI Detection Model: Fine-tuned RoBERTa (example)
  • Environment: Docker-ready, REST API
  • License: MIT

🚀 Quick Start

1️⃣ Clone the repository

git clone https://github.com/yourusername/dechecker-ai-checker-backend.git
cd dechecker-ai-checker-backend

2️⃣ Install dependencies

pip install -r requirements.txt

3️⃣ Configure environment variables

Create a .env file or export directly:

API_KEY=your_api_key_here
MAX_TEXT_LENGTH=20000
MODEL_PATH=/path/to/your/model

4️⃣ Run the server

If using FastAPI:

uvicorn app.main:app --reload

If using Flask:

python app.py

📡 API Usage

POST /api/detect

Detect whether a text is AI-generated or human-written.

Request

POST /api/detect
Content-Type: application/json

{
  "text": "This is a sample text written for AI detection."
}

Response

{
  "score": 0.87,
  "is_ai_generated": true,
  "analysis": [
    {
      "offset": 35,
      "length": 42,
      "snippet": "This section is likely AI-generated.",
      "confidence": 0.93
    }
  ]
}

POST /api/suggest (optional)

Generate rewrite suggestions to improve text originality.

Request

POST /api/suggest
Content-Type: application/json

{
  "text": "This content may sound AI-generated."
}

Response

{
  "suggestions": [
    "Consider adding a personal opinion or anecdote.",
    "Use more varied sentence structures to enhance flow."
  ]
}

💻 Example Client

import requests

url = "http://localhost:8000/api/detect"
payload = {"text": "AI-generated content detection is essential."}
resp = requests.post(url, json=payload)
data = resp.json()

print("AI Probability:", data["score"])
print("AI Detected:", data["is_ai_generated"])
for seg in data["analysis"]:
    print(f"Snippet: {seg['snippet']} (Confidence: {seg['confidence']:.2f})")

🧱 Deployment

  • Docker Support: Easily deploy Dechecker’s AI Checker backend using Docker.
  • Scalability: Supports async requests and horizontal scaling via Kubernetes or Docker Compose.
  • Security: Add authentication (API keys or OAuth) to prevent abuse.
  • Queue Processing: Use Celery or RabbitMQ for batch text detection jobs.
  • Monitoring: Integrate Prometheus or ELK for observability.

🤝 Contributing

We welcome contributions! Please open an issue or submit a pull request with improvements, bug fixes, or feature suggestions.

Before submitting:

  • Follow PEP8 coding standards.
  • Include clear commit messages.
  • Run tests and lint checks.

🔗 Related Resources

About

AI Checker and Detector tool checks whether text is generated by AI models, such as ChatGPT, GPT-5, Claude, Gemini, LLaMa, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors