Endpoint
Request body
Response
This endpoint blocks the HTTP connection for up to 5 minutes while waiting for the concat job to finish. Ensure your client and any proxies have a sufficiently long timeout (≥ 300 seconds).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Merge a clipped segment back into a full-length song
POST /api/v1/music/concat
| Field | Type | Required | Description |
|---|---|---|---|
clip_id | string | Yes | Clip ID of the segment to concat. |
{
"code": 0,
"message": "ok",
"request_id": "req-1710000000000",
"data": {
"id": "abc123def456",
"status": 20,
"audioUrl": "https://cdn.example.com/audio/abc123def456.mp3",
"cld2AudioUrl": "https://cdn.example.com/audio/abc123def456_full.mp3",
"duration": 180
}
}
| Field | Type | Description |
|---|---|---|
id | string | Clip ID of the resulting full-length track. |
cld2AudioUrl | string | URL of the full-length audio. |
duration | integer | Audio duration in seconds. |
curl -X POST https://api.example.com/api/v1/music/concat \
-H "Authorization: Bearer sk-mm-your-key" \
-H "Content-Type: application/json" \
--max-time 600 \
-d '{
"clip_id": "abc123def456"
}'