Files
sbv2-api/scripts/sbv2-test-api.py
Googlefan 506ee4d883 refactor
2025-02-22 08:00:17 +00:00

9 lines
213 B
Python

import requests
res = requests.post(
"http://localhost:3000/synthesize",
json={"text": "おはようございます", "ident": "tsukuyomi"},
)
with open("output.wav", "wb") as f:
f.write(res.content)