PlayKit.ai

SDK Feature Comparison

Compare features and development status across PlayKit SDKs

SDK Feature Comparison

PlayKit provides SDKs for multiple game engines. This page lists the development status and feature support for each SDK to help you choose the best one for your project.

SDK Development Status Overview

SDK VersionDevelopment StatusRecommendation
Unity SDK🟒 Beta (v0.1.7.3-beta)�?Recommended for production
Javascript SDK🟑 Alpha (v1.0.0-beta.1)⚠️ Testing only
Godot SDKπŸ”΄ In DevelopmentοΏ½?Not yet released
Unreal SDKπŸ”΄ In DevelopmentοΏ½?Not yet released

Version Status:

  • Beta: Features mostly complete, minor API changes possible, suitable for production use
  • Alpha: Core features available but incomplete, may have bugs, testing and experimentation only
  • In Development: Not yet released, features under active development

Detailed Feature Comparison

Basic Features

All SDKs support the following basic features:

  • οΏ½?SDK initialization and configuration
  • οΏ½?Developer token authentication
  • οΏ½?Error handling and logging
  • οΏ½?Async API support

Text Generation

Text-to-Text

FeatureUnityJavascriptGodotUnreal
Basic chatοΏ½?οΏ½?πŸ”„πŸ”„
Multi-turn conversationοΏ½?οΏ½?πŸ”„πŸ”„
Streaming responsesοΏ½?οΏ½?πŸ”„πŸ”„
Temperature controlοΏ½?οΏ½?πŸ”„πŸ”„
Model selectionοΏ½?οΏ½?πŸ”„πŸ”„
System promptsοΏ½?οΏ½?πŸ”„πŸ”„
Token usage statsοΏ½?οΏ½?πŸ”„πŸ”„

Both Unity SDK and JavaScript SDK provide complete text generation support, including basic chat, streaming, and advanced configuration options.

Multimodal Input

FeatureUnityJavascriptGodotUnreal
Text inputοΏ½?οΏ½?πŸ”„πŸ”„
Image input (Vision)πŸ“…πŸ“…πŸ“…πŸ“…
Audio input (Speech-to-Text)οΏ½?πŸ“…πŸ“…πŸ“…
Video inputπŸ“…πŸ“…πŸ“…πŸ“…

Multimodal Output

FeatureUnityJavascriptGodotUnreal
Text outputοΏ½?οΏ½?πŸ”„πŸ”„
Image output (see Image Generation)οΏ½?οΏ½?πŸ”„πŸ”„
Audio output (TTS)πŸ“…πŸ“…πŸ“…πŸ“…
Video outputπŸ“…πŸ“…πŸ“…πŸ“…

Structured Output

FeatureUnityJavascriptGodotUnreal
JSON Schema definitionοΏ½?βš οΈπŸ“…πŸ“…
Type-safe outputοΏ½?οΏ½?πŸ“…πŸ“…
Auto JSON parsingοΏ½?οΏ½?πŸ“…πŸ“…
Generic type supportοΏ½?οΏ½?πŸ“…πŸ“…

Unity SDK provides complete JSON Schema support with ScriptableObject-based schema management. JavaScript SDK supports structured output with server-side schema validation.

Image Generation

FeatureUnityJavascriptGodotUnreal
Text-to-imageοΏ½?οΏ½?πŸ”„πŸ”„
Batch generation (1-10 images)οΏ½?οΏ½?πŸ”„πŸ”„
Multiple sizesοΏ½?οΏ½?πŸ”„πŸ”„
Seed controlοΏ½?οΏ½?πŸ”„πŸ”„
Base64 outputοΏ½?οΏ½?πŸ”„πŸ”„
Direct game asset conversionοΏ½?οΏ½?πŸ”„πŸ”„
Image editingπŸ“…πŸ“…πŸ“…πŸ“…
Image variationsπŸ“…πŸ“…πŸ“…πŸ“…

Unity SDK Features:

  • Direct conversion to Texture2D and Sprite
  • Supported sizes: 256x256, 512x512, 1024x1024, 1792x1024, 1024x1792
  • Quality and style options

JavaScript SDK Features:

  • toDataURL() and toHTMLImage() methods
  • All standard image sizes supported
  • Complete generation metadata (including revised prompts)

Runtime 3D Generation

FeatureUnityJavascriptGodotUnreal
Text-to-3D modelsπŸ“…πŸ“…πŸ“…πŸ“…
Model optimizationπŸ“…πŸ“…πŸ“…πŸ“…
Material generationπŸ“…πŸ“…πŸ“…πŸ“…
Animation generationπŸ“…πŸ“…πŸ“…πŸ“…

3D generation features are on the roadmap and expected to launch first in Unity SDK. See the Roadmap for updates.

Speech Features

FeatureUnityJavascriptGodotUnreal
Speech-to-text (Whisper)οΏ½?πŸ“…πŸ“…πŸ“…
Built-in microphone recordingοΏ½?πŸ“…πŸ“…πŸ“…
Voice Activity Detection (VAD)οΏ½?πŸ“…πŸ“…πŸ“…
Silence detectionοΏ½?πŸ“…πŸ“…πŸ“…
Multi-language supportοΏ½?πŸ“…πŸ“…πŸ“…
Timestamps and segmentsοΏ½?πŸ“…πŸ“…πŸ“…
Text-to-speech (TTS)πŸ“…πŸ“…πŸ“…πŸ“…

Unity SDK provides a complete speech recognition solution:

  • Supports AudioClip and raw audio transcription
  • Built-in microphone recorder (PlayKit_MicrophoneRecorder)
  • Real-time voice activity detection and volume monitoring
  • Voice integration with NPC system (NPCClient_VoiceModule)

Unity SDK's speech recognition is fully functional, supporting the complete workflow from recording to transcription to NPC conversation.

Authentication & Player Management

FeatureUnityJavascriptGodotUnreal
JWT token exchangeοΏ½?οΏ½?πŸ”„πŸ”„
Developer tokenοΏ½?οΏ½?πŸ”„πŸ”„
Token persistenceοΏ½?οΏ½?πŸ”„πŸ”„
Encrypted token storage⚠️�?πŸ”„πŸ”„
Player info queryοΏ½?οΏ½?πŸ”„πŸ”„
Credit balance queryοΏ½?οΏ½?πŸ”„πŸ”„
Cross-game token sharingοΏ½?οΏ½?πŸ”„πŸ”„

Unity SDK Features:

  • PlayerPrefs persistent storage
  • Cross-game token sharing (multiple games from same developer)
  • Automatic token expiration checking

JavaScript SDK Features:

  • AES-128-GCM encrypted storage (using Web Crypto API)
  • localStorage persistence
  • Automatic expiration validation
  • Event-driven authentication state management

Cross-game token sharing is a unique Unity SDK feature, allowing different games from the same developer on the same device to share player tokens.

NPC Conversation System

FeatureUnityJavascriptGodotUnreal
NPC conversationοΏ½?οΏ½?πŸ”„πŸ”„
System prompts (personality)οΏ½?οΏ½?πŸ”„πŸ”„
Automatic history managementοΏ½?οΏ½?πŸ”„πŸ”„
History length limitsοΏ½?οΏ½?πŸ”„πŸ”„
Streaming conversationοΏ½?οΏ½?πŸ”„πŸ”„
Structured conversation outputοΏ½?οΏ½?πŸ”„πŸ”„
Save/load historyοΏ½?οΏ½?πŸ”„πŸ”„
Revert to history pointοΏ½?οΏ½?πŸ”„πŸ”„
Voice integrationοΏ½?πŸ“…πŸ“…πŸ“…

Unity NPC System Features (PlayKit_NPCClient):

  • Automatic conversation history management with intelligent trimming
  • Voice input conversation support (NPCClient_VoiceModule)
  • Structured conversation based on JSON Schema
  • Complete save/load/undo functionality

JavaScript NPC System Features (NPCClient):

  • Automatic history management with configurable max length
  • Event-driven architecture (response, history change events)
  • History serialization/deserialization (JSON)
  • Streaming and non-streaming conversation support

Both Unity and JavaScript SDKs provide fully-featured NPC systems that greatly simplify game character conversation implementation.

Steamworks Integration

FeatureUnityJavascriptGodotUnreal
Steam loginπŸ“…οΏ½?πŸ“…πŸ“…
Steam user bindingπŸ“…οΏ½?πŸ“…πŸ“…
Steam payment integrationπŸ“…οΏ½?πŸ“…πŸ“…

Steamworks integration is currently in the planning phase and not yet implemented in any SDK.

Legend

IconMeaning
οΏ½?Fully Supported - Feature implemented and stable
⚠️Supported, Testing - Feature available but may be unstable
πŸ”„In Development - Feature under active development
πŸ“…Planned - Feature on the roadmap
οΏ½?Not Supported - No plans to support this feature

SDK Selection Guide

Choose Unity SDK if you:

οΏ½?Recommended for Production

  • Are developing Unity games (2020.3+)
  • Need complete AI feature support (text, image, speech, NPC)
  • Need structured output and type-safe APIs
  • Need speech recognition and NPC voice interaction
  • Want the most mature and stable PlayKit SDK

Unity SDK is the most feature-complete SDK, has reached Beta quality, and is suitable for production use.

Choose JavaScript SDK if you:

⚠️ Suitable for Testing and Prototyping

  • Are developing web or H5 games
  • Need AI in browser environments
  • Need text generation, image generation, and NPC conversation
  • Can accept Alpha quality (core features available but may be unstable)
  • Are willing to help test and provide feedback

JavaScript SDK core features are implemented, but it's still in Alpha. Recommended to use in test environments first.

Godot and Unreal SDKs:

πŸ”„ In Development, Not Yet Released

  • Godot and Unreal SDKs are under development
  • If you need PlayKit in these engines, follow the Roadmap for updates
  • Consider prototyping with Unity SDK first

Recommendations:

  • Production: Strongly recommend Unity SDK (Beta, feature-complete and stable)
  • Web Games: Try JavaScript SDK (Alpha, core features available)
  • Other Engines: Wait for Godot/Unreal SDK release, or prototype with Unity first

Version Update Plans

We continuously improve all SDKs. Check the Roadmap for future features and release timelines.

Feedback and Suggestions

If you encounter issues or have feature requests while using the SDKs, please contact us through:

  • Submit a GitHub Issue
  • Join our developer community
  • Email technical support

Your feedback is invaluable in helping us improve the SDKs!