Skip to content

Missing full parameter mapping for OpenAI-compatible TTS API (/v1/audio/speech) #8

Description

@Scorpoon

Hi,

thanks for this project — it works very well overall.

The current HTTP server does not expose most of the configurable fields available in qt_tts_params, as it relies entirely on qt_tts_default_params() and only forwards a minimal subset (text, speaker, instructions, lang).

It would be very useful if the API layer exposed at least the following groups of parameters:

  • sampling control: seed, do_sample, temperature, top_k, top_p, repetition_penalty
  • output control: max_new_tokens
  • codec/streaming control: codec_chunk_sec, codec_left_context_sec

In addition, the backend already supports voice conditioning (ref_audio_24k / ref_spk_emb / ref_codes / ref_text), but this is currently not accessible via the HTTP API. A server-side voice reference mechanism (e.g. reference_id mapped to stored voices) would make this much more practical for integrations like Open WebUI or Home Assistant.

Overall, this would make the server significantly more deterministic and production-friendly.

Thanks again for your work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions