Open epochaudio opened 4 months ago
如果具备与OpenAI API的兼容性,其他应用的接入将变得极其便捷。 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 jumped over the lazy dog.", "voice": "alloy" }' \ --output speech.mp3
参考文档:https://platform.openai.com/docs/api-reference/authentication
如果具备与OpenAI API的兼容性,其他应用的接入将变得极其便捷。 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 jumped over the lazy dog.", "voice": "alloy" }' \ --output speech.mp3
参考文档:https://platform.openai.com/docs/api-reference/authentication