[How to] start VTO wih lens simulation already applied
This page shows how to start the Virtual Try-On (VTO) experience with a lens material already applied using the fitmixInstance.setLensMaterial method.
Use case
If you have a digitalized frame and you want to apply a different lens right from the start of the session, without any action from the user
✅ Prerequisites
A valid apiKey with Lens Simulation module
🔗 Example
👉 Try the CodePen live demo to see this behavior in action.
💡 Notes
You can also switch dynamically between several frame/lens combinations during the same session.