Skip to content

renshi-a/Loquax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loquax

Gemini Live API

A lightweight Swift client for Gemini Live API.

Installation

Add the following dependency to your Package.swift:

.package(url: "https://github.com/renshi-a/Loquax", from: "0.1.1")

Or add the package via Xcode: File > Add Packages... and enter the repository URL: https://github.com/renshi-a/Loquax

Usage

Add Privacy - Microphone Usage Description to your project's info.plist.

Loquax features a minimal and intuitive interface.

let loquax = Loquax(model: .gemini25flashNativeAudioPreview122025)

Connect within your view’s lifecycle:

.task {
     try loquax.connect(apiKey: "YOUR API KEY")
}

Begin the live session:

try await self.loquax.startLiveChat()

License

This library is released under the MIT license. See LICENSE for details.

About

A lightweight Swift client for Gemini Live API.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages