tencent cloud

腾讯特效 SDK

动态与公告
产品动态
关于腾讯特效 SDK V3.5 版本更新公告
关于腾讯特效 SDK V3.0 版本相关接口及素材变更公告
产品简介
产品概述
产品功能
基本概念
产品优势
应用场景
购买指南
价格总览
购买流程
欠费退费说明
新手指引
Demo 体验
免费测试
License 指引
移动端 License 新增与续期
PC 端 License 新增与续期
Web端 License 新增与续期
常见问题
SDK 下载
功能说明
SDK 下载
版本历史
SDK 集成指引(无 UI)
通用集成腾讯特效
原子能力集成指引
SDK 集成指引(含 UI)
通用集成腾讯特效
直播 SDK 集成腾讯特效
TRTC SDK 集成腾讯特效
短视频 SDK 集成腾讯特效
Avatar 虚拟人集成指引
API 文档
iOS
Android
Flutter
Web
功能实践
SDK 包瘦身
SDK 集成问题排查
性能调优
效果调优
素材使用
美颜参数说明
美颜场景推荐参数
短视频企业版迁移指引
第三方推流接入美颜(Flutter)
小程序美颜特效实践
素材制作工具使用
Web 美颜特效
产品概述
快速上手
SDK 接入
API 文档
控制台指南
Demo 体验
内置素材总览
实践教程
常见问题
常见问题
通用类相关
技术类相关
License 相关
旧版文档
美颜场景推荐参数
美颜参数表
一分钟集成 TRTC
一分钟集成直播
TE SDK 政策
隐私协议
数据处理和安全协议
联系我们

Android(3.3.0及以前)

PDF
聚焦模式
字号
最后更新时间: 2024-07-05 12:35:44

美颜

美白

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_WHITEN
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
30
30
innerMinValue
0
0
innerMaxValue
1
1.8

磨皮

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_SMOOTH
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
50
innerMinValue
0
innerMaxValue
1

红润

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_ROSY
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
20
innerMinValue
0
innerMaxValue
1

画面调整

对比度

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_CONTRAST
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

饱和度

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_SATURATION
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

清晰度

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_CLEAR
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

微整形

大眼

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_ENLARGE_EYE
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
20
innerMinValue
0
innerMaxValue
1

瘦脸-自然

字段
取值
category
Category.BEAUTY
id
BeautyConstant.BEAUTY_FACE_NATURE_ID
resPath
null
effKey
BeautyConstant.BEAUTY_FACE_NATURE
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
30
innerMinValue
0
innerMaxValue
1

瘦脸-女神

字段
取值
category
Category.BEAUTY
id
BeautyConstant.BEAUTY_FACE_FEMALE_GOD_ID
resPath
null
effKey
BeautyConstant.BEAUTY_FACE_GODNESS
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

瘦脸-英俊

字段
取值
category
Category.BEAUTY
id
BeautyConstant.BEAUTY_FACE_MALE_GOD_ID
resPath
null
effKey
BeautyConstant.BEAUTY_FACE_MALE_GOD
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

V 脸

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_FACE_V
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
30
30
innerMinValue
0
0
innerMaxValue
1
1.3

收下颌(V2.6.0新增)

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_FACE_JAW
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

窄脸

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_FACE_THIN
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

短脸

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_FACE_SHORT
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
0
0
innerMinValue
0
0
innerMaxValue
1
1.3

脸型

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_FACE_BASIC
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

瘦颧骨

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_FACE_THIN_CHEEKBONE
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

下巴

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_FACE_THIN_CHIN
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

额头

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_FACE_FOREHEAD
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

亮眼

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_EYE_LIGHTEN
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
30
30
innerMinValue
0
0
innerMaxValue
1
1.5

眼距

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_EYE_DISTANCE
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
-100
-100
displayMaxValue
100
100
displayDefaultValue
0
0
innerMinValue
-1
-1.3
innerMaxValue
1
1.3

眼角

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_EYE_ANGLE
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

眼宽(V3.0.0新增)

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_EYE_WIDTH
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

眼高(V3.0.0新增)

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_EYE_HEIGHT
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

眉毛角度(V3.0.0新增)

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_EYEBROW_ANGLE
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

眉毛距离(V3.0.0新增)

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_EYEBROW_DISTANCE
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

眉毛高度(V3.0.0新增)

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_EYEBROW_HEIGHT
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

眉毛长度(V3.0.0新增)

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_EYEBROW_LENGTH
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

眉毛粗细(V3.0.0新增)

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_EYEBROW_THICKNESS
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

眉峰(V3.0.0新增)

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_EYEBROW_RIDGE
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

瘦鼻

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_NOSE_THIN
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

鼻翼

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_NOSE_WING
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

鼻子位置

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_NOSE_HEIGHT
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
-100
-100
displayMaxValue
100
100
displayDefaultValue
0
0
innerMinValue
-1
-1.3
innerMaxValue
1
1.3

白牙

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_TOOTH_WHITEN
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

祛皱

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_FACE_REMOVE_WRINKLE
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
0
0
innerMinValue
0
0
innerMaxValue
1
1.3

祛法令纹

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_FACE_REMOVE_LAW_LINE
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
0
0
innerMinValue
0
0
innerMaxValue
1
1.3

祛眼袋

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_FACE_REMOVE_EYE_BAGS
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

嘴型

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_MOUTH_SIZE
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

嘴唇厚度

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_MOUTH_HEIGHT
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

嘴唇宽度(V3.0.0新增)

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_MOUTH_WIDTH
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

嘴唇位置(V3.0.0新增)

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_MOUTH_POSITION
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

微笑唇(V3.0.0新增)

字段
取值
category
Category.BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BEAUTY_SMILE_FACE
effValue(XmagicPropertyValues)
displayMinValue
-100
displayMaxValue
100
displayDefaultValue
0
innerMinValue
-1
innerMaxValue
1

单点妆容

口红-复古红

字段
取值
category
Category.BEAUTY
id
XmagicConstant.BeautyConstant.BEAUTY_LIPS_LIPS_MASK
resPath
/images/beauty/lips_fuguhong.png
effKey
BeautyConstant.BEAUTY_MOUTH_LIPSTICK
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
50
50
innerMinValue
0
0
innerMaxValue
1
1.3

口红-蜜桃色

字段
取值
category
Category.BEAUTY
id
XmagicConstant.BeautyConstant.BEAUTY_LIPS_LIPS_MASK
resPath
/images/beauty/lips_mitaose.png
effKey
BeautyConstant.BEAUTY_MOUTH_LIPSTICK
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
50
50
innerMinValue
0
0
innerMaxValue
1
1.3

口红-珊瑚橘

字段
取值
category
Category.BEAUTY
id
XmagicConstant.BeautyConstant.BEAUTY_LIPS_LIPS_MASK
resPath
/images/beauty/lips_shanhuju.png
effKey
BeautyConstant.BEAUTY_MOUTH_LIPSTICK
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
50
50
innerMinValue
0
0
innerMaxValue
1
1.3

口红-温柔粉

字段
取值
category
Category.BEAUTY
id
XmagicConstant.BeautyConstant.BEAUTY_LIPS_LIPS_MASK
resPath
/images/beauty/lips_wenroufen.png
effKey
BeautyConstant.BEAUTY_MOUTH_LIPSTICK
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
50
50
innerMinValue
0
0
innerMaxValue
1
1.3

口红-活力橙

字段
取值
category
Category.BEAUTY
id
XmagicConstant.BeautyConstant.BEAUTY_LIPS_LIPS_MASK
resPath
/images/beauty/lips_huolicheng.png
effKey
BeautyConstant.BEAUTY_MOUTH_LIPSTICK
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
50
50
innerMinValue
0
0
innerMaxValue
1
1.3

腮红-简约

字段
取值
category
Category.BEAUTY
id
XmagicConstant.BeautyConstant.BEAUTY_MAKEUP_MULTIPLY_MULTIPLY_MASK
resPath
/images/beauty/saihong_jianyue.png
effKey
BeautyConstant.BEAUTY_FACE_RED_CHEEK
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
50
50
innerMinValue
0
0
innerMaxValue
1
1.8

腮红-盛夏

字段
取值
category
Category.BEAUTY
id
XmagicConstant.BeautyConstant.BEAUTY_MAKEUP_MULTIPLY_MULTIPLY_MASK
resPath
/images/beauty/saihong_shengxia.png
effKey
BeautyConstant.BEAUTY_FACE_RED_CHEEK
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
50
50
innerMinValue
0
0
innerMaxValue
1
1.8

腮红-害羞

字段
取值
category
Category.BEAUTY
id
XmagicConstant.BeautyConstant.BEAUTY_MAKEUP_MULTIPLY_MULTIPLY_MASK
resPath
/images/beauty/saihong_haixiu.png
effKey
BeautyConstant.BEAUTY_FACE_RED_CHEEK
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
50
50
innerMinValue
0
0
innerMaxValue
1
1.8

腮红-成熟

字段
取值
category
Category.BEAUTY
id
XmagicConstant.BeautyConstant.BEAUTY_MAKEUP_MULTIPLY_MULTIPLY_MASK
resPath
/images/beauty/saihong_chengshu.png
effKey
BeautyConstant.BEAUTY_FACE_RED_CHEEK
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
50
50
innerMinValue
0
0
innerMaxValue
1
1.8

腮红-雀斑

字段
取值
category
Category.BEAUTY
id
XmagicConstant.BeautyConstant.BEAUTY_MAKEUP_MULTIPLY_MULTIPLY_MASK
resPath
/images/beauty/saihong_queban.png
effKey
BeautyConstant.BEAUTY_FACE_RED_CHEEK
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
50
50
innerMinValue
0
0
innerMaxValue
1
1.8

眼影(V3.1.0新增)

字段
取值
category
Category.BEAUTY
id
beauty.eyesMakeup.mask.eyeShadow
resPath
/images/beauty/eyes_makeup_eye_shadow_0-albatross.png //此处填写的是资源路径,更多眼影效果可参考demo
effKey
BeautyConstant.BEAUTY_FACE_MAKEUP_EYE_SHADOW
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
50
innerMinValue
0
innerMaxValue
1

眼线(V3.1.0新增)

字段
取值
category
Category.BEAUTY
id
beauty.eyesMakeup.mask.eyeLiner
resPath
/images/beauty/eyes_makeup_eye_liner_0.png
//此处填写的是资源路径,更多眼线效果可参考demo
effKey
BeautyConstant.BEAUTY_FACE_MAKEUP_EYE_LINER
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
50
innerMinValue
0
innerMaxValue
1

睫毛(V3.1.0新增)

字段
取值
category
Category.BEAUTY
id
beauty.eyesMakeup.mask.eyelash
resPath
/images/beauty/eyes_makeup_eyelash_0.png
//此处填写的是资源路径,更多睫毛效果可参考demo
effKey
BeautyConstant.BEAUTY_FACE_MAKEUP_EYELASH
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
50
innerMinValue
0
innerMaxValue
1

眉毛(V3.1.0新增)

字段
取值
category
Category.BEAUTY
id
beauty.eyesMakeup.mask.eyebrow
resPath
/images/beauty/eyes_makeup_eyebrow_0.png
//此处填写的是资源路径,更多眉毛效果可参考demo
effKey
BeautyConstant.BEAUTY_FACE_MAKEUP_EYEBROW
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
50
innerMinValue
0
innerMaxValue
1

立体-自然

字段
取值
category
Category.BEAUTY
id
XmagicConstant.BeautyConstant.BEAUTY_SOFTLIGHT_SOFTLIGHT_MASK
resPath
/images/beauty/liti_ziran.png
effKey
BeautyConstant.BEAUTY_FACE_SOFTLIGHT
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
50
50
innerMinValue
0
0
innerMaxValue
1
1.3

立体-俊朗

字段
取值
category
Category.BEAUTY
id
XmagicConstant.BeautyConstant.BEAUTY_SOFTLIGHT_SOFTLIGHT_MASK
resPath
/images/beauty/liti_junlang.png
effKey
BeautyConstant.BEAUTY_FACE_SOFTLIGHT
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
50
50
innerMinValue
0
0
innerMaxValue
1
1.3

立体-光芒

字段
取值
category
Category.BEAUTY
id
XmagicConstant.BeautyConstant.BEAUTY_SOFTLIGHT_SOFTLIGHT_MASK
resPath
/images/beauty/liti_guangmang.png
effKey
BeautyConstant.BEAUTY_FACE_SOFTLIGHT
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
50
50
innerMinValue
0
0
innerMaxValue
1
1.3

立体-清新

字段
取值
category
Category.BEAUTY
id
XmagicConstant.BeautyConstant.BEAUTY_SOFTLIGHT_SOFTLIGHT_MASK
resPath
/images/beauty/liti_qingxin.png
effKey
BeautyConstant.BEAUTY_FACE_SOFTLIGHT
effValue(XmagicPropertyValues)
参数
普通模式
增强模式
displayMinValue
0
0
displayMaxValue
100
100
displayDefaultValue
50
50
innerMinValue
0
0
innerMaxValue
1
1.3

美体

一键瘦身

字段
取值
category
Category.BODY_BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BODY_AUTOTHIN_BODY_STRENGTH
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

长腿

字段
取值
category
Category.BODY_BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BODY_LEG_STRETCH
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

瘦腿

字段
取值
category
Category.BODY_BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BODY_SLIM_LEG_STRENGTH
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

瘦腰

字段
取值
category
Category.BODY_BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BODY_WAIST_STRENGTH
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

瘦肩

字段
取值
category
Category.BODY_BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BODY_THIN_SHOULDER_STRENGTH
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

小头

字段
取值
category
Category.BODY_BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BODY_SLIM_HEAD_STRENGTH
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

丰胸(V3.0.0新增)

字段
取值
category
Category.BODY_BEAUTY
id
null
resPath
null
effKey
BeautyConstant.BODY_ENLARGE_CHEST_STRENGTH
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

滤镜

字段
取值
category
Category.LUT
id
XmagicProperty.ID_NONE
resPath
null
effKey
null
effValue(XmagicPropertyValues)
displayMinValue
null
displayMaxValue
displayDefaultValue
innerMinValue
innerMaxValue

白皙

字段
取值
category
Category.LUT
id
n_baixi.png
resPath
xxxxxx/xmagic/light_material/lut/n_baixi.png
effKey
null
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

其他

字段
取值
category
Category.LUT
id
滤镜图片资源的名称(参考 Demo)
resPath
滤镜图片资源的全路径(参考 Demo)
effKey
null
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
0
innerMinValue
0
innerMaxValue
1

动效

字段
取值
category
Category.MOTION
id
XmagicProperty.ID_NONE
resPath
xxxxx /light_assets/template.json (此处需要参考 Demo,填写全路径)
effKey
null
effValue(XmagicPropertyValues)
displayMinValue
null
displayMaxValue
displayDefaultValue
innerMinValue
innerMaxValue

可爱涂鸦

字段
取值
category
Category.MOTION
id
video_keaituya
resPath
xxxxxx/xmagic/MotionRes/2dMotionRes/video_keaituya
effKey
null
effValue(XmagicPropertyValues)
displayMinValue
null
displayMaxValue
displayDefaultValue
innerMinValue
innerMaxValue

动效素材名称

字段
取值
category
Category.MOTION
id
素材文件夹名称(参考 Demo)
resPath
素材文件夹全路径(参考 Demo)
effKey
null
effValue(XmagicPropertyValues)
displayMinValue
null
displayMaxValue
displayDefaultValue
innerMinValue
innerMaxValue

美妆

字段
取值
category
Category.MAKEUP
id
XmagicProperty.ID_NONE
resPath
xxxxxx /light_assets/template.json (此处需要参考 Demo,填写全路径)
effKey
null
effValue(XmagicPropertyValues)
displayMinValue
null
displayMaxValue
displayDefaultValue
innerMinValue
innerMaxValue

女团妆

字段
取值
category
Category.MAKEUP
id
video_nvtuanzhuang
resPath
xxxxxx/xmagic/MotionRes/makeupRes/video_nvtuanzhuang
effKey
XmagicConstant.MakeUpEffKey.MAKEUP_EFF_KEY
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
60
innerMinValue
0
innerMaxValue
1

美妆素材名称

字段
取值
category
Category.MAKEUP
id
素材文件夹名称(参考 Demo)
resPath
素材文件夹全路径(参考 Demo)
effKey
XmagicConstant.MakeUpEffKey.MAKEUP_EFF_KEY
effValue(XmagicPropertyValues)
displayMinValue
0
displayMaxValue
100
displayDefaultValue
60
innerMinValue
0
innerMaxValue
1

分割

字段
取值
category
Category.SEGMENTATION
id
XmagicProperty.ID_NONE
resPath
xxxxxx /light_assets/template.json (此处需要参考 Demo,填写全路径)
effKey
null
effValue(XmagicPropertyValues)
displayMinValue
null
displayMaxValue
displayDefaultValue
innerMinValue
innerMaxValue

背景模糊-弱

字段
取值
category
Category.SEGMENTATION
id
video_segmentation_blur_45
resPath
xxxxxx/xmagic/MotionRes/segmentMotionRes/video_segmentation_blur_45
effKey
null
effValue(XmagicPropertyValues)
displayMinValue
null
displayMaxValue
displayDefaultValue
innerMinValue
innerMaxValue

分割素材名称

字段
取值
category
Category.SEGMENTATION
id
素材文件夹名称(参考 Demo)
resPath
素材文件夹全路径(参考 Demo)
effKey
null
effValue(XmagicPropertyValues)
displayMinValue
null
displayMaxValue
displayDefaultValue
innerMinValue
innerMaxValue

自定义分割

字段
取值
category
Category.SEGMENTATION
id
XmagicConstant.SegmentationId.CUSTOM_SEG_ID
resPath
自定义分割素材的全路径
effKey
图片本地路径/视频本地路径
effValue(XmagicPropertyValues)
displayMinValue
null
displayMaxValue
displayDefaultValue
innerMinValue
innerMaxValue

绿幕分割

字段
取值
category
Category.SEGMENTATION
id
XmagicConstant.SegmentationId.GREENSCREEN_SEG_ID
resPath
绿幕分割素材的全路径
effKey
图片本地路径/视频本地路径
effValue(XmagicPropertyValues)
hashMapProperty
key="keyColor", value="#00FF00",绿幕颜色,可选,默认为绿色,RGB字符串


帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈