OmniVoice

Cette page Soniqo documente OmniVoice tel qu'il est implémenté dans speech-swift / speech-core. Les liens Hugging Face sont placés après les notes d'intégration.

Page interne d'abord

Les cartes et menus pointent d'abord ici; les liens vers le modèle source et les bundles restent disponibles sur cette page.

Aperçu

ModèleOmniVoice
RôleMassively multilingual zero-shot voice-cloning TTS
BackendMLX int8 default bundle; fp16 bundle available
Sortie24 kHz mono waveform
Langues600+ languages
LicenceApache-2.0 upstream family
ÉtatProgrammatic speech-swift runtime used by Studio sidecar
Sourcek2-fsa OmniVoice
Produit SwiftOmniVoiceTTS
CLI / runtimeProgrammatic runtime; not a primary speech speak engine yet

Utilisation

L'extrait ci-dessous suit l'API ou la commande actuellement exposée par speech-swift.

import OmniVoiceTTS

let model = try await OmniVoiceTTSModel.fromPretrained()
let pcm = try model.generate(
    text: "A new sentence in the reference speaker's voice.",
    referenceAudio: URL(fileURLWithPath: "reference.wav"),
    referenceText: "This is the reference voice.",
    language: "en"
)

Liens du modèle

Notes d'implémentation