Skip to content

Conversation

@fanmzdj
Copy link
Contributor

@fanmzdj fanmzdj commented Nov 28, 2025

image

@@ -0,0 +1,9 @@
# 环境变量配置示例
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此文件不需要可删除

* @getKeyUrl https://murf.ai/api/api-keys
*/
async function murfTTS(text: string, gender: string, env: Env) {
const res = await fetch(`${env.TTS_API_URL || 'https://api.murf.ai/v1/speech/stream'}`, {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fetch 换成 ofetch , 在失败的时候可以自动重试

@ccbikai
Copy link
Owner

ccbikai commented Dec 4, 2025

感谢添加 murf.ai ,有几个评论需要修改一下

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.

2 participants