Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for speaker_id and other synthesis parameters in HTTP requests #728

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

indreshp135
Copy link

I believe it would be useful for API clients to modify synthesis parameters, especially speaker_id, directly in their requests. This enhancement allows for generating multiple voices dynamically without restarting the server, which has been very beneficial for me. I’m submitting this PR as I believe it will help others as well.

Changes made:

  • Added query parameter support for synthesis parameters (speaker_id, length_scale, etc.) in both GET and POST requests.
  • Updated related documentation accordingly.

Allow clients to modify speaker_id, length_scale, noise_scale, etc. via GET/POST requests. Makes it easy to switch voices without server restart.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant