Skip to content

Commit 2183be1

Browse files
author
justinlguo
committed
ImageFaceEffect add param
1 parent f59af74 commit 2183be1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sample/imageFaceEffect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
'secretKey' => $secretKey)));
1515
try {
1616
// 人脸特效 https://cloud.tencent.com/document/product/460/47197
17-
$result = $cosClient->imageFaceEffect(array(
17+
$result = $cosClient->ImageFaceEffect(array(
1818
'Bucket' => 'examplebucket-125000000', //存储桶名称,由BucketName-Appid 组成,可以在COS控制台查看 https://console.cloud.tencent.com/cos5/bucket
1919
'Key' => '', // ObjectKey
2020
'type' => 'face-beautify', // 人脸特效类型。人脸美颜:face-beautify;人脸性别转换:face-gender-transformation;人脸年龄变化:face-age-transformation;人像分割:face-segmentation

src/Descriptions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12866,6 +12866,7 @@ public static function ImageFaceEffect() {
1286612866
'eyeEnlarging' => array( 'type' => 'integer', 'location' => 'query', ),
1286712867
'gender' => array( 'type' => 'integer', 'location' => 'query', ),
1286812868
'age' => array( 'type' => 'integer', 'location' => 'query', ),
12869+
'detectUrl' => array('type' => 'string', 'location' => 'query', 'sentAs' => 'detect-url'),
1286912870
),
1287012871
);
1287112872
}

0 commit comments

Comments
 (0)