VOICEVOX Zundamon Public API
この API は VOICEVOX Engine を Cloudflare Workers 経由で公開するプロキシです。利用可能な話者は設定済みのずんだもん speaker ID のみに制限されています。
クレジット
音声を利用・公開する場合は、必ず VOICEVOX:ずんだもん と表記してください。VOICEVOX および各音声ライブラリの利用規約も確認してください。
制限
既定では IP ごとに 60 秒あたり 30 リクエストです。過剰なアクセスは 429 を返します。入力テキスト長はサーバー設定で制限されます。
Endpoints
GET https://voicevox-api.swiftlybot.com/v1/health GET https://voicevox-api.swiftlybot.com/v1/speakers POST https://voicevox-api.swiftlybot.com/v1/audio_query POST https://voicevox-api.swiftlybot.com/v1/synthesis
Example
curl -s https://voicevox-api.swiftlybot.com/v1/audio_query \
-H "Content-Type: application/json" \
-d '{"text":"こんにちはなのだ","speaker":3}'
curl https://voicevox-api.swiftlybot.com/v1/synthesis \
-H "Content-Type: application/json" \
-d '{"speaker":3,"audioQuery":{...}}' \
--output zundamon.wav