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

关于openai api格式接口问题 #9

Closed
zhy844694805 opened this issue Jun 5, 2024 · 2 comments
Closed

关于openai api格式接口问题 #9

zhy844694805 opened this issue Jun 5, 2024 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@zhy844694805
Copy link

您项目里的文档里写的是OpenAI 风格 API: /v1/openai/audio/speech 提供类似 OpenAI 的语音生成接口。
但是官方文档里的格式为 https://api.openai.com/v1/audio/speech \

报错信息:
INFO: 192.168.1.188:61456 - "POST /v1/audio/speech HTTP/1.1" 404 Not Found
INFO: 192.168.1.188:61450 - "POST /v1/openai/audio/speech HTTP/1.1" 200 OK
接口填写的模型和音色:
"model": "chattts-4w",
"voice": "female2",

@zhzLuke96 zhzLuke96 self-assigned this Jun 6, 2024
@zhzLuke96 zhzLuke96 added the documentation Improvements or additions to documentation label Jun 6, 2024
@zhzLuke96
Copy link
Member

fixed 3bf349e

顺带一提,readme 中增加了使用curl测试接口的示例,可用关注下

@zhy844694805
Copy link
Author

感谢您的付出

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants