Moderates text content.

Changed on
post/api/ai/images/v2/image-moderation

Request

Request body multipart/form-data

imagestring binary required

Response

OK

idstring

The unique identifier associated with the moderation analysis process.

statusstring

The status of the moderation analysis process.

timestampinteger

The timestamp when the moderation analysis request was processed.

processing_countinteger

The number of times the content has been processed to generate the final analysis results.

Example response

{
  "id": "0dfefbaf-41e6-43ae-83d1-c9751e3fe561",
  "status": "success",
  "timestamp": 1687754028548,
  "content": [
    {
      "Confidence": 96.70862579345703,
      "Name": "Female Swimwear Or Underwear",
      "ParentName": "Suggestive"
    },
    {
      "Confidence": 96.70862579345703,
      "Name": "Suggestive",
      "ParentName": ""
    },
    {
      "Confidence": 96.14669036865234,
      "Name": "Revealing Clothes",
      "ParentName": "Suggestive"
    }
  ],
  "processing_count": 1
}

Changes