VideoKit
Cross Platform, Low Code Media SDK for Unity Engine
VideoKit is a low-code media SDK for Unity Engine. With VideoKit, you can quickly empower your users to create and share viral content from your application by leveraging a full suite of media and AI features.
Extremely Easy, Extremely Quick
VideoKit is extremely easy to use, and provides components that can be used to implement camera streaming, media recording, and video filters extremely quickly. Features include: Low-code. VideoKit uses components extensively, allowing you to get going without writing any code:
- Video recording. Record MP4 videos, animated GIF images, WEBM videos, ProRes videos, waveform audio, JPEG image sequences, and more to come!
- Camera streaming. Stream the camera preview with fine-grained control over focus, exposure, zoom, and more.
- Microphone streaming. Stream microphone audio with control over the audio format and with echo cancellation.
- Social Sharing. Share images and videos with the native share sheet, and save to the camera roll.
- Conversational Interfaces. Build user interfaces with text-to-speech, speech-to-text, and more.
- Cross-platform. Build once, deploy on Android, iOS, macOS, WebGL, and Windows.
- Source Available. VideoKit is distributed with its C# source code available for inspection.
Make sure to explore the full documentation and try the interactive demos to get a complete understanding of what the SDK offers.
Install VideoKit
To begin, import the SDK with the Unity Package Manager by adding the following lines to your Packages/manifest.json
file:
{
"scopedRegistries": [
{
"name": "VideoKit",
"url": "https://registry.npmjs.com",
"scopes": ["ai.videokit"]
},
{
"name": "Function",
"url": "https://registry.npmjs.com",
"scopes": ["ai.fxn"]
}
],
"dependencies": {
"ai.videokit.videokit": "0.0.21",
...
}
}
Here's an exmaple:
Generate an API Key
Login and click on your user profile in the top-right (Manage account
) to generate an API key. Then in Unity, open up Project Settings > VideoKit
and add
your API key in the Access Key
field:
Before you can use VideoKit, you will need to generate an API key.