public class FmuClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
构造器和说明 |
---|
FmuClient(Credential credential,
String region) |
FmuClient(Credential credential,
String region,
ClientProfile profile) |
限定符和类型 | 方法和说明 |
---|---|
BeautifyPicResponse |
BeautifyPic(BeautifyPicRequest req)
输入人脸图片,输出美颜后的人脸图片。
|
CreateModelResponse |
CreateModel(CreateModelRequest req)
上传 LUT 格式文件注册唇色ID。
|
DeleteModelResponse |
DeleteModel(DeleteModelRequest req)
删除已注册的唇色素材。
|
GetModelListResponse |
GetModelList(GetModelListRequest req)
查询已注册的唇色素材。
|
TryLipstickPicResponse |
TryLipstickPic(TryLipstickPicRequest req)
对图片中的人脸嘴唇进行着色,最多支持同时对一张图中的3张人脸进行试唇色。
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public FmuClient(Credential credential, String region)
public FmuClient(Credential credential, String region, ClientProfile profile)
public BeautifyPicResponse BeautifyPic(BeautifyPicRequest req) throws TencentCloudSDKException
req
- BeautifyPicRequestTencentCloudSDKException
public CreateModelResponse CreateModel(CreateModelRequest req) throws TencentCloudSDKException
req
- CreateModelRequestTencentCloudSDKException
public DeleteModelResponse DeleteModel(DeleteModelRequest req) throws TencentCloudSDKException
req
- DeleteModelRequestTencentCloudSDKException
public GetModelListResponse GetModelList(GetModelListRequest req) throws TencentCloudSDKException
req
- GetModelListRequestTencentCloudSDKException
public TryLipstickPicResponse TryLipstickPic(TryLipstickPicRequest req) throws TencentCloudSDKException
req
- TryLipstickPicRequestTencentCloudSDKException
Copyright © 2020. All rights reserved.