MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / config_candidates_for_paths

Function config_candidates_for_paths

src/models/stable_audio/loader.cpp:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38runtime::ModelCliInterface cli(const StableAudioAssets &) {
39 runtime::ModelCliInterface out;
40 out.request_options = {
41 {"duration_sec", "float", "Positive duration in seconds; batch requests also accept a comma-separated string matching the prompt count, not a JSON array. Default: 120.", false, "120"},
42 {"num_inference_steps", "int", "Diffusion steps. Default: 8.", false, "8", "1"},
43 {"guidance_scale", "float", "Classifier-free guidance scale. Default: 1.", false, "1"},
44 {"sampler_mode", "pingpong|euler", "Stable Audio 3 diffusion sampler."},
45 {"apg_scale", "float", "Adaptive projected guidance scale. Default: 1.", false, "1"},
46 {"negative_prompt", "string", "Negative prompt; pipe separates batch prompts."},
47 {"batch_size", "int", "Prompt batch size. Default: 1.", false, "1", "1"},

Callers 3

discover_config_assetsFunction · 0.85
inspectMethod · 0.85
load_stable_audio_modelFunction · 0.85

Calls 1

relative_candidateFunction · 0.85

Tested by

no test coverage detected