Skip to content

0.1.0

Latest
Compare
Choose a tag to compare
@rudrankriyam rudrankriyam released this 13 Nov 19:03

SakuraKit v0.1.0 - First Release

Welcome to SakuraKit's first release! This Swift SDK is for prototyping AI-driven audio experiences. It currently supports Play.ai’s PlayNote API.

PlayAI Module

  • Create customized PlayNote requests for various synthesis styles like Podcast, Executive Briefing, Children's Story, and Debate.
  • Choose from a selection of voices with unique attributes (gender, accent, etc.) to craft dynamic audio outputs.

Getting Started

Installation

Add SakuraKit to your Swift project using Swift Package Manager:

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

Import SakuraKit into your project:

import SakuraKit

Usage Example

import SakuraKit

let playAI = PlayAI(apiKey: "your_playht_api_key", userId: "your_user_id")

// Example of creating a PlayNote request:
let request = PlayNoteRequest(
    sourceFileUrl: sourceURL,
    synthesisStyle: .podcast,
    voice1: .angelo,
    voice2: .nia
)

let response = try await playAI.createPlayNote(request)

Requirements

  • Swift: 6.0 or higher
  • iOS: 16.0+, macOS: 14.0+, tvOS: 16.0+, watchOS: 9.0+, visionOS: 1.0+

Contributing

We welcome contributions to SakuraKit! Feel free to open issues, submit pull requests, or suggest new features.

License

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

Happy prototyping with SakuraKit! 🌸