pub struct SherpaModelInfo {Show 13 fields
pub id: String,
pub model_type: String,
pub engines: String,
pub name: String,
pub language: Vec<SherpaLanguage>,
pub sample_rate: u32,
pub num_speakers: u32,
pub quality: String,
pub url: String,
pub compression: bool,
pub filesize_mb: f64,
pub license: String,
pub license_url: String,
}Expand description
Metadata for a Sherpa-ONNX model from the registry.
Fields§
§id: StringModel identifier (e.g. "kokoro-en-v0_19").
model_type: StringModel type (e.g. "kokoro", "vits").
engines: StringEngine that drives this family (always "sherpa-onnx" since the
floravox engine moved to its own project).
name: StringHuman-readable model name.
language: Vec<SherpaLanguage>Languages supported by this model.
sample_rate: u32Sample rate in Hz.
num_speakers: u32Number of speakers (for multi-speaker models).
quality: StringQuality/variant tier from the registry (e.g. "x_low", "low",
"medium", "high"; some entries carry variant markers like
"int8" or "fp16" instead). Empty when the entry omits it.
url: StringDownload URL for the model archive.
compression: boolWhether the archive is compressed.
filesize_mb: f64Approximate download size in megabytes.
license: StringSPDX licence identifier for the model (e.g. "MIT", "Apache-2.0").
Empty string when the registry entry omits it.
license_url: StringHuman-readable URL for the full licence text. Empty when omitted.