认证和额度
- 匿名用户按 IP/浏览器指纹计数。
- W-ID 登录用户按
user_id识别,登录后不限制次数。 - 服务端和插件可以带
Authorization: Bearer或X-API-Key。
AI-Powered Translation, ASR, TTS & Chat ← 返回翻译 浏览器插件 OpenAPI JSON
user_id 识别,登录后不限制次数。Authorization: Bearer 或 X-API-Key。quality=fast: Kokoro / MeloTTS,优先低延迟。quality=high: IndexTTS 高质量路线,适合参考音色。format=mp3: 默认输出压缩 MP3;需要旧版无压缩音频时传 format=wav。/tts/reference 支持上传说话人参考音频和情绪参考音频。/web/translate。/extension.html 下载。curl -X POST https://translate.myfastools.com/translate \
-H 'Content-Type: application/json' \
-d '{"content":"Hello","target_language":"中文","style":"casual"}'
curl -X POST https://translate.myfastools.com/tts \
-H 'Content-Type: application/json' \
-d '{"text":"你好","language":"中文","quality":"fast"}' \
--output fast.mp3
curl -X POST https://translate.myfastools.com/tts/reference \ -F text='你好,这是参考音色。' \ -F language='中文' \ -F speaker_audio=@voice.wav \ -F emotion_audio=@emotion.wav \ --output index.mp3