tencent cloud

Feedback

Preparations for Connection

Last updated: 2023-12-20 17:27:27
    This document describes how to connect to and use IMS.

    Getting Account Information

    Getting Tencent Cloud account

    Log in to the Tencent Cloud console to sign up and verify your identity as instructed in Signing up for a Tencent Cloud Account. You can skip this step if you already have a Tencent Cloud account.

    Getting Tencent Cloud API access key

    Tencent Cloud uses secretid and secretkey to verify your identity and permissions. You can get the Tencent Cloud API access key in the following steps:
    1. Go to the TencentCloud API key management page and select CAM > API Key Management on the left sidebar to enter the API key management page.
    2. Click Create Key to create a key and save the secretid and secretkey for subsequent API calls. You can skip this step if you already have a Tencent Cloud key.
    img
    
    

    Configuring in Console

    Activating service

    Log in to the IMS console and click Activate Now.

    Configuring permission

    If you want to call IMS through a sub-account, you need to authorize it by assigning a policy in the following steps:
    1. Log in to the CAM console and select User > User List on the left sidebar to enter the User List page.
    2. On the User List page, find the target sub-account and click Authorize in the Operation column to pop up the Associate Policy window.
    Note:
    For more information on CAM, see CAM Authorization Guide.
    
    img
    
    
    3. In the Associate Policy pop-up window, select the QcloudIMSFullAccess policy and click OK.
    img
    
    

    Configuring custom policy

    If your business scenarios require a custom moderation policy for image content, you can configure one in Policy Management in the following steps:
    1. Log in to the IMS console and select IMS > Policy Management on the left sidebar to enter the Policy Management page.
    2. On the Policy Management page, click Create Policy in the top-left corner to enter the Create Policy page.
    img
    
    
    3. Enter the policy information based on your business scenario, reserve the Biztype field as an API input parameter, and click Next.
    img
    
    
    Parameter description:
    Parameter
    Description
    Policy Name
    Text description of the policy, which can contain up to 30 letters, digits, and underscores.
    Biztype Name
    Specific policy number used for API calls, which can contain 3–32 letters, digits, and underscores and must be unique.
    Associated Service Template
    Not required currently.
    Industry Category
    Category of the industry scenario involved in the policy.
    Use Industry Template
    It will be displayed only when Industry Category is set. You can select whether to use Tencent Cloud's preset industry templates for moderation.
    4. Select the content to be recognized and filtered in the policy and click Next.
    img
    
    
    5. If you want to recognize specific text content in images, you can associate a custom dictionary in the drop-down list and click Next.
    Note:
    Different colors in a custom dictionary represent different blocking logics, where red represents "blocked", yellow represents "suspected", and green represents "allowed".
    
    img
    
    
    6. After confirming that everything is correct, click Complete.
    Note:
    You can pass in the Biztype of a custom policy as an API input parameter to use the policy for image content moderation.
    
    img
    
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support