Lens Studio

On this page 7

Lens Studio is the free desktop authoring application from Snap Inc. for creating Lenses, the augmented reality effects that run in Snapchat, on Spectacles glasses and inside third-party apps that embed Camera Kit. In XR content creation for extended reality, it occupies the space between a game engine and a template-driven effect editor: creators assemble 3D scenes, tracking components, materials and scripts in one project and then publish a compact package to a mobile camera audience counted in hundreds of millions of users.

The tool runs on Windows and macOS and combines a visual scene editor with JavaScript and TypeScript scripting, node-based material and visual script graphs, and machine learning integration. Its defining constraint is that every Lens must run in real time on ordinary phones, so the workflow is shaped by strict size and performance budgets rather than by the open-ended resources of a desktop engine.

How Lens Studio builds an AR effect

Lens Studio builds an effect as a scene graph of objects and components that the Snap camera runtime evaluates every frame. A typical project starts with a camera object, adds a tracking component such as a face or world anchor, attaches meshes, images or particle systems to that anchor and finally adds scripts that react to taps, facial expressions or time.

The editor previews the result immediately on recorded or live webcam input, and creators can pair a phone or Spectacles to push the draft Lens to a real device. That device preview loop matters because face tracking quality, lighting and frame rate on a mid-range phone often differ from the desktop simulation.

The main building blocks of a project fall into a small number of categories, summarized in the following table.

Building blockRole in the LensTypical examples
Tracking componentsAnchor content to the user or the worldFace mesh, head binding, world tracking, hand tracking
AssetsProvide visible content3D meshes, textures, audio, particle systems
MaterialsDefine surface appearancePBR materials, node-based shader graphs
ScriptsAdd logic and interactionJavaScript, TypeScript, visual script graphs
ML componentsRun neural networks on deviceSegmentation masks, custom SnapML models
Core building blocks of a Lens Studio project

Tracking and machine learning features

The value of Lens Studio lies largely in the tracking capabilities exposed as ready components. Snap maintains the underlying computer vision models, so a creator does not train a face tracker; the creator binds content to tracked landmarks and lets the runtime handle detection, smoothing and occlusion.

Beyond the built-in trackers, SnapML allows creators to import their own neural networks, usually exported in the ONNX format, and run them on the device camera feed. Models must be small and efficient, because inference shares the phone budget with rendering and tracking.

Tracking modeWhat it detectsTypical Lens type
Face trackingFacial landmarks and expressionsMasks, makeup, face distortion
Body trackingSkeleton joints of the full bodyCostumes, dance effects
Hand trackingHand joints and gesturesGesture-triggered effects
World trackingPlanes and device pose in spacePlaced objects, portals
SegmentationPixels belonging to person, sky or hairBackground replacement, hair color
Marker trackingA predefined printed imagePosters, packaging activations
Main tracking modes and what they support

Lens Studio compared with other AR authoring tools

Lens Studio is tied to the Snap ecosystem, which sets it apart from general engines and from rival social effect editors. The decisive question for a creator is therefore usually not which tool is technically strongest but which audience and device the effect must reach.

The comparison below places Lens Studio next to neighboring tools that appear in the same field of XR authoring.

ToolPrimary targetScripting modelDistribution
Lens StudioSnapchat, Spectacles, Camera KitJavaScript, TypeScript, visual graphsSnap Lens platform
Effect HouseTikTok effectsVisual scripting, JavaScriptTikTok effect platform
Reality Composer ProApple visionOS appsSwift via RealityKitBuilt into native apps
Adobe AeroMobile AR presentationsBehavior triggers, no codeShared links and files
Unity or UnrealAny AR or VR platformC# or C++ and BlueprintsStandalone apps
Lens Studio and related authoring tools

Because a Lens runs inside an existing camera app, it avoids app store installation and onboarding friction. The trade-off is that the creator accepts Snap review rules, the available APIs and the runtime limits instead of controlling the whole application.

Publishing, Spectacles and Camera Kit

A finished Lens is submitted directly from Lens Studio to Snap, where it passes automated and manual review before it becomes discoverable through the Lens carousel, search, Snapcodes or shared links. Creators can then follow usage metrics such as views, plays and shares in the creator tools.

The same project format also targets Spectacles, the Snap AR glasses running Snap OS. Spectacles Lenses use the Spectacles Interaction Kit for hand input and need careful attention to thermal and battery limits, because a head-worn display cannot sustain the load a phone tolerates for short sessions.

Camera Kit extends the reach further by letting other companies embed Snap Lenses in their own mobile or web apps. A retailer can therefore commission one Lens for a virtual try-on and show it both in Snapchat and in its own shopping app.

Performance budgets and common mistakes

The most frequent cause of a rejected or poorly performing Lens is ignoring the mobile performance budget. Size limits for published Lenses are measured in megabytes, not gigabytes, and the exact ceiling depends on the target and on Snap platform policy at the time of submission.

The table below lists typical problems, their usual cause and the corrective step an experienced creator applies.

SymptomLikely causeFix
Package over size limitUncompressed textures and audioCompress textures, shorten audio clips
Low frame rateDense meshes, many lightsReduce polygon count, bake lighting
Jittery placementPoor world tracking surfaceGuide the user to textured surfaces
Slow ML inferenceOversized custom modelQuantize or shrink the network
Review rejectionPolicy or quality issuesCheck content guidelines before submission
Typical problems in Lens projects
  • Test on a mid-range Android phone, not only on a recent flagship device.
  • Keep user instructions short, because many viewers open a Lens for only a few seconds.
  • Treat privacy-sensitive features such as face data with care and avoid misleading effects.

The short version

Lens Studio is a free program for making the camera filters you see in Snapchat. You can put virtual objects on a face, a body or a room. The filter then follows the person or the space as the camera moves.

Think of it as a small workshop for camera magic on phones. You add pictures, 3D models and a bit of logic. Then you send the result to Snap, and people can use it in the app. The main rule is simple: keep it light and fast, because it has to run on everyday phones.

Where it makes a difference

A sportswear brand plans a launch for a new running shoe and wants people to try it before it reaches stores. A small creative studio uses Lens Studio to build a foot tracking try-on Lens: the 3D shoe model is reduced from about 400,000 to 25,000 polygons, textures are compressed and the logic lets users switch among three colors with a tap.

The studio tests the Lens on several older phones, fixes a frame rate drop caused by real-time shadows and submits it for review. The brand then runs the Lens in Snapchat and, through Camera Kit, inside its own shopping app. The result is one asset serving two channels, with the try-on step shortening the path from curiosity to purchase.