Create moderation

Classifies if text and/or image inputs are potentially harmful.

Required
Input (or inputs) to classify. Can be a single string, an array of strings, or an array of multi-modal input objects similar to other models.
Optional
The content moderation model you would like to use. Learn more in the moderation guide, and learn about available models here.