Skip to main content

CliOptions

Type Alias CliOptions 

Source
pub type CliOptions = GenerateRequest;

Aliased Type§

pub struct CliOptions {
Show 17 fields pub model: ModelChoice, pub prompt: String, pub model_dir: Option<PathBuf>, pub output_path: PathBuf, pub inspect_only: bool, pub backend: BackendChoice, pub cfg_scale: f32, pub length: usize, pub ode_steps: usize, pub lyrics: Option<String>, pub tags: Option<String>, pub topk: usize, pub temperature: f32, pub decode_only: bool, pub frames_json: Option<PathBuf>, pub decode_threads: Option<usize>, pub decoder_seed: u64,
}

Fields§

§model: ModelChoice§prompt: String§model_dir: Option<PathBuf>§output_path: PathBuf§inspect_only: bool§backend: BackendChoice§cfg_scale: f32§length: usize§ode_steps: usize

ODE steps for HeartMula flow matching (lower = faster, 10 = default)

§lyrics: Option<String>

Lyrics prompt (alias for prompt)

§tags: Option<String>

Tags / style prompt

§topk: usize

Top-k sampling for HeartMula token generation

§temperature: f32

Sampling temperature for HeartMula token generation

§decode_only: bool

Decode an existing frames JSON instead of generating tokens

§frames_json: Option<PathBuf>

Input frames JSON for decode-only mode

§decode_threads: Option<usize>

Number of worker threads to use for decode-only CPU decoding

§decoder_seed: u64

Seed for deterministic HeartCodec decoder latent initialization