Indic-Mio
Trang Soniqo này ghi lại Indic-Mio theo triển khai hiện có trong speech-swift / speech-core. Liên kết Hugging Face nằm bên dưới phần ghi chú tích hợp.
Ưu tiên trang nội bộ
Thẻ trên trang chính và menu tài liệu trỏ vào đây trước; liên kết model nguồn và bundle vẫn có trong trang này.
Tổng quan
| Model | Indic-Mio |
|---|---|
| Vai trò | Hindi / Indic emotion TTS with optional reference voice conditioning |
| Backend | MLX fp16 |
| Đầu ra | 24 kHz mono waveform |
| Ngôn ngữ | Hindi / Indic text focus |
| Giấy phép | Bundle-specific; verify upstream terms before commercial use |
| Trạng thái | Programmatic SpeechGenerationModel runtime |
| Nguồn | Indic-Mio bundle |
| Sản phẩm Swift | IndicMioTTS |
| CLI / runtime | Programmatic runtime; server-side loader support is present |
Cách dùng
Đoạn dưới đây khớp với API hoặc lệnh hiện tại do speech-swift cung cấp.
import IndicMioTTS
let model = try await IndicMioTTSModel.fromPretrained()
let pcm = try await model.generate(
text: "नमस्ते <happy>",
language: "hi"
)
Liên kết model
Ghi chú triển khai
- 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.