我有这个curl命令,我需要在Python中运行:
curl "https://tts.voicetech.yandex.net/generate?format=wav&lang=ru-RU&speaker=zahar&emotion=good&key=<API‑key>" -G --data-urlencode "text=This text is ready" > speech.wav
答案 0 :(得分:0)
尝试使用此命令= curl -X POST -d @/diskless/desktop/file.txt http://username:password@example.com/uploadlink/