Image Moderation V2.0 API

更新时间:
复制 MD 格式

API overview

The Image Moderation Pro API detects images that violate content regulations, disrupt platforms, or degrade user experience. It supports 60+ risk labels and 100+ risk controls. Image Moderation Pro returns risk labels and confidence scores for reviewing or moderating images per your platform policies. Image Moderation Pro 2.0: Overview and Billing.

Getting started

  1. Sign up for an Alibaba Cloud account: Register.

  2. Activate pay-as-you-go for Content Moderation: Activate the service. Activation is free, and usage is billed automatically (billing).You can also purchase a pay-as-you-go resource plan. These plans offer tiered discounts compared to the standard pay-as-you-go model and are suitable for users with predictable or high usage volumes.

  3. Create an AccessKey: Use RAM to create an AccessKey. If you use a RAM user's AccessKey, grant the AliyunYundunGreenWebFullAccess permission to the RAM user from your Alibaba Cloud account. RAM authorization.

  4. Integrate using an SDK. Image Moderation - Enhanced (2.0) SDK and integration guide.

Usage notes

This API creates an image content moderation task. Construct HTTP requests with the HTTP Native Call guide, or use pre-built HTTP requests from the Access Guide.

  • API operation: ImageModeration

  • Supported regions and endpoints:

    Region

    Public endpoint

    VPC endpoint

    Supported service codes

    China (Shanghai)

    green-cip.cn-shanghai.aliyuncs.com

    green-cip-vpc.cn-shanghai.aliyuncs.com

    postImageCheckByVL, baselineCheckByVL, baselineCheck, baselineCheck_pro, tonalityImprove, aigcCheck, profilePhotoCheck, postImageCheck, advertisingCheck, liveStreamCheck, riskDetection, generalOcr, generalRecognition, faceDetect, faceDetect_pro

    China (Chengdu)

    green-cip.cn-chengdu.aliyuncs.com

    None

    China (Shenzhen)

    green-cip.cn-shenzhen.aliyuncs.com

    green-cip-vpc.cn-shenzhen.aliyuncs.com

    China (Beijing)

    green-cip.cn-beijing.aliyuncs.com

    green-cip-vpc.cn-beijing.aliyuncs.com

    China (Hangzhou)

    green-cip.cn-hangzhou.aliyuncs.com

    green-cip-vpc.cn-hangzhou.aliyuncs.com

    Singapore

    green-cip.ap-southeast-1.aliyuncs.com

    green-cip-vpc.ap-southeast-1.aliyuncs.com

    postImageCheckByVL_global, baselineCheck_global, aigcDetector_global, faceDetect_global, faceDetect_pro_global

    UK (London)

    green-cip.eu-west-1.aliyuncs.com

    None

    US (Virginia)

    green-cip.us-east-1.aliyuncs.com

    green-cip-vpc.us-east-1.aliyuncs.com

    baselineCheck_global, aigcDetector_global

    US (Silicon Valley)

    green-cip.us-west-1.aliyuncs.com

    None

    Germany (Frankfurt)

    green-cip.eu-central-1.aliyuncs.com

    green-cip-vpc.eu-central-1.aliyuncs.com

    Note

    The UK (London) region uses the same console configuration as the Singapore region. The US (Silicon Valley) region uses the same console configuration as the US (Virginia) region.

  • Billing:

    Billable. Only successful requests (HTTP 200) are charged; failed requests are not billed. Billing.

  • Image requirements:

    • Supported formats include PNG, JPG, JPEG, BMP, WEBP, TIFF, SVG, and AVIF. For HEIF images, the longest side cannot exceed 8,192 pixels. For GIFs, only the first frame is processed. For ICO files, only the last image is processed.

    • The image must not exceed 20 MB. The height or width cannot exceed 30,000 pixels, and the total number of pixels cannot exceed 250 million. For optimal performance, the image resolution should be at least 200 × 200 pixels. Lower resolutions may degrade algorithm performance.

    • The image must finish downloading within 3 seconds. Otherwise, the request will time out and return an error.

QPS limit

Default limit: 100 QPS per user. Exceeding this limit triggers throttling. To increase the limit, contact your account manager.

Debugging

Use Alibaba Cloud OpenAPI to debug the Image Moderation API online before integration. The portal provides code examples, SDK dependencies, and API parameter details.

Important

Debugging calls use your account and count toward billed usage.

Request parameters

Required common request parameters: common parameters.

The request body is a JSON object that contains the following fields:

Parameter

Type

Required

Example

Description

Service

String

Yes

baselineCheck

The image moderation (Enhanced Edition) service to use. Valid values:

  • baselineCheckByVL: Image Moderation Service Based on LLMs

  • postImageCheckByVL: Image Moderation for Large and Small Model Integration

  • postImageCheckByVL_cb: Image Moderation for Large and Small Model Integration_For regions outside the Chinese mainland

  • baselineCheck: BaselineCheck

  • baselineCheck_pro: baselineCheck_pro

  • baselineCheck_cb: Common Baseline Moderation_For regions outside the Chinese mainland

  • tonalityImprove: TonalityImprove

  • tonalityImprove_cb: Content Governance Moderation_For regions outside the Chinese mainland

  • aigcCheck: AIGC Image Risk

  • aigcCheck_cb: AIGC Image Risk Detection (Outside Chinese Mainland)

  • profilePhotoCheck: Profile Photo Check

  • postImageCheck: Post Comment Image Moderation

  • advertisingCheck: Advertising Check

  • liveStreamCheck: Live Stream Check

  • riskDetection: Moderate Images for Malicious Content

  • riskDetection_cb: Moderate Images for Malicious Content (Outside Chinese Mainland)

Note

For more information about the differences between the services, see Service Description. For AIGC-specific services, see AIGC Scenario Detection Service. The Global Edition can be used only in international regions. To call multiple services in a single request, use the Multi-Service Synchronous Detection API.

ServiceParameters

JSONString

Yes

Content moderation parameters as a JSON string. ServiceParameters.

Table 1. ServiceParameters

Parameter

Type

Required

Example

Description

imageUrl

String

Yes. Specify the image by using one of the following three methods:

  • Use an image URL by specifying the imageUrl parameter.

  • Use OSS authorization by specifying the ossBucketName, ossObjectName, and ossRegionId parameters.

  • Use a local image. When you upload a local image for detection, it does not use your OSS storage, and the file is stored for only 30 minutes. The SDK allows you to upload local images. For code samples, see SDK and integration guide for image moderation 2.0 (Enhanced Edition).

https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png

The URL of the image to be moderated. The URL must be publicly accessible and must not exceed 2,048 characters in length.

Note
  • The URL cannot contain Chinese characters. You can specify only one URL per request.

  • If a request using this method times out, use the OSS authorization method instead.

ossBucketName

String

bucket_01

The name of the authorized OSS Bucket.

Note

To use an internal OSS image URL, you must first grant the AliyunCIPScanOSSRole permission by using your Alibaba Cloud account (root account) on the Cloud Resource Access Authorization page.

ossObjectName

String

2022023/04/24/test.jpg

The name of the object in the authorized OSS Bucket.

Note

1. Specify the original OSS object name. Appending image processing parameters to the name is not supported. To add image processing parameters, use the imageUrl parameter.

2. If the object name contains Chinese characters or spaces, specify the name as is. Do not URL-encode it.

ossRegionId

String

cn-beijing

The region where the OSS Bucket is located.

dataId

String

No

img123****

A unique ID for the object being moderated.

Use this ID to track your business data. The ID can be up to 64 characters long and can contain uppercase and lowercase letters, digits, underscores (_), hyphens (-), and periods (.).

referer

String

No

www.aliyun.com

The Referer request header, used for scenarios such as hotlink protection. The value can be up to 256 characters in length.

infoType

String

Yes

customImage,textInImage

The supplementary information to retrieve. Valid values:

  • customImage: custom image library hit information

  • textInImage: text in image

  • publicFigure: public figure information

  • logoData: logo information

You can specify multiple values separated by commas (,). For example, customImage,textInImage returns both custom image library hit information and text from the image.

Note

Public figure and logo information are returned only for advanced image moderation services. Service Description.

Returned data

Parameter

Type

Example value

Description

RequestId

String

70ED13B0-BC22-576D-9CCF-1CC12FEAC477

Unique request identifier for troubleshooting.

Data

Object

Image content moderation result. Data.

Code

Integer

200

Status code. Code Description.

Msg

String

OK

The response message.

Table 2. Data

Parameter

Type

Example

Description

Result

Array

The image detection results, including risk labels and confidence scores. For more information, see result.

RiskLevel

String

high

The risk level of the image, which is determined by the label with the highest risk. Possible values are:

  • high: high risk

  • medium: medium risk

  • low: low risk

  • none: no risk detected

Note

Take immediate action on high-risk content. Manually review medium-risk content. For low-risk content, take action only if a high recall rate is required; otherwise, treat it as risk-free. You can configure risk thresholds in the Content Moderation console.

DataId

String

img123******

The unique ID of the data object specified in the request.

Note

If you provide a DataId in your request, the same value is returned in this field.

Ext

Object

Extra reference information for the image. For more information, see extra information.

ManualTaskId

String

m_im_042407280307***

The ID of the manual review task, which you can use to query the review results. This field is returned only if you have configured human-machine review and the content meets the conditions for manual review. For configuration details, see human-machine review service configuration.

Table 3. Result

Parameter

Type

Example value

Description

Label

String

violent_explosion

The label for the detected content. A single image can have multiple labels, each with a corresponding confidence score. For a list of supported labels, see the following:

Note

For labels related to the Content Moderation LLM service, see the Risk Label Glossary for Content Moderation LLM Service.

Confidence

Float

81.22

The confidence score for the label, on a scale of 0 to 100. The value is accurate to two decimal places. Some labels do not return a confidence score. For more information, see the Risk Label Glossary.

Description

String

Fireworks-related content

A human-readable explanation of the Label value.

Important

This description is for display purposes only and may change. For automation, rely on the Label field.

RiskLevel

String

high

The risk level associated with the label, based on your configured thresholds. Possible values:

  • high: High risk

  • medium: Medium risk

  • low: Low risk

  • none: No risk detected

Additional information

Table 4. Ext

Parameter

Type

Example value

Description

CustomImage

JSONArray

If a match is found in a custom image library, this parameter contains information about the matched library. For more information, see CustomImage.

TextInImage

Object

Returns information about the text recognized in the image. For more information, see TextInImage.

PublicFigure

JSONArray

If a public figure is detected in the image, this parameter returns information about that figure. For more information, see PublicFigure.

LogoData

JSONArray

Returns the matched logo data. For more information, see LogoData.

VlContent

Object

Returns the raw detection result from the large model. For more information, see VlContent.

Table 5. CustomImage

Parameter

Type

Example value

Description

LibId

String

lib0001

The ID of the matched custom image library.

LibName

String

custom image library A

The name of the matched custom image library.

ImageId

String

20240307

The ID of the matched custom image.

Table 6. TextInImage

Parameter

Type

Example value

Description

OcrResult

JSONArray

Information about each line of text recognized in the image. For more information, see OcrResult.

RiskWord

StringArray

[ "risk word 1",

"risk word 2"]

The risk words matched in the text. Returned when a tii label is matched.

CustomText

JSONArray

If a match is found in a custom text library, this parameter contains information about the matched library. For more information, see CustomText.

Table 7. OcrResult

Parameter

Type

Example value

Description

Text

String

Recognized text line 1

The content of a recognized line of text in the image.

Table 8. CustomText

Parameter

Type

Example value

Description

LibId

String

test20240307

The ID of the matched custom text library.

LibName

String

custom text library A

The name of the matched custom text library.

KeyWords

String

custom keyword 1

The matched custom keywords.

Table 9. PublicFigure

Parameter

Type

Example value

Description

FigureName

String

John Doe

The name of the recognized public figure.

FigureId

String

xxx001

The figure ID of the recognized public figure.

Note

Some public figures are identified by a FigureId, while others are identified by FigureName only. We recommend that you check the FigureName parameter first, then check the FigureId parameter if FigureName is empty.

Location

JSONArray

The location of the public figure. For more information, see Location.

Table 10. LogoData

Parameter

Type

Example value

Description

Logo

JSONArray

Information about the logo. For more information, see Logo.

Location

Object

The location of the logo. For more information, see Location.

Table 11. Logo

Parameter

Type

Example value

Description

Name

String

DingTalk

The name of the logo.

Label

String

logo_sns

The matched label.

Confidence

Float

88.18

The confidence score.

Table 12. Location

Parameter

Type

Example value

Description

X

Float

41

The x-coordinate, in pixels, of the upper-left corner of the bounding box relative to the left edge of the image.

Y

Float

84

The y-coordinate, in pixels, of the upper-left corner of the bounding box relative to the top edge of the image.

W

Float

83

The width of the bounding box, in pixels.

H

Float

26

The height of the bounding box, in pixels.

Table 13. VlContent

Parameter

Type

Example value

Description

OutputText

String

The image shows a large knife in black and blue, with some magazines next to it. This image falls into the 'terrorism and violence' category.

The raw detection result from the image moderation large model.

Examples

Request example

{
    "Service": "baselineCheck",
    "ServiceParameters": {
        "imageUrl": "https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png",
        "dataId": "img123****"
    }
}

Response example

  • Response when risk content is detected

    {
        "Msg": "OK",
        "Code": 200,
        "Data": {
            "DataId": "img123****",
            "Result": [
                {
                    "Label": "pornographic_adultContent",
                    "Confidence": 81,
                    "Description": "Adult Content"
                },
                {
                    "Label": "sexual_partialNudity",
                    "Confidence": 98,
                    "Description": "Sexually Suggestive"
                },
                {
                    "Label": "violent_explosion",
                    "Confidence": 70,
                    "Description": "Explosion"
                },
                {
                    "Label": "violent_explosion_lib",
                    "Confidence": 81,
                    "Description": "Explosion (Custom Library)"
                }
            ],
            "RiskLevel": "high"
        },
        "RequestId": "ABCD1234-1234-1234-1234-1234XYZ"
    }
  • Response when no risk content is detected

    {
        "Msg": "OK",
        "Code": 200,
        "Data": {
            "DataId": "img123****",
            "Result": [
                {
                    "Label": "nonLabel",
                    "Description": "No Risk Detected"
                }
            ],
            "RiskLevel": "none"
        },
        "RequestId": "ABCD1234-1234-1234-1234-1234XYZ"
    }
  • Response when an image matches the image allowlist

    {
        "Msg": "OK",
        "Code": 200,
        "Data": {
            "DataId": "img123****",
            "Result": [
                {
                    "Label": "nonLabel_lib",
                    "Confidence": 83,
                    "Description": "Matched in Image Allowlist"
                }
            ],
            "RiskLevel": "none"
        },
        "RequestId": "ABCD1234-1234-1234-1234-1234XYZ"
    }
  • Responses with additional information

    • Match in a custom image library

    {
        "Code": 200,
        "Data": {
            "DataId": "",
            "Ext": {
                "CustomImage": [
                    {
                        "ImageId": "12345",
                        "LibId": "TEST20240307",
                        "LibName": "Risk Image Library A"
                    }
                ]
            },
            "Result": [
                {
                    "Confidence": 100.0,
                    "Label": "pornographic_adultContent_lib",
                    "Description": "Adult Content (Custom Library)"
                }
            ],
            "RiskLevel": "high"
        },
        "Msg": "success",
        "RequestId": "5F572704-4C03-51DF-8957-D77BF6E7444E"
    }
    • Match in a custom text library

    {
        "Code": 200,
        "Data": {
            "DataId": "",
            "Ext": {
                "TextInImage": {
                    "CustomText": [
                        {
                            "KeyWords": "custom keyword 1",
                            "LibId": "TEST20240307",
                            "LibName": "Text Blocklist A"
                        }
                    ],
                    "OcrResult": [
                        {
                            "Text": "Text line 1"
                        },
                        {
                            "Text": "Text line 2"
                        },
                        {
                            "Text": "Text line 3 containing a custom keyword"
                        }
                    ],
                    "RiskWord": null
                }
            },
            "Result": [
                {
                    "Confidence": 99.0,
                    "Label": "pornographic_adultContent_tii_lib",
                    "Description": "Text Contains Pornographic Content (Custom Library)"
                }
            ],
            "RiskLevel": "high"
        },
        "Msg": "success",
        "RequestId": "TESTZGL-0307-2024-0728-FOREVER"
    }
    • Text-in-image violation

    {
        "Code": 200,
        "Data": {
            "DataId": "",
            "Ext": {
                "TextInImage": {
                    "CustomText": null,
                    "OcrResult": [
                        {
                            "Text": "Text line 1"
                        },
                        {
                            "Text": "Text line 2"
                        },
                        {
                            "Text": "Text line 3 containing a risk word"
                        }
                    ],
                    "RiskWord": [
                        "risk word 1"
                    ]
                }
            },
            "Result": [
                {
                    "Confidence": 89.15,
                    "Label": "political_politicalFigure_name_tii",
                    "Description": "Text Contains the Name of a Political Figure"
                }
            ],
            "RiskLevel": "high"
        },
        "Msg": "success",
        "RequestId": "TESTZGL-0307-2024-0728-FOREVER"
    }
    • Logo information detected

    {
        "Code": 200,
        "Data": {
            "DataId": "",
            "Ext": {
                "LogoData": [
                    {
                        "Location": {
                            "H": 44,
                            "W": 100,
                            "X": 45,
                            "Y": 30
                        },
                        "Logo": [
                            {
                                "Confidence": 96.15,
                                "Label": "pt_logotoSocialNetwork",
                                "Name": "CCTV"
                            }
                        ]
                    }
                ]
            },
            "Result": [
                {
                    "Confidence": 96.15,
                    "Label": "pt_logotoSocialNetwork",
                    "Description": "Social Media Platform Logo"
                }
            ],
            "RiskLevel": "high"
        },
        "Msg": "success",
        "RequestId": "TESTZGL-0307-2024-0728-FOREVER"
    }
    • Public figure information detected

    {
        "Code": 200,
        "Data": {
            "DataId": "",
            "Ext": {
                "PublicFigure": [
                    {
                        "FigureId": null,
                        "FigureName": "Yang San",
                        "Location": [
                            {
                                "H": 520,
                                "W": 13,
                                "X": 14,
                                "Y": 999
                            }
                        ]
                    }
                ]
            },
            "Result": [
                {
                    "Confidence": 92.05,
                    "Label": "political_politicalFigure_3",
                    "Description": "Provincial or Municipal Government Personnel"
                }
            ],
            "RiskLevel": "high"
        },
        "Msg": "success",
        "RequestId": "TESTZGL-0307-2024-0728-FOREVER"
    }
Note

Examples are formatted for readability. Actual responses are single-line strings without line breaks or indentation.

Risk labels

The following sections list risk labels, meanings, and score ranges. Toggle labels and configure detection scopes in the Console Operation Guide. Supported labels by service:

Scenario

Services and labels

General scenario

AIGC scenario

Business scenario

Special scenario

For labels returned when no risk is detected or an image matches the image whitelist, see Supported labels for no-risk or whitelisted images.

Note

We recommend storing the risk labels and confidence scores returned by the system for content governance. Use them to prioritize manual review, annotation, and implement tiered and categorized governance measures.

Table 5. Supported labels for baseline check

Label

Confidence score

Description

pornographic_adultContent

A score of 0–100. A higher score indicates greater confidence.

The image may contain adult pornographic content. For more information, see the Content Moderation console.

pornographic_adultContent_tii

A score of 0–100. A higher score indicates greater confidence.

The text in the image may contain pornographic content. For more information, see the Content Moderation console.

sexual_suggestiveContent

A score of 0–100. A higher score indicates greater confidence.

The image may contain vulgar or sexually suggestive content. For more information, see the Content Moderation console.

sexual_partialNudity

A score of 0–100. A higher score indicates greater confidence.

The image may contain partial nudity or sexually suggestive content. For more information, see the Content Moderation console.

political_politicalFigure

A score of 0–100. A higher score indicates greater confidence.

The image may contain political figures. For more information, see the Content Moderation console.

political_politicalFigure_name_tii

A score of 0–100. A higher score indicates greater confidence.

The text in the image may contain the names of political leaders.

political_politicalFigure_metaphor_tii

A score of 0–100. A higher score indicates greater confidence.

The text in the image may contain aliases or metaphors for major political leaders.

political_TVLogo

A score of 0–100. A higher score indicates greater confidence.

The image may contain specific TV station logos. For more information, see the Content Moderation console.

political_map

A score of 0–100. A higher score indicates greater confidence.

The image may contain a map of China. For more information, see the Content Moderation console.

political_outfit

A score of 0–100. A higher score indicates greater confidence.

The image may contain official uniforms. For more information, see the Content Moderation console.

political_prohibitedPerson

A score of 0–100. A higher score indicates greater confidence.

The image may contain prohibited individuals. For more information, see the Content Moderation console.

political_prohibitedPerson_tii

A score of 0–100. A higher score indicates greater confidence.

The text in the image may contain the names of disgraced officials.

political_taintedCelebrity

A score of 0–100. A higher score indicates greater confidence.

The image may contain public figures associated with major negative events. For more information, see the Content Moderation console.

political_taintedCelebrity_tii

A score of 0–100. A higher score indicates greater confidence.

The text in the image may contain the names of tainted celebrities.

political_flag

A score of 0–100. A higher score indicates greater confidence.

The image may contain a national or regional flag. For more information, see the Content Moderation console.

political_historicalNihility

A score of 0–100. A higher score indicates greater confidence.

The image may contain content related to historical nihilism. For more information, see the Content Moderation console.

political_historicalNihility_tii

A score of 0–100. A higher score indicates greater confidence.

The text in the image may contain information related to historical nihilism.

political_religion_tii

A score of 0–100. A higher score indicates greater confidence.

The text in the image may contain religious elements or information.

political_racism_tii

A score of 0–100. A higher score indicates greater confidence.

The text in the image may contain discriminatory language.

political_badge

A score of 0–100. A higher score indicates greater confidence.

The image may contain national or party emblems.

violent_explosion

A score of 0–100. A higher score indicates greater confidence.

The image may contain fireworks or explosions. For more information, see the Content Moderation console.

violent_gunKnives

A score of 0–100. A higher score indicates greater confidence.

The image may contain knives, firearms, or similar items. For more information, see the Content Moderation console.

violent_gunKnives_tii

A score of 0–100. A higher score indicates greater confidence.

The text in the image may describe firearms or knives.

violent_armedForces

A score of 0–100. A higher score indicates greater confidence.

The image may contain armed elements.

violent_crowding

A score of 0–100. A higher score indicates greater confidence.

The image may contain crowds or gatherings.

violent_horrificContent

A score of 0–100. A higher score indicates greater confidence.

The image may contain shocking or gory content. For more information, see the Content Moderation console.

violent_horrific_tii

A score of 0–100. A higher score indicates greater confidence.

The text in the image may describe violent or horrific content.

contraband_drug

A score of 0–100. A higher score indicates greater confidence.

The image may contain drugs or related items.

contraband_drug_tii

A score of 0–100. A higher score indicates greater confidence.

The text in the image may describe illicit drugs.

contraband_gamble

A score of 0–100. A higher score indicates greater confidence.

The image may contain gambling-related content.

contraband_gamble_tii

A score of 0–100. A higher score indicates greater confidence.

The text in the image may describe gambling activities.

fraud_videoAbuse

A score of 0–100. A higher score indicates greater confidence.

The image may contain content related to video abuse.

fraud_playerAbuse

A score of 0–100. A higher score indicates greater confidence.

The image may contain a fake or deceptive video player interface.

Table 6. Supported labels for general baseline detection_pro (baselineCheck_pro)

Label

Confidence

Description

pornographic_adultContent_***

Ranges from 0 to 100. A higher score indicates greater confidence.

The general baseline detection_pro feature provides more granular labels. For a complete list, see the Content Moderation console.

...

...

...

Table 7. Labels for general baseline detection (international)

Label

Confidence score

Description

pornographic_adultContent

0 to 100. A higher score means higher confidence.

The image may contain explicit adult content.

pornographic_adultToys

0 to 100. A higher score means higher confidence.

The image may contain sex toys.

pornographic_cartoon

0 to 100. A higher score means higher confidence.

The image may contain pornographic cartoons.

pornographic_art

0 to 100. A higher score means higher confidence.

The image may contain pornographic art.

pornographic_adultContent_tii

0 to 100. A higher score means higher confidence.

The text in the image may contain explicit content.

pornographic_suggestive_tii

0 to 100. A higher score means higher confidence.

The text in the image may contain vulgar content.

pornographic_o_tii

0 to 100. A higher score means higher confidence.

The text in the image may contain LGBTQ+ related content.

pornographic_organs_tii

0 to 100. A higher score means higher confidence.

The text in the image may contain descriptions of sexual organs.

pornographic_adultToys_tii

0 to 100. A higher score means higher confidence.

The text in the image may contain descriptions of sex toys.

sexual_suggestiveContent

0 to 100. A higher score means higher confidence.

The image may contain vulgar or sexually suggestive content.

sexual_femaleUnderwear

0 to 100. A higher score means higher confidence.

The image may contain underwear or swimwear.

sexual_cleavage

0 to 100. A higher score means higher confidence.

The image may depict cleavage.

sexual_maleTopless

0 to 100. A higher score means higher confidence.

The image may contain shirtless men.

sexual_cartoon

0 to 100. A higher score means higher confidence.

The image may contain sexually suggestive cartoons or animation.

sexual_shoulder

0 to 100. A higher score means higher confidence.

The image may contain sexually suggestive content involving shoulders.

sexual_femaleLeg

0 to 100. A higher score means higher confidence.

The image may contain sexually suggestive content involving legs.

sexual_pregnancy

0 to 100. A higher score means higher confidence.

The image may contain pregnancy or breastfeeding content.

sexual_kiss

0 to 100. A higher score means higher confidence.

The image may depict kissing.

sexual_intimacy

0 to 100. A higher score means higher confidence.

The image may depict intimate behavior.

sexual_intimacyCartoon

0 to 100. A higher score means higher confidence.

The image may depict intimate behavior in cartoons or animation.

political_historicalNihility

0 to 100. A higher score means higher confidence.

The image may depict historical nihilism or events unsuitable for dissemination.

political_historicalNihility_tii

0 to 100. A higher score means higher confidence.

The text in the image may contain historical nihilism.

political_politicalFigure_1

0 to 100. A higher score means higher confidence.

The image may contain political figures. For more information, see the Content Moderation console.

political_politicalFigure_2

0 to 100. A higher score means higher confidence.

political_politicalFigure_3

0 to 100. A higher score means higher confidence.

political_politicalFigure_4

0 to 100. A higher score means higher confidence.

political_politicalFigure_name_tii

0 to 100. A higher score means higher confidence.

The text in the image may contain the names of political leaders.

political_prohibitedPerson_1

0 to 100. A higher score means higher confidence.

The image may contain national-level disgraced officials.

political_prohibitedPerson_2

0 to 100. A higher score means higher confidence.

The image may contain provincial- or municipal-level disgraced officials.

political_taintedCelebrity

0 to 100. A higher score means higher confidence.

The image may contain tainted celebrities or public figures associated with major negative events.

political_taintedCelebrity_tii

0 to 100. A higher score means higher confidence.

The text in the image may contain the names of tainted celebrities.

political_CNFlag

0 to 100. A higher score means higher confidence.

The image may contain the Chinese national flag.

political_CNMap

0 to 100. A higher score means higher confidence.

The image may contain a map of China.

political_logo

0 to 100. A higher score means higher confidence.

The image may contain a logo of a prohibited media outlet.

political_outfit

0 to 100. A higher score means higher confidence.

The image may contain special attire. For more information, see the Content Moderation console.

political_badge

0 to 100. A higher score means higher confidence.

The image may contain a national or party emblem.

violent_explosion

0 to 100. A higher score means higher confidence.

The image may depict fireworks or explosions.

violent_armedForces

0 to 100. A higher score means higher confidence.

The image may depict armed forces or militants.

violent_weapon

0 to 100. A higher score means higher confidence.

The image may contain military weapons or equipment.

violent_crowding

0 to 100. A higher score means higher confidence.

The image may depict crowd gatherings.

violent_gun

0 to 100. A higher score means higher confidence.

The image may contain firearms.

violent_knives

0 to 100. A higher score means higher confidence.

The image may contain knives.

violent_horrific

0 to 100. A higher score means higher confidence.

The image may contain horrific content.

violent_nazi

0 to 100. A higher score means higher confidence.

The image may contain special content. For more information, see the Content Moderation console.

violent_blood

0 to 100. A higher score means higher confidence.

The image may contain gore or blood.

violent_extremistGroups_tii

0 to 100. A higher score means higher confidence.

The text in the image may contain references to terrorist organizations.

violent_extremistIncident_tii

0 to 100. A higher score means higher confidence.

The text in the image may contain references to terrorist incidents.

violent_weapons_tii

0 to 100. A higher score means higher confidence.

The text in the image may contain descriptions of firearms or knives.

violent_ACU

0 to 100. A higher score means higher confidence.

The image may contain a combat uniform.

contraband_drug

0 to 100. A higher score means higher confidence.

The image may contain drug-related content.

contraband_drug_tii

0 to 100. A higher score means higher confidence.

The text in the image may describe illicit drugs.

contraband_gamble

0 to 100. A higher score means higher confidence.

The image may contain gambling-related content.

contraband_gamble_tii

0 to 100. A higher score means higher confidence.

The text in the image may describe gambling behavior.

flag_country

0 to 100. A higher score means higher confidence.

The image may contain flag-related content.

inappropriate_smoking

0 to 100. A higher score means higher confidence.

The image may contain smoking-related content.

inappropriate_drinking

0 to 100. A higher score means higher confidence.

The image may contain alcohol-related content.

inappropriate_tattoo

0 to 100. A higher score means higher confidence.

The image may depict tattoos.

inappropriate_middleFinger

0 to 100. A higher score means higher confidence.

The image may depict the middle finger gesture.

inappropriate_foodWasting

0 to 100. A higher score means higher confidence.

The image may depict food waste.

profanity_offensive_tii

0 to 100. A higher score means higher confidence.

The text in the image may contain severe abuse, verbal attacks, or other offensive content.

profanity_oral_tii

0 to 100. A higher score means higher confidence.

The text in the image may contain casual profanity.

religion_clothing

0 to 100. A higher score means higher confidence.

The content may contain specific religious elements. For more information, see the Content Moderation console.

religion_logo

0 to 100. A higher score means higher confidence.

religion_flag

0 to 100. A higher score means higher confidence.

religion_taboo1_tii

0 to 100. A higher score means higher confidence.

religion_taboo2_tii

0 to 100. A higher score means higher confidence.

Table 8. Supported labels for content moderation detection (tonalityImprove)

Label

Confidence score

Description

pt_logotoSocialNetwork

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The image may contain a logo. For more information, see the Content Moderation Console.

pt_qrCode

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The image may contain a QR code.

pt_programCode

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The image may contain a mini program code.

pt_toDirectContact_tii

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The text in the image may contain specific traffic-guiding information. For more information, see the Content Moderation Console.

pt_toSocialNetwork_tii

The score ranges from 0 to 100, where a higher score indicates greater confidence.

pt_toShortVideos_tii

The score ranges from 0 to 100, where a higher score indicates greater confidence.

pt_investment_tii

The score ranges from 0 to 100, where a higher score indicates greater confidence.

pt_recruitment_tii

The score ranges from 0 to 100, where a higher score indicates greater confidence.

pt_certificate_tii

The score ranges from 0 to 100, where a higher score indicates greater confidence.

inappropriate_smoking

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The image may contain smoking-related content.

inappropriate_drinking

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The image may contain alcohol-related content.

inappropriate_tattoo

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The image may contain tattoos.

inappropriate_middleFinger

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The image may contain the middle finger gesture.

inappropriate_foodWasting

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The image may depict food waste.

PDA_kiss

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The image may depict kissing.

PDA_physicalContact

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The image may depict intimate behavior.

PDA_physicalContact_cartoon

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The image may contain specific scenes. For more information, see the Content Moderation Console.

religion_funeral

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The image may contain specific scenes, attire, or symbols. For more information, see the Content Moderation Console.

religion_buddhism

The score ranges from 0 to 100, where a higher score indicates greater confidence.

religion_christianity

The score ranges from 0 to 100, where a higher score indicates greater confidence.

religion_muslim

The score ranges from 0 to 100, where a higher score indicates greater confidence.

religion_tii

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The text in the image may contain specific elements or information. For more information, see the Content Moderation Console.

racism_tii

The score ranges from 0 to 100, where a higher score indicates greater confidence.

object_landmark

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The image may contain specific objects. For more information, see the Content Moderation Console.

object_rmb

The score ranges from 0 to 100, where a higher score indicates greater confidence.

object_wn

The score ranges from 0 to 100, where a higher score indicates greater confidence.

logo_brand

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The image may contain a trademark.

quality_meaningless

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The image contains too few elements. For more information, see the Content Moderation Console.

profanity_oral_tii

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The text in the image may contain uncivil or vulgar colloquialisms.

profanity_offensive_tii

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The text in the image may contain severe abusive content.

ad_compliance_shampaign_tii

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The text in the image may violate the Advertising Law concerning false advertising.

ad_compliance_healthCare_tii

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The text in the image may violate the Advertising Law concerning medical and healthcare products.

ad_compliance_prohibit_tii

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The text in the image may violate the Advertising Law concerning prohibited or restricted sales, tobacco, and alcohol.

ad_compliance_wordLimit_tii

The score ranges from 0 to 100, where a higher score indicates greater confidence.

The text in the image may violate the Advertising Law by using prohibited superlatives.

Table 9. Supported labels for AIGC Image Risk Detection (aigcCheck)

Label

Confidence

Description

pornographic_adultContent

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain adult pornographic content.

pornographic_adultToys

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain adult toys.

pornographic_artwork

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain pornographic artwork.

suggestiveContent_bump

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain visible nipple outlines.

suggestiveContent_sexhint

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain sexually suggestive body movements or poses.

sexual_exaggeratedbreast

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain exaggerated female breasts.

sexual_exaggeratedhip

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain exaggerated hips.

sexual_exaggeratedCleavage

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain deep cleavage.

sexual_femaleLeg

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain sexually suggestive legs.

sexual_femaleUnderwear

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain underwear or swimwear.

sexual_femaleSeethrough

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain see-through clothing.

sexual_generalbreast

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain female cleavage.

sexual_shoulder

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain sexually suggestive shoulders.

sexual_pregnancy

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain pregnancy or breastfeeding content.

sexual_maleTopless

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain topless male content.

sexual_child

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain sexualized content involving children.

sexual_inBed

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain a bed scene.

sexual_inToilet

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain a bathroom scene.

PDA_kiss

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain kissing.

PDA_physicalContact

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain intimate behavior.

political_historicalNihility

A score from 0 to 100. Higher scores indicate greater confidence.

The image may involve historical nihilism.

political_politicalFigure_1

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain political figures. For more information, see the Content Moderation console.

political_politicalFigure_2

A score from 0 to 100. Higher scores indicate greater confidence.

political_politicalFigure_3

A score from 0 to 100. Higher scores indicate greater confidence.

political_politicalFigure_4

A score from 0 to 100. Higher scores indicate greater confidence.

political_prohibitedPerson

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain prohibited individuals.

political_taintedCelebrity

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain public figures associated with major negative events.

political_CNFlag

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain the Chinese flag.

political_otherFlag

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain flags of other countries or regions.

political_CNMap

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain a map of China.

political_logo

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain specific media or TV station logos.

political_outfit

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain military or police uniforms.

political_badge

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain national or party emblems.

political_tiananmen

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain content related to Tiananmen Square.

violent_explosion

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain elements of fireworks or explosions.

violent_armedForces

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain armed elements.

violent_ACU

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain a combat uniform.

violent_crowding

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain scenes of crowds gathering.

violent_gun

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain firearms.

violent_knives

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain knives.

violent_blood

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain gory content.

contraband_drug

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain drug-related content.

contraband_gamble

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain gambling-related content.

horrific_organs

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain internal organs.

horrific_intensive

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain content that triggers trypophobia.

horrific_excrement

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain excrement.

horrific_horrific

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain horrific content.

horrific_blood

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain gory content.

inappropriate_smoking

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain smoking-related content.

inappropriate_drinking

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain alcohol-related content.

inappropriate_tattoo

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain tattoo-related content.

religion_clothing

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain specific religious attire or symbols. For more information, see the Content Moderation console.

religion_logo

A score from 0 to 100. Higher scores indicate greater confidence.

religion_flag

A score from 0 to 100. Higher scores indicate greater confidence.

Table 10. Supported labels for AIGC Image Risk Detection (International)

Label

Confidence

Description

pornographic_adultContent

A confidence score from 0 to 100.

The image likely contains adult pornographic content.

pornographic_adultToys

A confidence score from 0 to 100.

The image likely contains adult toys.

pornographic_artwork

A confidence score from 0 to 100.

The image likely contains pornographic artwork.

sexual_suggestiveContent

A confidence score from 0 to 100.

The image likely contains sexually suggestive body movements or poses.

sexual_femaleUnderwear

A confidence score from 0 to 100.

The image likely contains underwear or swimwear.

sexual_cleavage

A confidence score from 0 to 100.

The image likely features female cleavage.

sexual_maleTopless

A confidence score from 0 to 100.

The image likely contains topless men.

sexual_cartoon

A confidence score from 0 to 100.

The image likely contains sexually suggestive cartoon content.

sexual_shoulder

A confidence score from 0 to 100.

The image likely contains sexually suggestive content involving shoulders.

sexual_femaleLeg

A confidence score from 0 to 100.

The image likely contains sexually suggestive content involving female legs.

sexual_pregnancy

A confidence score from 0 to 100.

The image likely contains pregnancy or breastfeeding content.

sexual_kiss

A confidence score from 0 to 100.

The image likely contains kissing.

sexual_intimacy

A confidence score from 0 to 100.

The image likely contains intimate behavior.

sexual_intimacyCartoon

A confidence score from 0 to 100.

The image likely contains intimate acts in cartoons or animations.

political_historicalNihility

A confidence score from 0 to 100.

The image likely involves historical nihilism.

political_politicalFigure_1

A confidence score from 0 to 100.

The image likely contains political figures. For more information, see the Content Moderation Console.

political_politicalFigure_2

A confidence score from 0 to 100.

political_politicalFigure_3

A confidence score from 0 to 100.

political_politicalFigure_4

A confidence score from 0 to 100.

political_prohibitedPerson_1

A confidence score from 0 to 100.

The image likely contains disgraced national-level officials.

political_prohibitedPerson_2

A confidence score from 0 to 100.

The image likely contains disgraced provincial- or municipal-level officials.

political_prohibitedPerson

A confidence score from 0 to 100.

The image likely contains prohibited individuals.

political_taintedCelebrity

A confidence score from 0 to 100.

The image likely contains public figures involved in major negative incidents.

political_CNFlag

A confidence score from 0 to 100.

The image likely contains the flag of China.

political_CNMap

A confidence score from 0 to 100.

The image likely contains a map of China.

political_logo

A confidence score from 0 to 100.

The image likely contains specific media or TV station logos.

political_outfit

A confidence score from 0 to 100.

The image likely contains military or police uniforms.

political_badge

A confidence score from 0 to 100.

The image likely contains national or party emblems.

violent_explosion

A confidence score from 0 to 100.

The image likely contains fireworks or explosions.

violent_armedForces

A confidence score from 0 to 100.

The image likely contains armed forces.

violent_weapon

A confidence score from 0 to 100.

The image likely contains military equipment.

violent_ACU

A confidence score from 0 to 100.

The image likely contains combat uniforms.

violent_crowding

A confidence score from 0 to 100.

The image likely contains crowd gatherings.

violent_gun

A confidence score from 0 to 100.

The image likely contains guns.

violent_knives

A confidence score from 0 to 100.

The image likely contains knives.

violent_horrific

A confidence score from 0 to 100.

The image likely contains horrific content.

violent_nazi

A confidence score from 0 to 100.

The image likely contains Nazi-related content.

violent_blood

A confidence score from 0 to 100.

The image likely contains bloody content.

contraband_drug

A confidence score from 0 to 100.

The image likely contains drug-related content.

contraband_gamble

A confidence score from 0 to 100.

The image likely contains gambling-related content.

horrific_organs

A confidence score from 0 to 100.

The image likely contains internal organs.

horrific_intensive

A confidence score from 0 to 100.

The image likely contains content that triggers trypophobia.

horrific_excrement

A confidence score from 0 to 100.

The image likely contains excrement.

horrific_horrific

A confidence score from 0 to 100.

The image likely contains horrific content.

horrific_blood

A confidence score from 0 to 100.

The image likely contains bloody content.

inappropriate_smoking

A confidence score from 0 to 100.

The image likely contains smoking-related content.

inappropriate_drinking

A confidence score from 0 to 100.

The image likely contains alcohol-related content.

inappropriate_tattoo

A confidence score from 0 to 100.

The image likely contains tattoos.

inappropriate_middleFinger

A confidence score from 0 to 100.

The image likely contains the middle finger gesture.

inappropriate_foodWasting

A confidence score from 0 to 100.

The image likely contains content related to food waste.

religion_clothing

A confidence score from 0 to 100.

The image likely contains specific religious attire or symbols. For more information, see the Content Moderation Console.

religion_logo

A confidence score from 0 to 100.

religion_flag

A confidence score from 0 to 100.

religion_taboo1_tii

A confidence score from 0 to 100.

Text in the image contains religious taboo content.

religion_taboo2_tii

A confidence score from 0 to 100.

Text in the image contains taboo content.

flag_country

A confidence score from 0 to 100.

The image likely contains flags.

Table 11. Supported labels for profile photo check (profilePhotoCheck)

Label

Confidence score range

Description

pornographic_adultContent

0 to 100. A higher score indicates greater confidence.

The image may contain pornographic content.

pornographic_adultToys

0 to 100. A higher score indicates greater confidence.

The image may contain adult toys.

pornographic_artwork

0 to 100. A higher score indicates greater confidence.

The image may contain pornographic artwork.

pornographic_adultContent_tii

0 to 100. A higher score indicates greater confidence.

The text in the image may contain pornographic content.

sexual_suggestiveContent

0 to 100. A higher score indicates greater confidence.

The image may contain vulgar or sexually suggestive content.

sexual_breastBump

0 to 100. A higher score indicates greater confidence.

The image may contain visible nipple outlines.

sexual_cleavage

0 to 100. A higher score indicates greater confidence.

The image may contain female cleavage.

sexual_femaleUnderwear

0 to 100. A higher score indicates greater confidence.

The image may contain underwear or swimwear.

sexual_maleTopless

0 to 100. A higher score indicates greater confidence.

The image may contain topless men.

sexual_cartoon

0 to 100. A higher score indicates greater confidence.

The image may contain sexually suggestive cartoon content.

sexual_femaleShoulder

0 to 100. A higher score indicates greater confidence.

The image may contain sexually suggestive content involving shoulders.

sexual_femaleLeg

0 to 100. A higher score indicates greater confidence.

The image may contain sexually suggestive content involving legs.

sexual_pregnancy

0 to 100. A higher score indicates greater confidence.

The image may contain pregnancy or breastfeeding content.

sexual_underage

0 to 100. A higher score indicates greater confidence.

The image may contain sexually suggestive content involving children.

political_historicalNihility

0 to 100. A higher score indicates greater confidence.

The image may involve historical nihilism or historical events that are not suitable for dissemination.

political_historicalNihility_tii

0 to 100. A higher score indicates greater confidence.

The text in the image may contain content related to historical nihilism.

political_politicalFigure_1

0 to 100. A higher score indicates greater confidence.

The image may contain current or former political leaders.

political_politicalFigure_2

0 to 100. A higher score indicates greater confidence.

The image may contain family members of political leaders.

political_politicalFigure_3

0 to 100. A higher score indicates greater confidence.

The image may contain provincial or municipal government personnel.

political_politicalFigure_4

0 to 100. A higher score indicates greater confidence.

The image may contain foreign leaders and their family members.

political_politicalFigure_name_tii

0 to 100. A higher score indicates greater confidence.

The text in the image may contain the names of political leaders.

political_politicalFigure_metaphor_tii

0 to 100. A higher score indicates greater confidence.

The text in the image may contain aliases or metaphors for major political leaders.

political_prohibitedPerson_tii

0 to 100. A higher score indicates greater confidence.

The text in the image may contain the names of disgraced officials.

political_prohibitedPerson_1

0 to 100. A higher score indicates greater confidence.

The image may contain national-level disgraced officials.

political_prohibitedPerson_2

0 to 100. A higher score indicates greater confidence.

The image may contain provincial- or municipal-level disgraced officials.

political_taintedCelebrity

0 to 100. A higher score indicates greater confidence.

The image may contain tainted or controversial public figures.

political_taintedCelebrity_tii

0 to 100. A higher score indicates greater confidence.

The text in the image may contain the names of tainted celebrities.

political_Chinaflag

0 to 100. A higher score indicates greater confidence.

The image may contain the national flag of China.

political_otherflag

0 to 100. A higher score indicates greater confidence.

The image may contain other national flags.

political_Chinamap

0 to 100. A higher score indicates greater confidence.

The image may contain a map of China.

political_logo

0 to 100. A higher score indicates greater confidence.

The image may contain logos of prohibited media outlets.

political_outfit

0 to 100. A higher score indicates greater confidence.

The image may contain military, police, or combat unit uniforms.

political_medicalOutfit

0 to 100. A higher score indicates greater confidence.

The image may contain medical or healthcare attire.

political_badge

0 to 100. A higher score indicates greater confidence.

The image may contain national or party emblems.

political_racism_tii

0 to 100. A higher score indicates greater confidence.

The text in the image may contain special expressions. For details, see the Content Moderation console.

violent_explosion

0 to 100. A higher score indicates greater confidence.

The image may contain explosions or fireworks.

violent_burning

0 to 100. A higher score indicates greater confidence.

The image may contain fire or burning.

violent_armedForces

0 to 100. A higher score indicates greater confidence.

The image may contain armed forces.

violent_crowding

0 to 100. A higher score indicates greater confidence.

The image may contain crowds.

violent_gun

0 to 100. A higher score indicates greater confidence.

The image may contain firearms.

violent_knives

0 to 100. A higher score indicates greater confidence.

The image may contain knives.

violent_gunKnives_tii

0 to 100. A higher score indicates greater confidence.

The text in the image may describe firearms or knives.

violent_blood

0 to 100. A higher score indicates greater confidence.

The image may contain bloody content.

violent_horrific

0 to 100. A higher score indicates greater confidence.

The image may contain horrific content.

violent_horrific_tii

0 to 100. A higher score indicates greater confidence.

The text in the image may describe violent or terrifying content.

contraband_drug

0 to 100. A higher score indicates greater confidence.

The image may contain illicit drugs.

contraband_drug_tii

0 to 100. A higher score indicates greater confidence.

The text in the image may describe illicit drugs.

contraband_gamble

0 to 100. A higher score indicates greater confidence.

The image may contain gambling-related items.

contraband_gamble_tii

0 to 100. A higher score indicates greater confidence.

The text in the image may describe gambling activities.

contraband_certificate_tii

0 to 100. A higher score indicates greater confidence.

The text in the image may contain advertisements for services such as document forgery or cash-out schemes.

religion_funeral

0 to 100. A higher score indicates greater confidence.

The image may contain scenes of funerals or memorial halls.

religion_buddhism

0 to 100. A higher score indicates greater confidence.

The image may contain specific attire or symbols. For details, see the Content Moderation console.

religion_christianity

0 to 100. A higher score indicates greater confidence.

religion_muslim

0 to 100. A higher score indicates greater confidence.

religion_tii

0 to 100. A higher score indicates greater confidence.

racism_tii

0 to 100. A higher score indicates greater confidence.

PDA_kiss

0 to 100. A higher score indicates greater confidence.

The image may contain kissing.

PDA_physicalContact

0 to 100. A higher score indicates greater confidence.

The image may contain intimate behavior.

object_landmark

0 to 100. A higher score indicates greater confidence.

The image may contain landmarks in China.

object_rmb

0 to 100. A higher score indicates greater confidence.

The image may contain RMB banknotes or coins.

object_foreignCurrency

0 to 100. A higher score indicates greater confidence.

The image may contain foreign currency.

object_wn

0 to 100. A higher score indicates greater confidence.

The image may contain specific figures.

object_carcrash

0 to 100. A higher score indicates greater confidence.

The image may depict a car crash.

object_candle

0 to 100. A higher score indicates greater confidence.

The image may contain candles.

object_flood

0 to 100. A higher score indicates greater confidence.

The image may contain content related to floods.

pt_logotoSocialNetwork

0 to 100. A higher score indicates greater confidence.

The image may contain watermarks from common social networking platforms.

pt_qrCode

0 to 100. A higher score indicates greater confidence.

The image may contain a QR code.

pt_programCode

0 to 100. A higher score indicates greater confidence.

The image may contain a mini program code.

pt_toDirectContact_tii

0 to 100. A higher score indicates greater confidence.

The text in the image may contain information intended to redirect users. For details, see the Content Moderation console.

pt_toSocialNetwork_tii

0 to 100. A higher score indicates greater confidence.

pt_toShortVideos_tii

0 to 100. A higher score indicates greater confidence.

pt_investment_tii

0 to 100. A higher score indicates greater confidence.

pt_recruitment_tii

0 to 100. A higher score indicates greater confidence.

inappropriate_smoking

0 to 100. A higher score indicates greater confidence.

The image may contain smoking-related content.

inappropriate_drinking

0 to 100. A higher score indicates greater confidence.

The image may contain drinking-related content.

inappropriate_tattoo

0 to 100. A higher score indicates greater confidence.

The image may contain tattoos.

inappropriate_middleFinger

0 to 100. A higher score indicates greater confidence.

The image may contain the middle finger gesture.

inappropriate_foodWasting

0 to 100. A higher score indicates greater confidence.

The image may contain content related to food waste.

quality_meaningless

0 to 100. A higher score indicates greater confidence.

The image has too few elements.

logo_brand

0 to 100. A higher score indicates greater confidence.

The image may contain trademarks.

logo_tv

0 to 100. A higher score indicates greater confidence.

The image may contain TV station logos.

logo_streaming

0 to 100. A higher score indicates greater confidence.

The image may contain logos of audio or video entertainment platforms.

profanity_offensive_tii

0 to 100. A higher score indicates greater confidence.

The text in the image may contain severely abusive content.

meme_vulgar

0 to 100. A higher score indicates greater confidence.

The image may contain vulgar memes.

meme_metaphor

0 to 100. A higher score indicates greater confidence.

The image may contain metaphorical memes.

Table 12. Supported tags for post and comment image detection (postImageCheck)

Label

Confidence score

Description

pornographic_adultContent

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain pornographic adult content.

pornographic_adultToys

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain sex toys.

pornographic_artwork

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain pornographic artwork.

pornographic_adultContent_tii

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the text in the image may contain pornographic content.

sexual_suggestiveContent

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain vulgar or sexually suggestive content.

sexual_breastBump

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain visible nipple outlines.

sexual_cleavage

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may show female cleavage.

sexual_femaleUnderwear

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain underwear or swimwear.

sexual_maleTopless

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain shirtless men.

sexual_cartoon

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain sexually suggestive cartoon content.

sexual_femaleShoulder

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain sexually suggestive content related to female shoulders.

sexual_femaleLeg

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain sexually suggestive content related to female legs.

sexual_pregnancy

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain content related to pregnancy or breastfeeding.

sexual_underage

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain sexualized content involving minors.

political_historicalNihility

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may involve historical nihilism or historical events unsuitable for public dissemination.

political_historicalNihility_tii

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the text in the image may contain content related to historical nihilism.

political_politicalFigure_1

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain current or former political leaders.

political_politicalFigure_2

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may involve family members of political leaders.

political_politicalFigure_3

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may involve provincial or municipal government personnel.

political_politicalFigure_4

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may involve foreign leaders and their family members.

political_politicalFigure_name_tii

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the text in the image may contain the names of political leaders.

political_politicalFigure_metaphor_tii

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the text in the image may contain aliases or metaphors for key political leaders.

political_prohibitedPerson_tii

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the text in the image may contain the names of disgraced officials.

political_prohibitedPerson_1

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain national-level disgraced officials.

political_prohibitedPerson_2

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain provincial or municipal-level disgraced officials.

political_taintedCelebrity

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain tainted celebrities or public figures involved in major negative incidents.

political_taintedCelebrity_tii

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the text in the image may contain the names of tainted celebrities.

political_chinaflag

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain the national flag of China.

political_otherflag

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain other national flags.

political_chinamap

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain a map of China.

political_logo

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain logos of media outlets whose promotion is prohibited.

political_outfit

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain military, police, or combat unit uniforms.

political_medicalOutfit

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain medical or healthcare attire.

political_badge

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain national or party emblems.

political_racism_tii

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the text in the image may contain special expressions. For more information, see the Content Security console.

violent_explosion

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain explosions or fireworks.

violent_burning

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain fire or burning.

violent_armedForces

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain terrorist organizations.

violent_crowding

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may show crowd gatherings.

violent_gun

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain firearms.

violent_knives

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain knives.

violent_gunKnives_tii

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the text in the image may describe firearms or knives.

violent_blood

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain blood or gore.

violent_horrific

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain horrific or shocking content.

violent_horrific_tii

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the text in the image may describe violent or horrific content.

contraband_drug

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain illicit drugs or related items.

contraband_drug_tii

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the text in the image may describe illicit drugs.

contraband_gamble

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain gambling-related items.

contraband_gamble_tii

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the text in the image may describe gambling activities.

contraband_certificate_tii

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the text in the image may be an ad for services like document forgery or illicit cash-out schemes.

religion_funeral

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain scenes of funerals or memorial halls.

religion_buddhism

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain specific attire or symbols. For more information, see the Content Security console.

religion_christianity

A score from 0 to 100. A higher score indicates greater confidence.

religion_muslim

A score from 0 to 100. A higher score indicates greater confidence.

religion_tii

A score from 0 to 100. A higher score indicates greater confidence.

racism_tii

A score from 0 to 100. A higher score indicates greater confidence.

PDA_kiss

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may show people kissing.

PDA_physicalContact

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may show intimate physical contact.

object_landmark

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain domestic landmarks.

object_rmb

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain Chinese RMB banknotes or coins.

object_foreignCurrency

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain foreign currency.

object_wn

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain specific characters or figures.

object_carcrash

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may show a car crash.

object_candle

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain candles.

object_flood

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain content related to natural disasters.

pt_logotoSocialNetwork

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image contains watermarks of common social networking platforms.

pt_qrCode

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image contains a QR code.

pt_programCode

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image contains a Mini Program code.

pt_toDirectContact_tii

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the text in the image may contain specific traffic-guiding information. For more information, see the Content Security console.

pt_toSocialNetwork_tii

A score from 0 to 100. A higher score indicates greater confidence.

pt_toShortVideos_tii

A score from 0 to 100. A higher score indicates greater confidence.

pt_investment_tii

A score from 0 to 100. A higher score indicates greater confidence.

pt_recruitment_tii

A score from 0 to 100. A higher score indicates greater confidence.

inappropriate_smoking

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain smoking-related content.

inappropriate_drinking

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain alcohol-related content.

inappropriate_tattoo

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain tattoos.

inappropriate_middleFinger

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain the middle finger gesture.

inappropriate_foodWasting

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may depict food waste.

logo_brand

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain trademarks.

logo_tv

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain TV station logos.

logo_streaming

A score from 0 to 100. A higher score indicates greater confidence.

Indicates the image may contain logos of audio-visual entertainment platforms.

Table 13. advertisingCheck: Supported tags

Label

Confidence

Description

ad_compliance_shampaign_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image may violate advertising laws regarding false advertising.

ad_compliance_healthCare_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image may violate advertising laws regarding medical and healthcare products.

ad_compliance_prohibit_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image may violate advertising laws regarding prohibited or restricted items, tobacco, and alcohol.

ad_compliance_wordLimit_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image may violate advertising laws by using prohibited superlatives.

contraband_drug

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain contraband drugs.

contraband_drug_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image may describe illicit drugs.

contraband_gamble

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain gambling-related items.

contraband_gamble_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image may describe gambling activities.

contraband_certificate_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image may contain traffic-guiding advertisements for services such as document forgery or cash-out schemes.

pornographic_adultContent

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain pornographic content.

pornographic_adultToys

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain adult toys.

pornographic_artwork

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain pornographic artwork.

pornographic_adultContent_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image may contain pornographic content.

sexual_suggestiveContent

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain vulgar or sexually suggestive content.

sexual_breastNudity

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain visible nipple outlines.

sexual_cleavage

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain female cleavage.

sexual_femaleUnderwear

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain underwear or swimwear.

sexual_femaleShoulder

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain sexually suggestive depictions of shoulders.

sexual_femaleLeg

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain sexually suggestive depictions of legs.

sexual_maleTopless

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain topless men.

sexual_cartoon

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain sexually suggestive cartoon content.

sexual_pregnancy

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain pregnancy photos or breastfeeding scenes.

sexual_underage

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain sexually suggestive content involving minors.

political_historicalNihility

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain content related to historical nihilism or sensitive historical events.

political_historicalNihility_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image may contain content related to historical nihilism.

political_politicalFigure

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain political figures.

political_politicalFigure_2

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain family members of political leaders.

political_politicalFigure_3

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain provincial or municipal government officials.

political_politicalFigure_4

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain foreign leaders and their family members.

political_politicalFigure_name_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image contains the names of political leaders.

political_politicalFigure_metaphor_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image may contain aliases or metaphors for major political leaders.

political_prohibitedPerson_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image contains the names of disgraced officials.

political_taintedCelebrity

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain tainted celebrities or public figures involved in major negative incidents.

political_taintedCelebrity_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image may contain the names of tainted celebrities.

political_CNflag

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain the national flag of China.

political_otherflag

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain the national flags of other countries.

political_CNMap

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain a map of China.

political_logo

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain logos of prohibited media outlets.

political_outfit

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain military or police uniforms.

political_badge

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain a national emblem or party emblem.

political_racism_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image may contain racist or discriminatory language. For more information, see the Content Security Console.

violent_armedForces

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain depictions of armed groups or terrorist organizations.

violent_crowding

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain large crowds.

violent_gun

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain firearms.

violent_Knives

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain knives.

violent_gunKnives_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image describes firearms or knives.

violent_blood

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain gory content.

violent_horrific

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain shocking content.

violent_horrific_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image may describe violent or horrific content.

religion_funeral

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain funeral or memorial hall scenes.

religion_buddhism

A score from 0 to 100. Higher scores indicate greater confidence.

The image or text may contain sensitive content, such as religious symbols or discriminatory language. For more information, see the Content Security Console.

religion_christianity

A score from 0 to 100. Higher scores indicate greater confidence.

religion_muslim

A score from 0 to 100. Higher scores indicate greater confidence.

religion_tii

A score from 0 to 100. Higher scores indicate greater confidence.

racism_tii

A score from 0 to 100. Higher scores indicate greater confidence.

PDA_kiss

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain kissing.

PDA_physicalContact

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain intimate behavior.

object_landmark

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain landmarks in China.

object_rmb

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain RMB banknotes or coins.

object_wn

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain specific figures.

pt_logotoSocialNetwork

A score from 0 to 100. Higher scores indicate greater confidence.

The image contains watermarks from popular social media platforms.

pt_qrCode

A score from 0 to 100. Higher scores indicate greater confidence.

The image contains a QR code.

pt_programCode

A score from 0 to 100. Higher scores indicate greater confidence.

The image contains a mini program code.

pt_toDirectContact_tii

A score from 0 to 100. Higher scores indicate greater confidence.

The text in the image may contain specific traffic-guiding information. For more information, see the Content Security Console.

pt_toSocialNetwork_tii

A score from 0 to 100. Higher scores indicate greater confidence.

pt_toShortVideos_tii

A score from 0 to 100. Higher scores indicate greater confidence.

pt_investment_tii

A score from 0 to 100. Higher scores indicate greater confidence.

pt_recruitment_tii

A score from 0 to 100. Higher scores indicate greater confidence.

inappropriate_smoking

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain smoking-related content.

inappropriate_drinking

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain alcohol-related content.

inappropriate_tattoo

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain tattoos.

inappropriate_middleFinger

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain the middle finger gesture.

inappropriate_foodWasting

A score from 0 to 100. Higher scores indicate greater confidence.

The image may contain content related to food waste.

Table 14. Supported labels for video/live stream screenshot moderation

Label

Confidence

Description

pornographic_adultContent

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain adult pornographic content.

pornographic_adultToys

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain adult toys.

pornographic_artwork

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain pornographic artwork.

pornographic_adultContent_tii

A score from 0 to 100. A higher score indicates a higher confidence.

The text in the image may contain pornographic content.

sexual_suggestiveContent

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain vulgar or sexually suggestive content.

sexual_breastBump

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain visible nipple outlines.

sexual_cleavage

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain female cleavage.

sexual_femaleUnderwear

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain underwear or swimwear.

sexual_femaleShoulder

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain sexually suggestive depictions of shoulders.

sexual_femaleLeg

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain sexually suggestive depictions of legs.

sexual_maleTopless

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain a shirtless male.

sexual_cartoon

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain sexually suggestive cartoon content.

sexual_pregnancy

The score ranges from 0 to 100. The higher the score, the higher the confidence.

The image is suspected to contain maternity photos or breastfeeding content.

sexual_underage

The score ranges from 0 to 100. A higher score indicates higher confidence.

The image is suspected to contain sexually suggestive content involving children.

political_historicalNihility

The score ranges from 0 to 100. The higher the score, the higher the confidence.

The visual content appears to involve historical nihilism or sensitive historical events.

political_historicalNihility_tii

The score is on a scale of 0 to 100. A higher score indicates greater confidence.

The text in the image is suspected of historical nihilism.

political_politicalFigure_1

A score of 0 to 100. The higher the score, the higher the confidence.

The image is suspected to contain current and former leaders.

political_politicalFigure_2

A score from 0 to 100. A higher score indicates greater confidence.

The image is suspected of involving the family members of a leader.

political_politicalFigure_3

The score is on a scale of 0 to 100. A higher score indicates higher confidence.

The image is suspected to involve provincial and municipal government officials.

political_politicalFigure_4

A score from 0 to 100, where a higher score indicates greater confidence.

The image or footage is suspected of depicting foreign leaders and their family members.

political_politicalFigure_name_tii

A score from 0 to 100. A higher score indicates greater confidence.

The text in the image contains a leader's name.

political_politicalFigure_metaphor_tii

A score from 0 to 100. The higher the score, the higher the confidence.

The text in the image is suspected of containing aliases or allusions to major leaders.

political_prohibitedPerson_1

The score ranges from 0 to 100, with higher scores indicating greater confidence.

The image appears to contain a high-ranking disgraced official.

political_prohibitedPerson_2

A score from 0 to 100. The higher the score, the higher the confidence.

The image is suspected to contain a provincial or municipal-level disgraced official.

political_prohibitedPerson_tii

The score ranges from 0 to 100. The higher the score, the higher the confidence.

The text in the image contains the names of disgraced officials.

political_taintedCelebrity

The score is on a scale of 0 to 100, where a higher score indicates greater confidence.

The image is suspected of containing a public figure who has a tainted record or is involved in major negative incidents.

political_taintedCelebrity_tii

A score from 0 to 100. A higher score indicates greater confidence.

The text in the image appears to contain the name of a disgraced celebrity.

political_Chinaflag

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain the national flag of China.

political_otherflag

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain the national flag of another country.

political_Chinamap

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain a map of China.

political_logo

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain logos of media outlets whose promotion is restricted.

political_outfit

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain military or police uniforms.

political_badge

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain a national emblem or party emblem.

political_racism_tii

A score from 0 to 100. A higher score indicates a higher confidence.

The text in the image may contain racist content. For more information, see the Content Moderation console.

violent_explosion

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain fireworks or explosions.

violent_armedForces

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain military personnel, equipment, or conflict scenes.

violent_crowding

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain crowds or gatherings.

violent_gun

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain a gun.

violent_Knives

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain knives.

violent_gunKnives_tii

A score from 0 to 100. A higher score indicates a higher confidence.

The text in the image may describe guns or knives.

violent_blood

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain bloody or gory content.

violent_horrific

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain horrific or frightening content.

violent_horrific_tii

A score from 0 to 100. A higher score indicates a higher confidence.

The text in the image may describe violent or terrifying content.

violent_ACU

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain a combat uniform.

contraband_drug

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain illegal drugs or drug paraphernalia.

contraband_drug_tii

A score from 0 to 100. A higher score indicates a higher confidence.

The text in the image may describe illegal drugs.

contraband_gamble

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain gambling paraphernalia.

contraband_gamble_tii

A score from 0 to 100. A higher score indicates a higher confidence.

The text in the image may describe gambling activities.

contraband_certificate_tii

A score from 0 to 100. A higher score indicates a higher confidence.

The text in the image may promote services like document forgery or illegal cash-out schemes.

religion_funeral

A score from 0 to 100. A higher score indicates a higher confidence.

The image may depict funeral-related scenes.

religion_buddhism

A score from 0 to 100. A higher score indicates a higher confidence.

The image or text may contain sensitive content defined in the Content Moderation console.

religion_christianity

A score from 0 to 100. A higher score indicates a higher confidence.

religion_muslim

A score from 0 to 100. A higher score indicates a higher confidence.

religion_tii

A score from 0 to 100. A higher score indicates a higher confidence.

racism_tii

A score from 0 to 100. A higher score indicates a higher confidence.

PDA_kiss

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain kissing.

PDA_physicalContact

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain intimate physical contact.

object_landmark

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain a landmark in China.

object_rmb

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain Chinese RMB banknotes or coins.

object_wn

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain specific characters.

pt_logotoSocialNetwork

A score from 0 to 100. A higher score indicates a higher confidence.

The image contains watermarks from common social media platforms.

pt_qrCode

A score from 0 to 100. A higher score indicates a higher confidence.

The image contains a QR code.

pt_programCode

A score from 0 to 100. A higher score indicates a higher confidence.

The image contains a mini program code.

pt_toDirectContact_tii

A score from 0 to 100. A higher score indicates a higher confidence.

The text in the image may contain information intended to drive traffic to other platforms. For more information, see the Content Moderation console.

pt_toSocialNetwork_tii

A score from 0 to 100. A higher score indicates a higher confidence.

pt_toShortVideos_tii

A score from 0 to 100. A higher score indicates a higher confidence.

pt_investment_tii

A score from 0 to 100. A higher score indicates a higher confidence.

pt_recruitment_tii

A score from 0 to 100. A higher score indicates a higher confidence.

inappropriate_smoking

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain smoking-related content.

inappropriate_drinking

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain alcohol-related content.

inappropriate_tattoo

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain tattoos.

inappropriate_middleFinger

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain the middle finger gesture.

inappropriate_foodWasting

A score from 0 to 100. A higher score indicates a higher confidence.

The image may contain depictions of food waste.

quality_meaningless

A score from 0 to 100. A higher score indicates a higher confidence.

The image is low-quality or lacks meaningful content.

Table 15. Labels supported by riskDetection and riskDetection_cb

Label

Confidence score

Description

risk_videoAbuse

A score from 0 to 100. A higher score indicates greater confidence.

Indicates a risk of a hidden video.

risk_playerAbuse

A score from 0 to 100. A higher score indicates greater confidence.

Indicates a risk of a hidden player.

Note

tii is an abbreviation for text in image. A label ending in tii flags non-compliant text.

You can also configure a custom image library for each risk label. If a detected image is a close match to an image in the custom image library, the system returns the corresponding risk label formatted as _lib. For example, if you configure a custom image library for the violent_explosion risk label and a detected image is a close match, the label parameter returns violent_explosion_lib. The corresponding confidence parameter represents the similarity score.

If the system detects no risks in an input image, or if the image is highly similar to an image on your exemption list, the returned label and confidence score are described in the following table.

Label

Confidence score

Description

nonLabel

This field is not returned.

No risk is detected in the image, or you have disabled all detection items. For more information, see the Content Moderation console.

nonLabel_lib

A score from 0 to 100. A higher score indicates greater confidence.

The image is highly similar to an image on your exemption list. For more information, see the Content Moderation console.

Response codes

API response codes. Only requests returning code 200 are billed.

Code

Description

200

The request was successful.

400

The request parameters are empty.

401

The request parameters are invalid.

402

A request parameter has an invalid length. Check the parameter and retry the request.

403

The request rate exceeds the QPS limit. Check and adjust your concurrency.

404

Failed to download the image due to an error or timeout. Verify the image URL and try again.

405

The image download timed out, possibly because the image is inaccessible. Check its access settings and try again.

406

The input image is too large. Reduce the image size and try again.

407

The input image format is not supported. Convert the image and try again.

408

Permission to call this API was denied. This can occur if the service is not activated, the account has an overdue payment, or the account lacks authorization.

500

A system error occurred.