Indic-Mio
Diese Soniqo-Seite dokumentiert Indic-Mio aus der lokalen speech-swift- / speech-core-Implementierung. Hugging-Face-Bundles sind nach den Integrationshinweisen verlinkt.
Zuerst interne Seite
Landing-Karten und Docs-Menüs führen zuerst hierher; Quellen- und Bundle-Links bleiben auf dieser Seite verfügbar.
Überblick
| Modell | Indic-Mio |
|---|---|
| Rolle | Hindi / Indic emotion TTS with optional reference voice conditioning |
| Backend | MLX fp16 |
| Ausgabe | 24 kHz mono waveform |
| Sprachen | Hindi / Indic text focus |
| Lizenz | Bundle-specific; verify upstream terms before commercial use |
| Status | Programmatic SpeechGenerationModel runtime |
| Quelle | Indic-Mio bundle |
| Swift-Produkt | IndicMioTTS |
| CLI / Laufzeit | Programmatic runtime; server-side loader support is present |
Verwendung
Das folgende Snippet entspricht der aktuellen API oder dem aktuellen Befehl aus speech-swift.
import IndicMioTTS
let model = try await IndicMioTTSModel.fromPretrained()
let pcm = try await model.generate(
text: "नमस्ते <happy>",
language: "hi"
)
Modelllinks
Implementierungsnotizen
- Download requests the primary model, tokenizer/chat files, and miocodec component explicitly; the optional WavLM reference encoder is fetched separately when cloning is used.
- Supported emotion markers are <happy>, <sad>, <angry>, <disgust>, <fear>, and <surprise>.
- MioCodec uses 25 Hz content tokens and decodes to 24 kHz audio.
- Reference cloning extracts a 128-float global embedding through the WavLM reference encoder path.