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

dd support for OpenAI / LocalAI TTS endpoint #516

Open
zhy844694805 opened this issue May 26, 2024 · 0 comments
Open

dd support for OpenAI / LocalAI TTS endpoint #516

zhy844694805 opened this issue May 26, 2024 · 0 comments

Comments

@zhy844694805
Copy link

If it is compatible with the OpenAI API, integrating other applications will become incredibly convenient.
Example of using the OpenAI API:

curl https://api.openai.com/v1/audio/speech
-H "Authorization: Bearer $OPENAI_API_KEY"
-H "Content-Type: application/json"
-d '{
"model": "tts-1",
"input": "The quick brown fox jumps over the lazy dog.",
"voice": "alloy"
}'
--output speech.mp3

Reference documentation: OpenAI API Reference - Authentication

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

No branches or pull requests

1 participant