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 JSON request support to server.py #3528

Closed
wants to merge 1 commit into from

Conversation

kikkia
Copy link

@kikkia kikkia commented Jan 18, 2024

Issue

Currently the server only supports generating TTS from text and settings set in either query params or headers. This means that for larger amounts of text, the query params can go over the maximum allowed length of an HTTP uri.

Solution

Allowing the /api/tts endpoint to accept text and settings from the request body as well would be useful to avoid the maximum uri issue and also just provide another option for using the API.

…n request body with your text and will allow for longer texts that otherwise exceed the maximum http url length
@CLAassistant
Copy link

CLAassistant commented Jan 18, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

stale bot commented Feb 18, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You might also look our discussion channels.

@stale stale bot added the wontfix This will not be worked on but feel free to help. label Feb 18, 2024
@kikkia
Copy link
Author

kikkia commented Feb 18, 2024

Rip, I hope somehow open source contributions can still happen to this project

@stale stale bot removed the wontfix This will not be worked on but feel free to help. label Feb 18, 2024
@davidmartinrius
Copy link

I have created a fork of TTS, incorporating all the valid pending pull requests. You can find it at https://github.com/davidmartinrius/TTS/

Copy link

stale bot commented Apr 16, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You might also look our discussion channels.

@stale stale bot added the wontfix This will not be worked on but feel free to help. label Apr 16, 2024
@stale stale bot closed this Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on but feel free to help.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants