VideoKit
Search…
⌃K

Getting Started

Up and Running in Zero Lines of Code

Importing VideoKit

To begin, import the SDK with the Unity Package Manager by adding the following items to your Packages/manifest.json file:
{
"scopedRegistries": [
{
"name": "NatML",
"url": "https://registry.npmjs.com",
"scopes": ["ai.natml"]
}
],
"dependencies": {
"ai.natml.videokit": "0.0.2",
...
}
}
Here's an example:
Importing VideoKit.

Specifying your Access Key

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.

Streaming the Camera Preview

In one GIF:
Streaming the camera preview in zero lines of code.