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.

Images

For Image Moderation, an operation is equivalent to 1 model applied to 1 image. As an example, running 10 images through Nudity Detection will count as 10 operations. Running 1 image through two models will count as 2 operations.

GIF images

For GIF moderation, an operation is equivalent to 1 model applied to 1 frame.

Videos

For Video Moderation, an operation is equivalent to 1 model applied to 1 frame. The Video Moderation API defaults at 1 frame analyzed every 2 seconds, but you can change this setting.

Texts

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.

Did you find this page helpful?

We're always looking for advice to help improve our documentation!

Let us know what you think

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more

OK