Updated on 2024-03-27 GMT+08:00

Constraints

Text Moderation (V3)

  • It is available in the AP-Singapore region.
  • It only supports Chinese text.
  • The text to be detected must be encoded using UTF-8 and can contain a maximum of 1,500 characters. If the text contains more than 1,500 characters, only the first 1,500 characters are detected.
  • By default, the maximum number of concurrent API calls is 50 (a maximum of 50 requests within a second). To increase concurrency, submit a service ticket.
  • There are fewer constraints at the Huawei Cloud International website than the Chinese Mainland website. For details, you can submit a service ticket to contact Huawei Cloud technical support.

Text Moderation (V2)

  • It is available in CN-Hong Kong, AP-Singapore, and LA-Santiago.
  • It only supports Chinese text.
  • The text to be detected must be encoded using UTF-8 and can contain a maximum of 5,000 characters. If the text contains more than 5,000 characters, only the first 5,000 characters are detected.
  • By default, the maximum number of concurrent API calls is 10 (a maximum of 10 requests within a second). To increase the concurrency, submit a service ticket to seek help from our professional engineers.

Image Moderation (V3)

  • It is available in the AP-Singapore region.
  • It supports images in JPG, PNG, JPEG, WEBP, GIF, TIFF, TIF and HEIF formats.
  • Each edge of an image must contain 20 to 6,000 pixels.
  • A Base64-encoded image cannot be larger than 10 MB (the original image cannot be larger than 7.5 MB).
  • By default, the maximum number of concurrent API calls is 10 (a maximum of 10 requests within a second). To increase the concurrency, submit a service ticket to seek help from our professional engineers.
  • There are fewer constraints at the Huawei Cloud International website than the Chinese Mainland website. For details, you can submit a service ticket to contact Huawei Cloud technical support.

Image Moderation (V2)

  • It is available in CN-Hong Kong, AP-Singapore, and LA-Santiago.
  • Only images in PNG, JPEG, BMP, WEBP, or GIF format can be recognized.
  • No side of the image can be smaller than 10 or larger than 10,000 pixels.
  • The size of the Base64 encoded image cannot exceed 10 MB (the size of the original image cannot exceed 7.5 MB).
  • By default, the maximum number of concurrent API calls is 5 (a maximum of 5 requests within a second). To increase the concurrency, submit a service ticket to seek help from our professional engineers.

Audio Moderation

  • It is available in the AP-Singapore region.
  • Audio files in WAV, MP3, AAC, AMR, 3GP, M4A, WMA, OGG, APE, FLAC, ALAC, WAVPACK and SILK_V3 formats are supported.
  • The video size cannot exceed 200 MB.
  • By default, the maximum number of concurrent API calls is 10 (a maximum of 10 requests within a second). To increase the concurrency, submit a service ticket to seek help from our professional engineers.

Video Moderation

  • It is available in AP-Singapore.
  • Formats such as AVI, FLV, MP4, MPG, WMV, MOV, WMA, RMVB and m3u8 are supported.
  • The video file size cannot exceed 300 MB, and the video duration cannot exceed 2 hours.
  • By default, the maximum number of concurrent API calls is 10 (a maximum of 10 requests within a second). To increase the concurrency, submit a service ticket to seek help from our professional engineers.
  • There are fewer constraints at the Huawei Cloud International website than the Chinese Mainland website. For details, you can submit a service ticket to contact Huawei Cloud technical support.

Audio Stream Content Moderation

  • It is available in the AP-Singapore region.
  • Audio stream URL. Mainstream protocols such as RTMP, RTMPS, HLS, HTTP, and HTTPS are supported.
  • By default, the maximum number of concurrent API calls is 10 (a maximum of 10 requests within a second). To increase the concurrency, submit a service ticket to seek help from our professional engineers.