OpenAI Compatible
Create Moderation
Classifies if text and/or image inputs are potentially harmful. Learn more in the moderation guide.
POST
Create Moderation
授权
Gateway-issued API key, formatted as sk-gateway-xxxxxxxx.
Used by OpenAI-shaped endpoints (/v1/chat/completions, etc.).
请求体
application/json
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.
示例:
"I want to kill them."
The content moderation model you would like to use. Learn more in the moderation guide, and learn about available models here.
示例:
"omni-moderation-2024-09-26"
Create Moderation