Getting Started
Up and Running in Zero Lines of Code
To begin, import the SDK with the Unity Package Manager by adding the following lines to your
Packages/manifest.json
file:{
"scopedRegistries": [
{
"name": "NatML",
"url": "https://registry.npmjs.com",
"scopes": ["ai.natml", "ai.fxn"]
}
],
"dependencies": {
"ai.natml.videokit": "0.0.14",
...
}
}
Here's an example:

Importing VideoKit.
In order to use VideoKit, you need a NatML access key. Retrieve your access key from NatML Hub:
https://hub.natml.ai/profile
Retrieve your access key on NatML Hub.
Once you have your access key, add it in
Project Settings > NatML
:
Specifying your NatML access key in Project Settings.
Using VideoKit requires an active NatML VideoKit subscription. You can try it out for free, but some functionality is limited. See the FAQ for more info.
In one GIF:
.gif?alt=media&token=931ed287-f8f2-41c8-aae7-ca2030e3e151)
Streaming the camera preview in zero lines of code.
Last modified 1mo ago