You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Drama speech: expose request sampling controls #1273
The native Drama engine accepts temperature, top-p, top-k and a seed, but /v1/audio/speech rejects these request fields and always submits the server's sampling constants.
Proposed contribution: accept optional request sampling controls, preserve the current behavior when fields are absent or null, validate their types/ranges before engine submission, and carry them through reference-conditioned requests, streaming and redraws. The HTTP contract should document a portable top-k range and deterministic explicit-seed retry behavior. This does not change the sampler kernels or claim parity between different backends.
Behavioral reference: Sogni-AI/drama3-mlx public generate API. The proposed Zig code will extend TensorFold's own implementation under Apache-2.0; no Fish-derived MLX source will be copied.
Target: current native main, with separate backports to the engine pins used by plotarmordev/drama-tensorfold. Tests will capture actual submitted engine requests, cover invalid numeric edge cases and preserve existing default-seed/redraw assertions. Real-model checks and any unrun backends will be reported separately from host tests.
Activity
krunkosaurus commentedon Oct 25, 2026
/atc claim 5 7
krunkosaurus commentedon Oct 25, 2026
/atc presence 1f8909968c447718d32d6074c99efd25e11faaf4d73497e1e2eaca20946ac68e
krunkosaurus commentedon Oct 25, 2026
/atc release
ashhart commentedon Oct 26, 2026
Done in #1277:
/v1/audio/speechtakes per-request temperature, top_p, top_k and seed.