AI Content Moderation API

AI Content Moderation API

Check prompts, AI replies, drafts and images for sexual content, violence, hate, harassment, self-harm and illicit activity. Get a recommendation to allow, review or block before publication.

set up https://beatapi.io/SKILL.md

Give this to your agent

  • Claude Code
  • Codex
  • Hermes
  • OpenClaw
  • Manus
  • Grok Bot
  • WorkBuddy
Scored categories
7
UTF-16 input units
8,000
Decision paths
3
Synchronous response
1

Content Moderation Pricing

Beat Moderation 2.0 costs $0.08 per 1M input tokens for text and images. Output tokens are free. If you explicitly select an earlier model, text checks cost $0.065 per 1M input tokens; requests containing an image cost $0.23, including any accompanying text.

The response reports usage.input_tokens for reconciliation. An account must have topped up before using this paid model. Invalid requests rejected with HTTP 400 are not billed.

Specifications and pricingbeatapi
beat-moderation-2.0Input · per 1M tokens
$0.08
/ 1M tokens
beat-moderation-1.0Input · per 1M tokens
$0.065
/ 1M tokens
beat-moderation-vision-1.0Input · per 1M tokens
$0.23
/ 1M tokens

Text or an image in. A moderation decision out.

Send text, images or a related combination and receive risk scores and an allow, review or block recommendation. Your application decides what to publish. We do not rewrite or delete the submitted content.

Text, images or both

Beat Moderation 2.0 accepts up to one text item and four related images per request. You can also send text alone or images alone. Text is limited to 8,000 UTF-16 code units; most emoji use two. Images can be PNG, JPEG, WebP or GIF (first frame), sent as a publicly accessible URL or base64 data URL. Each image must be within 16 MB and 100 megapixels, with an aspect ratio no greater than 5.6:1. Submit unrelated pieces of content as separate requests. Earlier 1.0 models accept at most one text and one image; images are limited to PNG, JPEG or WebP, 4 MB and 16 megapixels.

Scores, flags and a verdict

Read results[0].verdict alongside category_scores, categories and flagged. Keep policy_version with stored scores and use usage.input_tokens to track spend. There is no streaming response, task polling or hosted human-review queue.

Choose your moderation model

Default: Beat Moderation 2.0

Use beat-moderation-2.0 for text, images or a combined check. Omitting model also selects 2.0. A category is flagged if any submitted content meets its threshold. We resize images and correct phone-photo orientation before checking them. Text and images cost $0.08 per 1M input tokens and are not stored in logs.

Earlier text model: beat-moderation-1.0

For prompts, chat replies and publishing drafts, if you want to keep using the earlier text model. Name it in model; it has its own input-token rate.

Earlier image model: beat-moderation-vision-1.0

For one image, with or without text, if you want to keep using the earlier image model. Name it in model; it has its own input-token rate.

Content moderation for AI creation workflows

Check what people ask AI to create and what it produces before publication, across text, pictures and images paired with a prompt or caption.

Check content across seven categories

Check text for sexually explicit content, including pornography, as well as sexual content involving minors, violence, hate, harassment, self-harm and illicit activity. See which category needs attention before a reply or draft is published.

Check both the request and the reply

An inappropriate request and an unsuitable generated answer are different things. Check the prompt before generation and the completed text before display, rather than relying on the input check alone.

Leave room for sensitive but legitimate topics

A health question, news summary or lesson can mention sensitive subjects without being inappropriate. The text policy considers context, including educational and neutral discussion, rather than deciding on a sensitive word alone.

Hold borderline content for a closer look

Not every borderline result needs an immediate rejection. Sexually suggestive or other borderline content can receive a review recommendation, giving your team a chance to take a closer look.

Review images as well as text

Check AI-generated images and user uploads before they appear in a gallery or feed. Look for sexually explicit images, including pornography, as well as other content such as graphic injury, then decide what to show or review.

Review an image with its prompt or caption

An image alone may not show how someone intends to use it. Send its prompt or caption with it to check both, including a request to turn an ordinary photo into a sexually explicit image.

Where content moderation fits

AI assistants and customer-facing chat

Check incoming messages and completed AI replies for explicit, abusive or other inappropriate content. Your application can then show the reply, hold it for review or decline it. Moderation does not verify whether an answer is factually correct.

AI image creation and editing platforms

Check uploaded reference images with the requested edit before generation, then review finished pictures before they enter a public gallery or feed. A prompt check and a finished-image check cover different risks, helping your team decide what to publish and what needs a closer look.

AI writing and publishing tools

An AI-written product description, social post or campaign draft can still contain sexually explicit language, harassment or an offer of illegal goods. Check the copy before it is sent or published, and send questionable drafts for editorial review.

From an illicit listing to a block decision

The documented response for a listing offering forged identity and bank cards returned an illicit score of 0.99. It crossed the 0.6 blocking threshold, so flagged was true and the verdict was block. This is one documented example, not an accuracy benchmark.

Returned fieldValueWhat your application does
category_scores.illicit0.99Compare with the 0.6 threshold
categories.illicittrueIdentify illicit content as the flagged category
verdictblockReject the listing under the default policy
policy_version2026-10-15Store beside the decision and scores

How to integrate the content moderation API

Use REST or the official OpenAI SDK with your API key and the API base URL. The API tab contains the full request, response and error reference.

Open the Dashboard

Sign up or sign in to open the Dashboard. Check your balance and open the credits page if you need to add funds.

Open Dashboard

Why use BeatAPI for text and image moderation?

For teams that want AI creation in their product without treating every generated result as ready to publish.

Keep the publishing decision separate from generation

Whether you use one generator or several, review their text and pictures through the same endpoint and decision flow. Your product can apply its own publishing rules instead of relying only on each generator's built-in behavior.

Balance creative freedom with content boundaries

Sensitive topics are not always inappropriate. Context-aware text checks and a review path leave room for education, discussion and ambiguous creative drafts instead of banning sensitive words outright.

Give reviewers a useful starting point

A review decision and the identified risk categories help your team understand why a draft needs attention. Connect those results to your existing editorial process, so the people responsible for publication can make the final call on ambiguous cases.

Content moderation API FAQ

What to check, when to check it, what it costs and where people still need to make the final decision.

It checks text and images for sexual content, violence, hate, harassment, self-harm and illicit activity before your product shows or publishes them. Send a prompt, AI reply, draft post or image and receive an allow, review or block recommendation. Your product decides what happens next; the service does not rewrite or remove content for you.

Add a moderation decision before publication

Connect the endpoint, route all three verdicts and validate the policy against your own content before rollout.