OmniVoice
k2-fsa's OmniVoice, exported for loom.cpp: a masked-diffusion TTS for 600+ languages, a bidirectional Qwen3-0.6B that fills in HiggsAudio-v2 codec tokens in 32 steps, with the codec's decoder and encoder in the same file. Voice design from a description, voice cloning from a clip and its transcript, or the model's own voice.
This is a loom.cpp export: a single self-describing GGUF that carries its own graph topologies, tokenizer (if any) and driver script, produced by loom-exporter.
Original model
Exported from k2-fsa/OmniVoice. Weights are unmodified; this repo packages the same parameters into
loom.cpp's GGUF format.
License
cc-by-nc-4.0, inherited from the base model above.
Language(s)
multilingual
Usage
Run it with loom-py -- loom-py-rt on PyPI:
pip install -U "loom-py-rt[hub]>=1.0.0"
import loom
model = loom.Model.from_pretrained("loom-ai-org/omnivoice-loom")
# This model encodes text itself -- no phonemiser needed at all.
print(model.tokenizer) # kind, vocabulary size, default language
# sample_rate=24000: a rate is not something a checkpoint necessarily carries, so it is a value
# you have to know from the model's documentation and pass. It is used only if the GGUF declares none;
# a wrong rate does not fail, it plays the voice at the wrong speed.
audio = model.text2speech.infer("hello world", sample_rate=24000)
audio.save("out.wav")
# That uses the voice the file itself defaults to. Whether it carries others is under "Known
# limitations" (and, where it does, a section below says how to pick one).
Streaming
# Live: the audio a piece at a time, cut by the model's own driver -- joined, the pieces are `infer`'s
# waveform (`stream.exact`). Play each piece as it comes.
stream = model.text2speech.stream("Hello there. How are you today?", sample_rate=24000)
sizes = [len(piece) for piece in stream]
print(stream.exact, len(sizes), "pieces,", round(stream.seconds, 2), "s")
The layer underneath
The call above is the high-level door: one per task, named for the modality pair it maps between, with
the windowing, sampling and assembly this model needs already applied. Under it, model.infer(...)
passes your arguments straight to the driver this GGUF embeds -- which is where you go for a knob the
door does not name.
model.driver_source prints that driver, including a header comment documenting every argument it
accepts for this model, and is the authority on it. See loom-py for the API and
loom.cpp for what the engine does between the two.
Known limitations
Non-commercial weights. The checkpoint is CC-BY-NC 4.0 because of its training data (e.g. Emilia); the upstream code is Apache-2.0. Do not use this file commercially, and never to impersonate a real person without their consent.
A female English voice unless you say otherwise. A call that names no voice -- no instruct, no reference -- is described as "female" (the file's tts.default_instruct), and one that names no language speaks English (tts.default_language); pass instruct=, reference= or language= (a code from model.contract["languages"]) for anything else. Upstream's own default is no description at all, and that voice is not speech on a short prompt: "hello world" came out as music or static on 13 of 13 seeds, where "female" said it on 14 of 14.
Slow on a CPU. Every one of the 32 steps runs the whole 28-layer stack over the prompt and the target twice (classifier-free guidance), so a sentence takes tens of seconds on a laptop CPU; use a GPU for interactive work. Fewer steps (n_steps) trade quality for speed.
Streams a text chunk at a time. Nothing exists before a run's last step, so the stream yields one piece per text chunk (upstream cuts texts longer than ~30 s into ~15 s chunks; chunk_threshold and chunk_duration cut earlier). Each streamed piece is levelled and silence-trimmed on its own, where the one pass does both over the whole.
Not ported: upstream's opt-in text normalization (numbers, dates), automatic transcription of a reference clip (pass reference_text), and sampling the ids (class_temperature, off by default upstream). The reference clip must be mono 24 kHz.
Files
omnivoice.gguf-- the model, exported with loom-exporter.