Comments (7)
可以看看部署后加TOKEN的执行日志,是不是没有收到TOKEN。
from ms-ra-forwarder.
可以看看部署后加TOKEN的执行日志,是不是没有收到TOKEN。
vercel.com下部署的,因为国内环境问题无法访问,在自己的域名xx.xx.xxx下设置了CNAME记录指向cname.vercel-dns.com
项目的Domains域指向域名xx.xx.xxx
刚试了。好像项目不加TOKEN也显示:获取朗读音频数据为空。。。
这需要如何设置?
项目日志只有,没有其他输出:
[POST] /api/ra
from ms-ra-forwarder.
from ms-ra-forwarder.
![]()
看看有没有报错的日志?
没有,只显示
[POST] /api/ra
from ms-ra-forwarder.
理论上正确的设置了请求头和body,服务端不会区分请求是由什么程序发起的。关于源阅读的格式可能需要咨询下源阅读的开发者。或者如果会抓包的话不妨抓包看看源阅读发起的请求是否符合预期。
我手头没有ios的设备,实在是没法测试。
from ms-ra-forwarder.
理论上正确的设置了请求头和body,服务端不会区分请求是由什么程序发起的。关于源阅读的格式可能需要咨询下源阅读的开发者。或者如果会抓包的话不妨抓包看看源阅读发起的请求是否符合预期。
我手头没有ios的设备,实在是没法测试。
我电脑可以真机远程控制我的ipad,方便的话加我qq?帮看下有办法不,爱阅书香支持get和post,但是我尝试了设置post方式蛮多次的,均无法成功,如果方便的话帮看看,真的很感谢,有抓包软件
853254613
from ms-ra-forwarder.
我就是源阅读,正常使用。你可以参考我的配置:
另外你的一处可能错误:“Bearer XXXXXX>”,
http://www.xxxxxxx.com:3000/api/ra,{"method":"POST","headers": {"Content-Type":"text/plain","Authorization":"Bearer TOKEN","Format":"audio-24khz-48kbitrate-mono-mp3"}
,"body":"<speak xmlns="http://www.w3.org/2001/10/synthesis\" xmlns:mstts="http://www.w3.org/2001/mstts\" xmlns:emo="http://www.w3.org/2009/10/emotionml\" version="1.0" xml:lang="en-US"><voice name="zh-CN-shaanxi-XiaoniNeural"><prosody rate="{{(speakSpeed - 10) * 2}}%" pitch="+0Hz">{{String(speakText).replace(/&/g, '&').replace(/"/g, '"').replace(/'/g, ''').replace(/</g, '<').replace(/>/g, '>')}}"}
from ms-ra-forwarder.
Related Issues (20)
- azure erros
- 求replit部署教程 HOT 7
- 可以在ios上使用吗 HOT 4
- TTS好像挂掉了 HOT 24
- 安卓阅读下返回错误 HOT 4
- 请问这个项目是不是只能运行在浏览器里面? HOT 1
- 能否出一个cloudflare Pages的教程
- 大佬们,你们的还能用吗? HOT 1
- 新的接口
- Android 阅读 APP导入注意事项 HOT 2
- 请问能否增加GET方式? HOT 1
- 端口报错。 HOT 1
- 语音可以可以下载到本地吗 HOT 3
- 如果想用离线的文本转语音可以试试LocalAI HOT 1
- BUG: 请求文本中不能包含SSML的预定义字符
- 音频格式报错
- 问下作者,这个api要怎么用啊 谢谢 HOT 2
- token 好像无效
- 推荐部署服务到本地的termux HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ms-ra-forwarder.