Skip to content

rryam/SakuraKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SakuraKit: Swift SDK for Prototyping AI Speech Generation

SakuraKit is a Swift SDK designed to quickly prototyping speech-to-speech or text-to-speech using different APIs to build low-latency, multimodal experiences with ease.

This SDK is named after the cherry blossoms (Sakura) to enjoy in Shibuya next year. 🌸

Installation

To get started with SakuraKit, add it to your Swift project using Swift Package Manager (SPM):

dependencies: [
    .package(url: "https://github.com/rryam/SakuraKit", from: "1.0.0")
]

Then, import it into your project:

import SakuraKit

Getting Started

Prerequisites

  • OpenAI API Key: You will need a valid API key from OpenAI.

Basic Usage

Here is a quick example to get you started:

import SakuraKit

// Initialize the SakuraKit client
let sakuraKit = SakuraKit(apiKey: "your_openai_api_key")

// Connect to the Realtime API with a WebSocket

Contributing

I welcome contributions! Feel free to open issues or submit pull requests to help improve SakuraKit.

License

SakuraKit is licensed under the MIT License. See LICENSE for more details.

Releases

No releases published

Packages

No packages published

Languages