pub enum Commands {
Show 45 variants
Synthesize {
text: String,
output: Option<PathBuf>,
rate: f32,
pitch: f32,
volume: f32,
quality: CliQualityLevel,
enhance: bool,
play: bool,
auto_detect: bool,
},
SynthesizeFile {
input: PathBuf,
output_dir: Option<PathBuf>,
rate: f32,
quality: CliQualityLevel,
},
ListVoices {
language: Option<String>,
detailed: bool,
},
VoiceInfo {
voice_id: String,
},
DownloadVoice {
voice_id: String,
force: bool,
},
PreviewVoice {
voice_id: String,
text: Option<String>,
output: Option<PathBuf>,
no_play: bool,
},
CompareVoices {
voice_ids: Vec<String>,
},
Test {
text: String,
play: bool,
},
CrossLangTest {
format: String,
save_report: bool,
},
TestApi {
server_url: String,
api_key: Option<String>,
concurrent: Option<usize>,
report: Option<String>,
verbose: bool,
},
Config {
show: bool,
init: bool,
path: Option<PathBuf>,
},
ListModels {
backend: Option<String>,
detailed: bool,
},
DownloadModel {
model_id: String,
force: bool,
},
BenchmarkModels {
model_ids: Vec<String>,
iterations: u32,
accuracy: bool,
},
OptimizeModel {
model_id: String,
output: Option<String>,
strategy: String,
},
Batch {
input: PathBuf,
output_dir: Option<PathBuf>,
workers: Option<usize>,
rate: f32,
pitch: f32,
volume: f32,
quality: CliQualityLevel,
resume: bool,
},
Server {
port: u16,
host: String,
},
Interactive {
voice: Option<String>,
no_audio: bool,
debug: bool,
load_session: Option<PathBuf>,
auto_save: bool,
},
Guide {
command: Option<String>,
getting_started: bool,
examples: bool,
},
GenerateCompletion {
shell: Shell,
output: Option<PathBuf>,
install_help: bool,
install_script: bool,
status: bool,
},
Dataset {
command: DatasetCommands,
},
Dashboard {
interval: u64,
},
Cloud {
command: CloudCommands,
},
Telemetry {
command: TelemetryCommands,
},
Lsp {
verbose: bool,
},
Accuracy {
command: AccuracyCommand,
},
Performance {
command: PerformanceCommand,
},
Emotion {
command: EmotionCommand,
},
Clone {
command: CloningCommand,
},
Convert {
command: ConversionCommand,
},
Sing {
command: SingingCommand,
},
Spatial {
command: SpatialCommand,
},
Capabilities {
command: CapabilitiesCommand,
},
Checkpoint {
command: CheckpointCommands,
},
Monitor {
command: MonitoringCommand,
},
Train {
command: TrainCommands,
},
ConvertModel {
input: PathBuf,
output: PathBuf,
from: Option<String>,
model_type: String,
verify: bool,
},
VocoderInfer {
checkpoint: PathBuf,
mel: Option<PathBuf>,
output: PathBuf,
steps: usize,
quality: Option<String>,
batch_input: Option<PathBuf>,
batch_output: Option<PathBuf>,
metrics: bool,
},
Stream {
text: Option<String>,
latency: u64,
chunk_size: usize,
buffer_chunks: usize,
play: bool,
},
ModelInspect {
model: PathBuf,
detailed: bool,
export: Option<PathBuf>,
verify: bool,
},
Export {
export_type: String,
source: String,
output: PathBuf,
include_weights: bool,
},
Import {
input: PathBuf,
name: Option<String>,
force: bool,
validate: bool,
},
History {
limit: usize,
stats: bool,
suggest: bool,
clear: bool,
},
Workflow {
command: WorkflowCommands,
},
Alias {
command: AliasCommand,
},
}Expand description
CLI commands
Variants§
Synthesize
Synthesize text to speech
Fields
quality: CliQualityLevelQuality level
SynthesizeFile
Synthesize from file
Fields
quality: CliQualityLevelQuality level
ListVoices
List available voices
VoiceInfo
Get voice information
DownloadVoice
Download voice
PreviewVoice
Preview a voice with a sample text
Fields
CompareVoices
Compare multiple voices side by side
Test
Test synthesis pipeline
CrossLangTest
Run cross-language consistency tests for FFI bindings
Fields
TestApi
Test API endpoints for VoiRS server
Fields
Config
Show configuration
Fields
ListModels
List available models
DownloadModel
Download a model
BenchmarkModels
Benchmark models
Fields
OptimizeModel
Optimize model for current hardware
Fields
Batch
Batch process multiple texts
Fields
quality: CliQualityLevelQuality level
Server
Server mode (future feature)
Interactive
Interactive mode for real-time synthesis
Fields
Guide
Show detailed help and guides
Fields
GenerateCompletion
Generate shell completion scripts
Fields
Dataset
Dataset management and validation commands
Fields
command: DatasetCommandsDataset subcommand to execute
Dashboard
Real-time monitoring dashboard
Cloud
Cloud integration commands
Fields
command: CloudCommandsCloud subcommand to execute
Telemetry
Telemetry management commands
Fields
command: TelemetryCommandsTelemetry subcommand to execute
Lsp
Start Language Server Protocol (LSP) server for editor integrations
Accuracy
Accuracy benchmarking commands
Fields
command: AccuracyCommandAccuracy command configuration
Performance
Performance targets testing and monitoring
Fields
command: PerformanceCommandPerformance command configuration
Emotion
Emotion control commands
Fields
command: EmotionCommandEmotion subcommand to execute
Clone
Voice cloning commands
Fields
command: CloningCommandCloning subcommand to execute
Convert
Voice conversion commands
Fields
command: ConversionCommandConversion subcommand to execute
Sing
Singing voice synthesis commands
Fields
command: SingingCommandSinging subcommand to execute
Spatial
3D spatial audio commands
Fields
command: SpatialCommandSpatial subcommand to execute
Capabilities
Feature detection and capability reporting
Fields
command: CapabilitiesCommandCapabilities subcommand to execute
Checkpoint
Checkpoint management commands
Fields
command: CheckpointCommandsCheckpoint subcommand to execute
Monitor
Advanced monitoring and debugging commands
Fields
command: MonitoringCommandMonitoring subcommand to execute
Train
Train models (vocoder, acoustic, g2p)
Fields
command: TrainCommandsTraining subcommand to execute
ConvertModel
Convert model formats (ONNX, PyTorch → SafeTensors)
Fields
VocoderInfer
Run vocoder inference (mel → audio)
Fields
Stream
Stream real-time text-to-speech synthesis
Fields
ModelInspect
Inspect and analyze model files
Fields
Export
Export voice profile or preset
Fields
Import
Import voice profile or preset
Fields
History
View command history and get suggestions
Fields
Workflow
Workflow automation commands
Fields
command: WorkflowCommandsWorkflow subcommand to execute
Alias
Manage command aliases
Fields
command: AliasCommandAlias subcommand
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for Commands
impl Subcommand for Commands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnwindSafe for Commands
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.