| 36 | } |
| 37 | |
| 38 | runtime::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"}, |
no test coverage detected