Saltar para o conteúdo principal

API Information

  • Endpoint: https://aihubmix.com/v1/moderations
  • Request Method: POST
  • Authentication: Authorization: Bearer <AIHUBMIX_API_KEY>
  • Content-Type: application/json
  • This endpoint suporta two models:
    1. omni-moderation-latest: This model and all snapshots support more classification options and multimodal input.
    2. text-moderation-latest: Suporta only text input, with fewer classification options.

Início Rápido

Usage Example

Exemplo de Saída

Here is a complete output example, where the model correctly predicts self-harm and violence elements no image.
The output result includes several categories no JSON response, which inform you about the types of content present no input (if any) and the extent to which the model believes they are present.

Content Categories

The table below describes the types of content that the moderation API can detect, along com o models and input types supported for each category.
Categories labeled “text-only” do not support image input. If you send only images to the model (without text) using omni-moderation-latest, the model will return a score of 0 for these unsupported categories.

Última atualização: 2026-06-01