This page matches SDK 2.0.0. Preset meanings: Parameter enums. Auth: Auth & License.
+[FBImageFrame createWithUIImage:]. Minimum OS: iOS 12.0, architecture arm64.
Logging
FBLogLevel
FBLogConfig
+[FBBeautyEffectEngine setLogConfig:] before createEngineWithConfig:. Returns FBErrorCode (0 success, -1 if config is nil).
Engine configuration
FBEngineConfig
Auth priority: if
licenseToken is non-empty, validate that token locally and skip /facebetter/v2/auth. Otherwise use appId + appKey for online auth. Bind the app Bundle ID in the Dashboard.
FBFrameType
Set on FBImageFrame.type before processImage:. Not a method argument.
FBBeautyEffectEngine
createEngineWithConfig: returns nil on failure. Integer methods return FBErrorCode (0 = success).
Skin
Reshape
setReshape:intensity: — intensity [-1.0, 1.0], 0 off. FBReshape values 0–25: FBReshape_FaceThin … FBReshape_BrowThickness. Directions: Parameter enums.
Body reshape
setBodyReshape:intensity: — intensity [0.0, 1.0], 0 off. Requires resource_body.fbd via addResourcePack: first. FBBodyReshape values 0–8. See Parameter enums and Optional resource packs.
FBSmoothingStyle: Natural, Texture, Smooth. FBWhiteningStyle: ColdWhite, PinkWhite, WarmWhite, Wheat, Tan.
Makeup
Intensity methods take[0, 1]. Shape / color types: Parameter enums.
Virtual background and chroma key
Filters and stickers
No register-by-id. Path or bytes; GPU resources are created on the nextprocessImage: (GL thread / external context).
Empty path / nil or empty
NSData → FBErrorCode_InvalidArgument.
Process
imageFrame.type (FBFrameTypeImage or FBFrameTypeVideo). Output format matches input. Returns nil on failure.
Error codes
-1 is invalid argument. -2 is not initialized.
Stats and callbacks
FBEngineStats
FBEngineEventCode
FBEngineCallbacks
Face result types
FBImageFrame
Create
Operations
Properties and accessors
width, height, stride, size, type. Methods: data, format, texture (0 if not a texture). YUV: dataY / dataU / dataV / dataUV, strideY / strideU / strideV / strideUV (NULL / 0 if not YUV).
Makeup / style enums
Objective-C symbols live inFBBeautyParams.h. Do not duplicate meaning tables here — see Parameter enums.
FBSmoothingStyle,FBWhiteningStyleFBLipstickColorFBBlushStyle,FBBlushColorFBContourStyleFBEyeShadowStyle,FBEyeShadowColorFBEyeLinerStyle,FBEyeLinerColorFBEyebrowStyle,FBEyebrowColorFBEyelashStyle,FBEyelashColorFBPupilColor

