| | effectName | | | effectValue | resourcePath |
| | Constant Name (Android) | Constant Name (iOS) | The value of the character string | Type int | Character string type, resource path |
Beauty filter | Brighten | XmagicConstant.EffectName.BEAUTY_WHITEN | BEAUTY_WHITEN | beauty.lutFoundationAlpha | 0~100 | No |
| Brighten 2 | XmagicConstant.EffectName.BEAUTY_WHITEN_2 | BEAUTY_WHITEN2 | beauty.lutFoundationAlpha2 | 0~100 | No |
| Brighten 3 | XmagicConstant.EffectName.BEAUTY_WHITEN_3 | BEAUTY_WHITEN3 | beauty.lutFoundationAlpha3 | 0~100 | No |
| Smooth skin | XmagicConstant.EffectName.BEAUTY_SMOOTH | BEAUTY_SMOOTH | smooth.smooth | 0~100 | No |
| Rosy skin | XmagicConstant.EffectName.BEAUTY_ROSY | BEAUTY_ROSY | smooth.rosy | 0~100 | No |
Screen Adjustment | Contrast | XmagicConstant.EffectName.BEAUTY_CONTRAST | BEAUTY_CONTRAST | beauty.imageContrastAlpha | -100~100 | No |
| Saturation | XmagicConstant.EffectName.BEAUTY_SATURATION | BEAUTY_SATURATION | smooth.saturation | -100~100 | No |
| Sharpness | XmagicConstant.EffectName.BEAUTY_CLEAR | BEAUTY_CLEAR | beauty.lutClearAlpha | 0~100 | No |
| Sharpen | XmagicConstant.EffectName.BEAUTY_SHARPEN | BEAUTY_SHAPE | smooth.sharpen | 0~100 | No |
| Denoise (V3.6.0) | XmagicConstant.EffectName.BEAUTY_IMAGE_DENOISE | BEAUTY_IMAGE_DENOISE | postEffect.denoise | 0~100 | No |
| Warmth | XmagicConstant.EffectName.BEAUTY_IMAGE_WARMTH | BEAUTY_IMAGE_WARMTH | beauty.imageWarmth | -100~100 | No |
| Tint | XmagicConstant.EffectName.BEAUTY_IMAGE_TINT | BEAUTY_IMAGE_TINT | beauty.imageTint | -100~100 | No |
Advanced Aesthetics | Big eyes | XmagicConstant.EffectName.BEAUTY_ENLARGE_EYE | BEAUTY_ENLARGE_EYE | basicV7.enlargeEye | 0~100 | No |
| Bright eyes | XmagicConstant.EffectName.BEAUTY_EYE_LIGHTEN | BEAUTY_EYE_LIGHTEN | beauty.eyeLighten | 0~100 | No |
| Eye distance | XmagicConstant.EffectName.BEAUTY_EYE_DISTANCE | BEAUTY_EYE_DISTANCE | basicV7.eyeDistance | -100~100 | No |
| Eye corners | XmagicConstant.EffectName.BEAUTY_EYE_ANGLE | BEAUTY_EYE_ANGLE | basicV7.eyeAngle | -100~100 | No |
| Eye width | XmagicConstant.EffectName.BEAUTY_EYE_WIDTH | BEAUTY_EYE_WIDTH | basicV7.eyeWidth | -100~100 | No |
| Eye height | XmagicConstant.EffectName.BEAUTY_EYE_HEIGHT | BEAUTY_EYE_HEIGHT | basicV7.eyeHeight | -100~100 | No |
| Eye bags | XmagicConstant.EffectName.BEAUTY_FACE_REMOVE_EYE_BAGS | BEAUTY_FACE_REMOVE_EYE_BAGS | beauty.removeEyeBags | 0~100 | No |
| Angle of eyebrows | XmagicConstant.EffectName.BEAUTY_EYEBROW_ANGLE | BEAUTY_EYEBROW_ANGLE | basicV7.eyebrowAngle | -100~100 | No |
| Eyebrow distance | XmagicConstant.EffectName.BEAUTY_EYEBROW_DISTANCE | BEAUTY_EYEBROW_DISTANCE | basicV7.eyebrowDistance | -100~100 | No |
| Eyebrow height | XmagicConstant.EffectName.BEAUTY_EYEBROW_HEIGHT | BEAUTY_EYEBROW_HEIGHT | basicV7.eyebrowHeight | -100~100 | No |
| Eyebrow length | XmagicConstant.EffectName.BEAUTY_EYEBROW_LENGTH | BEAUTY_EYEBROW_LENGTH | basicV7.eyebrowLength | -100~100 | No |
| Thickness of the eyebrows | XmagicConstant.EffectName.BEAUTY_EYEBROW_THICKNESS | BEAUTY_EYEBROW_THICKNESS | basicV7.eyebrowThickness | -100~100 | No |
| Eyebrow ridge | XmagicConstant.EffectName.BEAUTY_EYEBROW_RIDGE | BEAUTY_EYEBROW_RIDGE | basicV7.eyebrowRidge | -100~100 | No |
| thin Nose | XmagicConstant.EffectName.BEAUTY_NOSE_THIN | BEAUTY_NOSE_THIN | basicV7.thinNose | 0~100 | No |
| Nose wings | XmagicConstant.EffectName.BEAUTY_NOSE_WING | BEAUTY_NOSE_WING | basicV7.noseWing | -100~100 | No |
| Nose position | XmagicConstant.EffectName.BEAUTY_NOSE_HEIGHT | BEAUTY_NOSE_HEIGHT | basicV7.noseHeight | -100~100 | No |
| Nasal bridge | XmagicConstant.EffectName.BEAUTY_NOSE_BRIDGE_WIDTH | BEAUTY_NOSE_BRIDGE_WIDTH | basicV7.noseBridgeWidth | -100~100 | No |
| Mountain Root | XmagicConstant.EffectName.BEAUTY_NASION | BEAUTY_NASION | basicV7.nasion | -100~100 | No |
| White teeth | XmagicConstant.EffectName.BEAUTY_TOOTH_WHITEN | BEAUTY_TOOTH_WHITEN | beauty.toothWhiten | 0~100 | No |
| Mouth Shape | XmagicConstant.EffectName.BEAUTY_MOUTH_SIZE | BEAUTY_MOUTH_SIZE | basicV7.mouthSize | -100~100 | No |
| Lip height | XmagicConstant.EffectName.BEAUTY_MOUTH_HEIGHT | BEAUTY_MOUTH_HEIGHT | basicV7.mouthHeight | -100~100 | No |
| Lip Width | XmagicConstant.EffectName.BEAUTY_MOUTH_WIDTH | BEAUTY_MOUTH_WIDTH | basicV7.mouthWidth | -100~100 | No |
| Lip position | XmagicConstant.EffectName.BEAUTY_MOUTH_POSITION | BEAUTY_MOUTH_POSITION | basicV7.mouthPosition | -100~100 | No |
| Smiling lips | XmagicConstant.EffectName.BEAUTY_SMILE_FACE | BEAUTY_SMILE_FACE | basicV7.smileFace | -100~100 | No |
| Face width | XmagicConstant.EffectName.BEAUTY_FACE_THIN | BEAUTY_FACE_THIN | basicV7.thinFace | 0~100 | No |
| Slim face - Natural | XmagicConstant.EffectName.BEAUTY_FACE_NATURE | BEAUTY_FACE_NATURE | basicV7.natureFace | 0~100 | No |
| Slim face-Goddess | XmagicConstant.EffectName.BEAUTY_FACE_GODNESS | BEAUTY_FACE_GODNESS | basicV7.godnessFace | 0~100 | No |
| Slim face- Handsome | XmagicConstant.EffectName.BEAUTY_FACE_MALE_GOD | BEAUTY_FACE_MALE_GOD | basicV7.maleGodFace | 0~100 | No |
| V-shaped face | XmagicConstant.EffectName.BEAUTY_FACE_V | BEAUTY_FACE_V | basicV7.vFace | 0~100 | No |
| Slim jaw | XmagicConstant.EffectName.BEAUTY_FACE_JAW | BEAUTY_FACE_JAW | basicV7.faceJaw | 0~100 | No |
| Short Face | XmagicConstant.EffectName.BEAUTY_FACE_SHORT | BEAUTY_FACE_SHORT | basicV7.shortFace | 0~100 | No |
| Face shape | XmagicConstant.EffectName.BEAUTY_FACE_BASIC | BEAUTY_FACE_BASIC | liquefaction.basic3 | 0~100 | No |
| Chin | XmagicConstant.EffectName.BEAUTY_FACE_THIN_CHIN | BEAUTY_FACE_THIN_CHIN | basicV7.chin | -100~100 | No |
| Forehead | XmagicConstant.EffectName.BEAUTY_FACE_FOREHEAD | BEAUTY_FACE_FOREHEAD | basicV7.forehead | -100~100 | No |
| Wrinkle Removal | XmagicConstant.EffectName.BEAUTY_FACE_REMOVE_WRINKLE | BEAUTY_FACE_REMOVE_WRINKLE | beauty.removeWrinkle | 0~100 | No |
| Eliminate Nasolabial Folds | XmagicConstant.EffectName.BEAUTY_FACE_REMOVE_LAW_LINE | BEAUTY_FACE_REMOVE_LAW_LINE | beauty.removeLawLine | 0~100 | No |
| Cheekbones | XmagicConstant.EffectName.BEAUTY_FACE_THIN_CHEEKBONE | BEAUTY_FACE_THIN_CHEEKBONE | basicV7.cheekboneThin | 0~100 | No |
Single-point makeup | Lipstick | XmagicConstant.EffectName.BEAUTY_MOUTH_LIPSTICK |
BEAUTY_MOUTH_LIPSTICK
| beauty.faceFeatureLipsLut | 0~100 | The absolute path of the lipstick image on the mobile phone or the relative path to the beauty model file directory
Example:
/images/beauty/lips_fuguhong.png |
| Blush | XmagicConstant.EffectName.BEAUTY_FACE_RED_CHEEK | BEAUTY_FACE_RED_CHEEK | beauty.faceFeatureRedCheek | 0~100 | Example:
/images/beauty/saihong_jianyue.png |
| Contour | XmagicConstant.EffectName.BEAUTY_FACE_SOFTLIGHT |
BEAUTY_FACE_SOFTLIGHT
| beauty.faceFeatureSoftlight | 0~100 | Example:
/images/beauty/literary_nature.png |
| Eyeshadow | XmagicConstant.EffectName.BEAUTY_FACE_MAKEUP_EYE_SHADOW |
BEAUTY_FACE_EYE_SHADOW
| beauty.faceFeatureEyesMakeup.eyeShadow | 0~100 | Example:
/images/beauty/eyes_makeup_eye_shadow_0-albatross.png |
| Eyeliner | XmagicConstant.EffectName.BEAUTY_FACE_MAKEUP_EYE_LINER |
BEAUTY_FACE_EYE_LINER
| beauty.faceFeatureEyesMakeup.eyeLiner | 0~100 | Example:
/images/beauty/eyes_makeup_eye_liner_0.png |
| Eyelashes | XmagicConstant.EffectName.BEAUTY_FACE_MAKEUP_EYELASH |
BEAUTY_FACE_EYELASH
| beauty.faceFeatureEyesMakeup.eyelash | 0~100 | Example:
/images/beauty/eyes_makeup_eyelash_0.png |
| Eyebrows | XmagicConstant.EffectName.BEAUTY_FACE_MAKEUP_EYEBROW |
BEAUTY_FACE_EYEBROW
| beauty.faceFeatureEyesMakeup.eyebrow | 0~100 | For instance:
/images/beauty/eyes_makeup_eyebrow_0.png |
| Colored Contacts | XmagicConstant.EffectName.BEAUTY_FACE_MAKEUP_EYEBALL |
BEAUTY_FACE_EYEBALL
| beauty.faceFeatureEyesMakeup.eyeball | 0~100 | Example:
/images/beauty/eyes_makeup_eyeball_0.png |
Body beautification | One-click slimming | XmagicConstant.EffectName.BODY_AUTOTHIN_BODY_STRENGTH | BODY_AUTOTHIN_BODY_STRENGTH | body.autothinBodyStrength | 0~100 | No |
| Long legs | XmagicConstant.EffectName.BODY_LEG_STRETCH | BODY_LEG_STRETCH | body.legStretch | 0~100 | No |
| Thin legs | XmagicConstant.EffectName.BODY_SLIM_LEG_STRENGTH | BODY_SLIM_LEG_STRENGTH | body.slimLegStrength | 0~100 | No |
| Slim waist | XmagicConstant.EffectName.BODY_WAIST_STRENGTH | BODY_WAIST_STRENGTH | body.waistStrength | 0~100 | No |
| Slim shoulders | XmagicConstant.EffectName.BODY_THIN_SHOULDER_STRENGTH | BODY_THIN_SHOULDER_STRENGTH | body.thinShoulderStrength | 0~100 | No |
| Chest Adjustment | XmagicConstant.EffectName.BODY_ENLARGE_CHEST_STRENGTH | BODY_ENLARGE_CHEST_STRENGTH | body.enlargeChestStrength | -100~100 | No |
| Small head | XmagicConstant.EffectName.BODY_SLIM_HEAD_STRENGTH | BODY_SLIM_HEAD_STRENGTH | body.slimHeadStrength | 0~100 | No |
| | effectName | | | effectValue | resourcePath | extraInfo | |
| Constant Name (Android) | Constant name(iOS) | The value of the character string | Type int | Character string type, resource path | Key character string type | valuecharacter string type | |
Filter | No | XmagicConstant.EffectName.EFFECT_LUT |
EFFECT_LUT
| lut | Filter intensity, 0-100 | The absolute path of the filter image on the mobile device, for instance:
/data/user/0/com.tencent.pitumotiondemo.effects/files/xmagic/light_material/lut/aiqing_lf.png
If you wish to cancel the filter, enter null here | No | No |
Makeup | No | XmagicConstant.EffectName.EFFECT_MAKEUP |
EFFECT_MAKEUP
| makeup | Makeup intensity, ranging from 0 to 100 | Absolute path to beauty materials on the mobile phone.
To cancel beauty makeup, fill in 'null' here | [Optional]makeupLutStrength
[Optional]mergeWithCurrentMotion | makeupLutStrength : The filter strength in the makeup material, with a value ranging from "0" to "100"mergeWithCurrentMotion : Represents whether to superimpose on the current motion effect, "true" or "false". If this field is not filled, it is considered to be false |
Motion | No | XmagicConstant.EffectName.EFFECT_MOTION |
EFFECT_MOTION
| motion | No | The absolute path of the motion graphics material on the mobile device, for instance:
/data/user/0/com.tencent.pitumotiondemo.effects/files/xmagic/light_material/motion/video_keaituya
If you wish to cancel the motion effect, fill in 'null' here | [Optional] mergeWithCurrentMotion | mergeWithCurrentMotion : "true" or "false", indicating whether it is to be superimposed on the current motion effect. If this field is not filled out, it is assumed to be false |
Background Demarcation | ordinary | XmagicConstant.EffectName.EFFECT_SEGMENTATION |
EFFECT_SEGMENTATION
| segmentation | No | The absolute path of the background segmentation material on the mobile phone
If you want to cancel the segmentation, fill in null here | [Optional] mergeWithCurrentMotion | mergeWithCurrentMotion : "true" or "false", indicating whether it is to be superimposed on the current motion effect. If this field is not filled out, it is assumed to be false |
Green Screen Separation | XmagicConstant.EffectName.EFFECT_SEGMENTATION |
EFFECT_SEGMENTATION
| segmentation | No | The absolute path of the background segmentation material on the mobile phone
If you want to cancel the segmentation, fill in null here | [Required]segType
[Required]bgType
[Required]bgPath
[Optional]keyColor
[Optional]mergeWithCurrentMotion | segType :"green_background"bgType : User-Defined Background Type, "0" represents images or pag, "1" represents videosbgPath : User-Defined Background Image or Video PathkeyColor : Green Screen Color RGB, the format is like "#0x00ff00"mergeWithCurrentMotion : "true" or "false", indicates whether to overlay it on the current animation effect. If this field is not filled in, it is considered as false | |
Custom Background | XmagicConstant.EffectName.EFFECT_SEGMENTATION |
EFFECT_SEGMENTATION
| segmentation | No | The absolute path of the background segmentation material on the mobile phone
If you want to cancel the segmentation, fill in null here | [Required]segType
[Required]bgType
[Required]bgPath
[Optional]mergeWithCurrentMotion | segType :"custom_background"bgType : User-defined background type, "0" denotes image or pag, "1" indicates a videobgPath : Pathway for the user-defined background image or videomergeWithCurrentMotion :"true" or "false", specifies whether to overlay on the current motion effect. If this field is left blank, it’s assumed to be false |
Was this page helpful?