Rules and Restrictions

Last updated: 2021-06-15 10:49:22
Category Feature Rule and Restriction
Basic image processing Common restriction
  • Supported format: JPG, BMP, GIF, PNG, WebP, as well as HEIF decoding and processing
  • Supported size: The input image cannot exceed 20 MB, with its width and height not exceeding 30,000 pixels and the total number of pixels not exceeding 250 million. The width and height of an output image cannot exceed 9,999 pixels. For an input animated image, the total number of pixels (Width x Height x Number of frames) cannot exceed 250 million.
  • Maximum number of frames (for GIF): 300
  • Format Conversion Supports JPG, BMP, GIF, PNG, WebP (default value: format of the input image). Converting GIF into HEIF is not supported.
    Quality Conversion Supports JPG and WebP only.
    Progressive Display Supports JPG only. If the format of the output image is not JPG, this parameter will be ignored.
    Pipeline Operator Performs multiple operations on an image in sequence. Currently, up to 10 layers of pipelines are supported.
    Advanced features Guetzli Image Compression Supports only JPG images whose quality is larger than 70 and the total number of pixels is smaller than 4 million.
    Image Advanced Compression
  • Format: supports converting JPG, PNG, GIF, WebP, and other formats into TPG or HEIF.
  • Size: The input image cannot exceed 20 MB, with its width and height not exceeding 30,000 pixels and the total number of pixels not exceeding 250 million. The width and height of an output image cannot exceed 9,999 pixels. For an input animated image, the total number of pixels (Width x Height x Number of frames) cannot exceed 250 million.
  • Maximum number of frames (for GIF): 300
  • Blind watermarking
  • Adding blind watermark to animated images such as GIF is not supported.
  • Width or height of the image watermark cannot be larger than 1/8 of the input image.
  • A text watermark can contain only numbers (0−9) and English letters (A−Z, a−z).
  • Media processing Video Processing Supports AVI, MP4, MKV, FLV, HLS, TS, MP3, AAC, FLAC, and more.
    Content moderation Image Moderation Supports PNG, JPEG, JPG, BMP, WebP, and GIF. An image cannot be larger than 10 MB. To ensure recognition accuracy, the image resolution should not be lower than 256x256.
    Video Moderation Supports MP4, AVI, MKV, WMV, RMVB, FLV, and M3U8. A video cannot be larger than 5 GB and the number of frames cannot be more than 100 thousand.
    Audio Moderation
  • Supports MP3, WAV, AAC, FLAC, AMR, 3GP, M4A, WMA, OGG, and APE.
  • Audio bitrate: 128−256 kbps
  • Audio size: smaller than 600 MB
  • Maximum duration: 3 hours
  • Text Moderation Supports TXT files not larger than 1 MB only.
    Content recognition QR Code Recognition、Image Label Recognition Supports PNG, JPEG, and JPG. An image cannot be larger than 3 MB and the resolution should be higher than 50x50.
    Speech Recognition
  • Supports Mandarin, English, and Cantonese.
  • Supported format: WAV, MP3, M4A
  • An audio file cannot be longer than 5 hours or larger than 512 MB.
  • Face Filter A Base64-encoded image cannot be larger than 5 MB. PNG, JPG, JPEG, and BMP are supported, while GIF is not supported. To use portrait segmentation, the image resolution must be lower than 2000×2000.
    ID Card Recognition A Base64-encoded image cannot be larger than 7 MB, and a resolution higher than 500×800 is recommended. Supported formats are PNG, JPG, JPEG, and BMP. It is recommended that the ID card should occupy over 2/3 of the image.
    Face ID The Base64-encoded video cannot be larger than 8 MB. Supported formats are MP4, AVI, and FLV.
    File preview File Preview 1. Supported format:
  • Presentation file: PPTX, PPT, POT, POTX, PPS, PPSX, DPS, DPT, PPTM, POTM, PPSM
  • Text file: DOC, DOT, WPS, WPT, DOCX, DOTX, DOCM, DOTM
  • Form file: XLS, XLT, ET, ETT, XLSX, XLTX, CSV, XLSB, XLSM, XLTM, ETS
  • Other file: PDF, LRC, C, CPP, H, ASM, S, Java, ASP, BAT, BAS, PRG, CMD, RTF, TXT, LOG, XML, HTM, HTML
    2. Supports previewing files within 200 MB with no more than 5,000 pages.
  • Privacy Compliance Protection Supported format:
  • MS office file: DOC, DOCX, PPT, PPTX, XLS, XLSX, RTF
  • WPS file: WPS, DPS, ET
  • PDF
  • Plain text file: TXT, XML, SLK
  • HTML, MSG
  • Email: EML, PST