Class FmuClient
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractClient
-
- com.tencentcloudapi.fmu.v20191213.FmuClient
-
public class FmuClient extends AbstractClient
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
-
-
Constructor Summary
Constructors Constructor Description FmuClient(Credential credential, String region)FmuClient(Credential credential, String region, ClientProfile profile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeautifyPicResponseBeautifyPic(BeautifyPicRequest req)用户上传一张人脸图片(最多能处理一张图片中最大的五张人脸信息),精准定位五官,实现美肤、亮肤、祛痘等美颜功能。BeautifyVideoResponseBeautifyVideo(BeautifyVideoRequest req)视频美颜(此接口目前已下线)CancelBeautifyVideoJobResponseCancelBeautifyVideoJob(CancelBeautifyVideoJobRequest req)撤销视频美颜任务请求CreateModelResponseCreateModel(CreateModelRequest req)在使用LUT素材的modelid实现试唇色前,您需要先上传 LUT 格式的cube文件注册唇色ID。查看 [LUT文件的使用说明](https://cloud.tencent.com/document/product/1172/41701)。 注:您也可以直接使用 [试唇色接口](https://cloud.tencent.com/document/product/1172/40706),通过输入RGBA模型数值的方式指定唇色,更简单易用。DeleteModelResponseDeleteModel(DeleteModelRequest req)删除已注册的唇色素材。GetModelListResponseGetModelList(GetModelListRequest req)查询已注册的唇色素材。QueryBeautifyVideoJobResponseQueryBeautifyVideoJob(QueryBeautifyVideoJobRequest req)查询视频美颜处理进度StyleImageResponseStyleImage(StyleImageRequest req)上传一张照片,输出滤镜处理后的图片。StyleImageProResponseStyleImagePro(StyleImageProRequest req)上传一张照片,输出滤镜处理后的图片。TryLipstickPicResponseTryLipstickPic(TryLipstickPicRequest req)对图片中的人脸嘴唇进行着色,最多支持同时对一张图中的3张人脸进行试唇色。 您可以通过事先注册在腾讯云的唇色素材(LUT文件)改变图片中的人脸唇色,也可以输入RGBA模型数值。 为了更好的效果,建议您使用事先注册在腾讯云的唇色素材(LUT文件)。 > - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。-
Methods inherited from class com.tencentcloudapi.common.AbstractClient
call, callOctetStream, getClientProfile, getCredential, getRegion, getRegionBreaker, internalRequest, retry, setClientProfile, setCredential, setRegion, setRegionBreaker
-
-
-
-
Constructor Detail
-
FmuClient
public FmuClient(Credential credential, String region)
-
FmuClient
public FmuClient(Credential credential, String region, ClientProfile profile)
-
-
Method Detail
-
BeautifyPic
public BeautifyPicResponse BeautifyPic(BeautifyPicRequest req) throws TencentCloudSDKException
用户上传一张人脸图片(最多能处理一张图片中最大的五张人脸信息),精准定位五官,实现美肤、亮肤、祛痘等美颜功能。- Parameters:
req- BeautifyPicRequest- Returns:
- BeautifyPicResponse
- Throws:
TencentCloudSDKException
-
BeautifyVideo
public BeautifyVideoResponse BeautifyVideo(BeautifyVideoRequest req) throws TencentCloudSDKException
视频美颜(此接口目前已下线)- Parameters:
req- BeautifyVideoRequest- Returns:
- BeautifyVideoResponse
- Throws:
TencentCloudSDKException
-
CancelBeautifyVideoJob
public CancelBeautifyVideoJobResponse CancelBeautifyVideoJob(CancelBeautifyVideoJobRequest req) throws TencentCloudSDKException
撤销视频美颜任务请求- Parameters:
req- CancelBeautifyVideoJobRequest- Returns:
- CancelBeautifyVideoJobResponse
- Throws:
TencentCloudSDKException
-
CreateModel
public CreateModelResponse CreateModel(CreateModelRequest req) throws TencentCloudSDKException
在使用LUT素材的modelid实现试唇色前,您需要先上传 LUT 格式的cube文件注册唇色ID。查看 [LUT文件的使用说明](https://cloud.tencent.com/document/product/1172/41701)。 注:您也可以直接使用 [试唇色接口](https://cloud.tencent.com/document/product/1172/40706),通过输入RGBA模型数值的方式指定唇色,更简单易用。- Parameters:
req- CreateModelRequest- Returns:
- CreateModelResponse
- Throws:
TencentCloudSDKException
-
DeleteModel
public DeleteModelResponse DeleteModel(DeleteModelRequest req) throws TencentCloudSDKException
删除已注册的唇色素材。- Parameters:
req- DeleteModelRequest- Returns:
- DeleteModelResponse
- Throws:
TencentCloudSDKException
-
GetModelList
public GetModelListResponse GetModelList(GetModelListRequest req) throws TencentCloudSDKException
查询已注册的唇色素材。- Parameters:
req- GetModelListRequest- Returns:
- GetModelListResponse
- Throws:
TencentCloudSDKException
-
QueryBeautifyVideoJob
public QueryBeautifyVideoJobResponse QueryBeautifyVideoJob(QueryBeautifyVideoJobRequest req) throws TencentCloudSDKException
查询视频美颜处理进度- Parameters:
req- QueryBeautifyVideoJobRequest- Returns:
- QueryBeautifyVideoJobResponse
- Throws:
TencentCloudSDKException
-
StyleImage
public StyleImageResponse StyleImage(StyleImageRequest req) throws TencentCloudSDKException
上传一张照片,输出滤镜处理后的图片。- Parameters:
req- StyleImageRequest- Returns:
- StyleImageResponse
- Throws:
TencentCloudSDKException
-
StyleImagePro
public StyleImageProResponse StyleImagePro(StyleImageProRequest req) throws TencentCloudSDKException
上传一张照片,输出滤镜处理后的图片。- Parameters:
req- StyleImageProRequest- Returns:
- StyleImageProResponse
- Throws:
TencentCloudSDKException
-
TryLipstickPic
public TryLipstickPicResponse TryLipstickPic(TryLipstickPicRequest req) throws TencentCloudSDKException
对图片中的人脸嘴唇进行着色,最多支持同时对一张图中的3张人脸进行试唇色。 您可以通过事先注册在腾讯云的唇色素材(LUT文件)改变图片中的人脸唇色,也可以输入RGBA模型数值。 为了更好的效果,建议您使用事先注册在腾讯云的唇色素材(LUT文件)。 > - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。- Parameters:
req- TryLipstickPicRequest- Returns:
- TryLipstickPicResponse
- Throws:
TencentCloudSDKException
-
-