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.

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:

install


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:

adding key


Guides

Recording Videos

Learn how to record videos with or without code.

Read more

Camera Streaming

Stream the camera preview and remove the background.

Read more

Media Assets

Share media, read video frames, save to the gallery, and more.

Read more

Conversational Interfaces

Build next-generation language and voice-driven user interfaces.

Read more


Was this page helpful?