Spaces:
Running
Running
openclaw commited on
Commit ·
19a5116
1
Parent(s): 5f21217
Fix hostname typo in README (jacky3105 -> jacky3102)
Browse files
README.md
CHANGED
|
@@ -51,21 +51,21 @@ Built from source (`acestep.cpp` GGML) with the **0.6B** model set:
|
|
| 51 |
### 出音乐(两步)
|
| 52 |
```bash
|
| 53 |
# 1) LM: caption -> lyrics + audio codes
|
| 54 |
-
LM_ID=$(curl -sX POST https://
|
| 55 |
-H 'Content-Type: application/json' -d @req.json | jq -r '.id')
|
| 56 |
|
| 57 |
# 2) 轮询直到 done
|
| 58 |
-
curl -s "https://
|
| 59 |
|
| 60 |
# 3) synth: codes -> audio (WAV or MP3)
|
| 61 |
-
SY_ID=$(curl -sX POST https://
|
| 62 |
-H 'Content-Type: application/json' -d @out.json | jq -r '.id')
|
| 63 |
-
curl -s "https://
|
| 64 |
```
|
| 65 |
|
| 66 |
### 可用模型 / 默认参数
|
| 67 |
```bash
|
| 68 |
-
curl https://
|
| 69 |
```
|
| 70 |
|
| 71 |
### 跳过 LM(直接用已知歌词)
|
|
|
|
| 51 |
### 出音乐(两步)
|
| 52 |
```bash
|
| 53 |
# 1) LM: caption -> lyrics + audio codes
|
| 54 |
+
LM_ID=$(curl -sX POST https://jacky3102-platform.hf.space/lm \
|
| 55 |
-H 'Content-Type: application/json' -d @req.json | jq -r '.id')
|
| 56 |
|
| 57 |
# 2) 轮询直到 done
|
| 58 |
+
curl -s "https://jacky3102-platform.hf.space/job?id=$LM_ID&result=1" | jq '.[0]' > out.json
|
| 59 |
|
| 60 |
# 3) synth: codes -> audio (WAV or MP3)
|
| 61 |
+
SY_ID=$(curl -sX POST https://jacky3102-platform.hf.space/synth \
|
| 62 |
-H 'Content-Type: application/json' -d @out.json | jq -r '.id')
|
| 63 |
+
curl -s "https://jacky3102-platform.hf.space/job?id=$SY_ID&result=1" -o track.wav
|
| 64 |
```
|
| 65 |
|
| 66 |
### 可用模型 / 默认参数
|
| 67 |
```bash
|
| 68 |
+
curl https://jacky3102-platform.hf.space/props
|
| 69 |
```
|
| 70 |
|
| 71 |
### 跳过 LM(直接用已知歌词)
|