public class FtClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
FtClient(Credential credential,
String region) |
FtClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
ChangeAgePicResponse |
ChangeAgePic(ChangeAgePicRequest req)
用户上传一张人脸图片,基于人脸编辑与生成算法,输出一张人脸变老或变年轻的图片,支持实现人脸不同年龄的变化。(目前暂只支持变10岁,后续放开再通知)
|
SwapGenderPicResponse |
SwapGenderPic(SwapGenderPicRequest req)
用户上传一张人脸图片,基于人脸编辑与生成算法,输出一张人脸性别转换的图片。男变女可实现美颜、淡妆、加刘海和长发的效果;女变男可实现加胡须、变短发的效果。
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public FtClient(Credential credential, String region)
public FtClient(Credential credential, String region, ClientProfile profile)
public ChangeAgePicResponse ChangeAgePic(ChangeAgePicRequest req) throws TencentCloudSDKException
req
- ChangeAgePicRequestTencentCloudSDKException
public SwapGenderPicResponse SwapGenderPic(SwapGenderPicRequest req) throws TencentCloudSDKException
req
- SwapGenderPicRequestTencentCloudSDKException
Copyright © 2020. All rights reserved.