Alles Vollständig und erster Korrekturdurchlauf. Experimente mit Text-to-Speech.
This commit is contained in:
26
speak.sh
Executable file
26
speak.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
KEY="cpk_fb48056a2f384b7e8d553c050ff347ad.5a86acf7400b53d090db223353db7dd1.0d6YfPPGZaBFXJoo2B1I7x397OTzau2E"
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
FILE="$1"
|
||||
if test ! -f "$FILE"; then
|
||||
echo "Missing or wrong file: $FILE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
curl -X POST "https://vonkaiser-audiodojo.chutes.ai/tts/qwen3clone" \
|
||||
-H "Authorization: Bearer $KEY" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"text": "Dies ist ein Test. Zum testen und so Sachen.",
|
||||
"language": "German",
|
||||
"ref_text": "Das Café Laube roch nach einer Mischung aus frisch gerösteten Bohnen, süßlichen Lilien und dem metallischen Unterton von Regen",
|
||||
"trim_sample": true,
|
||||
"auto_denoise": false,
|
||||
"high_fidelity": false,
|
||||
"ref_audio_b64": "$(base64 -w 0 elena-referenz.wav)"
|
||||
}' \
|
||||
--output output.wav
|
||||
Reference in New Issue
Block a user