Speechall Swift SDK

The official Swift SDK for integrating Speechall’s unified speech-to-text API into your iOS, macOS, and server-side Swift applications.

See the Documentation on GitHub

For comprehensive documentation, advanced features, examples, and troubleshooting, visit the official SDK repository on GitHub.

Installation

Add the package to your Package.swift:

dependencies: [
    .package(url: "https://github.com/Speechall/speechall-swift-sdk", from: "0.0.1")
]

Quick Start

import SpeechallAPI

let client = SpeechallClient(apiKey: "YOUR_API_KEY")

let transcription = try await client.transcribe(
    fileAt: URL(filePath: "/path/to/audio.mp3"),
    withModel: .openai_period_whisper_hyphen_1
)
print(transcription)

Next Steps