-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrun-note-tts-api.txt
38 lines (20 loc) · 1.36 KB
/
run-note-tts-api.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
docker builder prune
docker-compose build --no-cache
docker compose run tts-api nvcc --version
curl http://localhost:8080/health
curl -X POST http://localhost:8080/generate_audio -H "Content-Type: application/json" -d '{"text": "Hello, this is a test.", "lang": "en", "voice_name": "default_en_male", "user_id": "testuser123", "user_type": "user", "preset": "ultra_fast"}' | jq '.'
curl -OJ "http://localhost:8080/download/user/testuser123/1724482746_default_en_male_f8119e83.wav"
curl -X DELETE "http://localhost:8080/delete_audio/user/testuser123/1724482746_default_en_male_f8119e83.wav"
curl -X DELETE "http://localhost:8080/delete_audio/user/1/1724485391_default_en_male_4f29fe8b.wav"
face-swap.12pmtech.link/api/v1/static/output/user/1/1724494426_default_en_male_3ed1dcf6.wav
curl -X DELETE "http://localhost:8080/delete_all_audio"
curl -X DELETE "http://localhost:8080/delete_all_user_audio/user/1"
curl -X POST "https://face-swap.12pmtech.link/api/v1/voices/create_defaults/" | jq '.'
curl -X POST http://localhost:8080/add_voice \
-F "file=@tts_api/static/Thùy Minh.m4a" \
-F "user_id=12345" \
-F "voice_name=thuy_minh"
curl -X GET http://localhost:8080/list_voices/999
curl -X DELETE http://localhost:8080/delete_voice/999/thuy_minh
curl -X DELETE http://localhost:8080/delete_all_user_voices/999
curl -X DELETE http://localhost:8080/delete_all_custom_voices