FAQ / Basics

What is an operation?

An operation is an atomic action performed by our engine. Operations are used to track usage levels across time and across products. Each API call that consumes operations will return a specific field to let you know how many operations were used.

The dashboard lets you to track your usage levels, including the operations consumed.

Visual Moderation

For Visual Moderation, the number of operations consumed will depend on the models chosen.

Models that belong to the same group count as a single operation. For instance, using the recreational_drug, alcohol and tobacco models in a given request will count as 1 operation:

GroupModelsOperations
All nudity modelsnudity nudity-1.0 nudity-1.0 nudity-2.0 nudity-2.1 1
Violence, Gore, Weapon, Self-harmweapon gore gore-2.0 violence self-harm 1
Face / People modelsfaces face-attributes 1
Restricted contentrecreational_drug alcohol tobacco medical gambling money 1
Hate & Offensiveoffensive offensive-2.0 1
AI-generated media detectiongenai 5
Deepfake detectiondeepfake 5
OCR, Text, QR codestext text-content qr-content ocr 1
Sensitive scenesdestruction military 1
Content descriptiontype properties 1
Quality assessmentquality 1

Please note that this pricing may not apply to accounts on legacy models (from before 2025).

For Videos, GIF images and batch requests, the number of operations is multiplied by the number of frames analyzed.

Video Moderation defaults at 1 frame analyzed every 2 seconds, but you can change this setting.

Text Moderation

For Text Moderation, 1 operation is consumed when you submit a text item containing fewer than 1000 characters. An extra operation is consumed for each extra 1000 characters. So if you do a request with a text that is 1800 characters long, that will count as 2 operations.

Was this page helpful?