public class ImsClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
ImsClient(Credential credential,
String region) |
ImsClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
ImageModerationResponse |
ImageModeration(ImageModerationRequest req)
This API is used to submit an image for smart moderation.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public ImsClient(Credential credential, String region)
public ImsClient(Credential credential, String region, ClientProfile profile)
public ImageModerationResponse ImageModeration(ImageModerationRequest req) throws TencentCloudSDKException
The version described on this page is 2020. The IMS APIs connected to before November 3, 2020 are on v2019, and you can directly access the following URL to perform maintenance operations: IMS APIs v2019
v2020 is an upgrade to v2019 to support more flexible multi-scenario business policy configuration and richer recognition callback information, meeting the recognition requirements of different businesses. We recommend you upgrade the APIs according to the v2020 connection guide. Meanwhile, we will continue to maintain v2019 until users no longer use it.
req
- ImageModerationRequestTencentCloudSDKException
Copyright © 2023. All rights reserved.