MCPcopy Create free account
hub / github.com/evilsocket/cake / AudioGenerationArgs

Class AudioGenerationArgs

cake-core/src/models/mod.rs:127–140  ·  view source on GitHub ↗

Arguments for audio/TTS generation.

Source from the content-addressed store, hash-verified

125
126/// Arguments for audio/TTS generation.
127pub struct AudioGenerationArgs {
128 /// Text to synthesize.
129 pub input: String,
130 /// Raw WAV bytes for voice cloning (from API base64 upload).
131 pub voice_data: Option<Vec<u8>>,
132 /// Path to voice prompt file (.safetensors or .wav).
133 pub voice_path: Option<String>,
134 /// Classifier-free guidance scale.
135 pub cfg_scale: f32,
136 /// Maximum speech frames to generate.
137 pub max_frames: usize,
138 /// Number of diffusion steps per frame.
139 pub diffusion_steps: usize,
140}
141
142/// Output from audio generation.
143pub struct AudioOutput {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected