Indic-Mio
Эта страница Soniqo описывает Indic-Mio из локальной реализации speech-swift / speech-core. Ссылки на Hugging Face находятся ниже после заметок по интеграции.
Сначала внутренняя страница
Карточки и меню документации сначала ведут сюда; ссылки на исходную модель и бандлы остаются на этой странице.
Кратко
| Модель | Indic-Mio |
|---|---|
| Роль | Hindi / Indic emotion TTS with optional reference voice conditioning |
| Backend | MLX fp16 |
| Вывод | 24 kHz mono waveform |
| Языки | Hindi / Indic text focus |
| Лицензия | Bundle-specific; verify upstream terms before commercial use |
| Статус | Programmatic SpeechGenerationModel runtime |
| Источник | Indic-Mio bundle |
| Swift-продукт | IndicMioTTS |
| CLI / runtime | Programmatic runtime; server-side loader support is present |
Использование
Фрагмент ниже соответствует текущему API или команде из speech-swift.
import IndicMioTTS
let model = try await IndicMioTTSModel.fromPretrained()
let pcm = try await model.generate(
text: "नमस्ते <happy>",
language: "hi"
)
Ссылки модели
Заметки реализации
- 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.