# AI or Not

> Detect AI-generated or deepfaked image, video, audio, and text content.

Lets an agent check whether a piece of content was created or tampered with by
generative-AI models. Works on images, video, audio (speech or music), and text,
and returns a verdict (`ai` / `human` / `unknown`) with a confidence score.

## What it can do

| Method | What it does |
| --- | --- |
| `aiornot_detect_image` | Check an image (`image_url`) for AI generation. Returns `report.ai_generated` (verdict, confidence, per-generator breakdown); optional deepfake / nsfw / quality reports. |
| `aiornot_detect_video` | Check a video (`video_url`) for AI generation / deepfake. |
| `aiornot_detect_audio` | Check audio (`audio_url`) - speech (`kind="voice"`) or music (`kind="music"`). |
| `aiornot_detect_text` | Check text for AI generation (minimum 250 characters). |
| `aiornot_is_live` | API health check. |

Image, video, and audio take a **public HTTPS URL** (for example a file the agent
already produced). The tool downloads the file and forwards it to AI or Not.

## How to get credentials

None - AI or Not is built in. It runs on the FlyMyAI AI or Not account, so
there is no key to create or paste; just use the detection actions.

## Fields to fill in FlyMyAI

None - the tool is ready to use out of the box.

## Troubleshooting

- **`Text is too short`** - text detection requires at least 250 characters.
- **`429` / rate limit** - if you hit a rate limit on a large batch, slow the
  requests down or split the job; the detection runs on the shared FlyMyAI
  account.

## Links

- [AI or Not API docs](https://docs.aiornot.com)
