OpenAI Compatible

Create Moderation

Classifies if text and/or image inputs are potentially harmful. Learn more in the moderation guide.

post/v1/moderations

Request

  • Base URL
    https://aihubmix.com
  • Auth
    HTTP bearer

Request body

Example request

{
  "input": "I want to kill them."
}

Response

OK

idstring required

The unique identifier for the moderation request.

modelstring required

The model used to generate the moderation results.

Changes

No recorded changes to this operation across all 2 revisions of this API.