Expand description
Cloud integration and distributed processing for VoiRS.
This module provides cloud-based functionality for VoiRS CLI, enabling distributed synthesis, model synchronization, and collaborative workflows. It supports various cloud storage providers and distributed processing architectures for scalable text-to-speech synthesis.
§Features
- Cloud Storage: Synchronize models, configurations, and audio files
- Distributed Processing: Scale synthesis across multiple cloud instances
- API Integration: Connect to external TTS and translation services
- Load Balancing: Distribute synthesis requests efficiently
- Collaborative Workflows: Share voices and configurations across teams
§Modules
api: External API integrations and service connectionsdistributed: Distributed processing and load balancingstorage: Cloud storage synchronization and backup
§Example
use voirs_cli::cloud::storage::{CloudStorageManager, CloudStorageConfig, SyncDirection};
use std::path::PathBuf;
let config = CloudStorageConfig::default();
let cache_dir = PathBuf::from("/tmp/voirs_cache");
let mut storage = CloudStorageManager::new(config, cache_dir)?;
storage.add_to_sync(
PathBuf::from("model.bin"),
"models/model.bin".to_string(),
SyncDirection::Upload
).await?;
let _result = storage.sync().await?;Re-exports§
pub use api::*;pub use distributed::*;pub use storage::*;