POST
/v2/timestamped-lyrics타임스탬프 가사 API
생성된 트랙에 대한 단어 수준 가사 타임스탬프, 파형 데이터 및 정렬 통찰력을 검색합니다.
POST
https://udioapi.pro/api/v2/timestamped-lyricstips
생성 완료 후 이 엔드포인트를 호출하여 시간이 지정된 가사를 가져옵니다.
audio_id 및 task_id를 제공하세요.
requestHeaders
| name | required | description |
|---|---|---|
Authorization | yes | 인증을 위한 Bearer 토큰 |
Content-Type | yes | application/json |
requestBody
정렬 조회를 위해 두 식별자를 모두 제공하세요.
commonParams
| paramName | paramType | required | description | example |
|---|---|---|---|---|
audio_id | string | yes | 피드 또는 콜백의 오디오 자산 ID | fc490335-ad97-4444-ac64-0fb21c0d4308 |
task_id | string | yes | 생성 또는 확장에 의해 반환된 생성 작업 식별자 | gen2b9bb36e6c0cc44567aa34fbcff3afa64bksv |
responses
json
{
"code": 200,
"message": "success",
"data": {
"lyricAlignment": {
"words": [
{
"text": "[Verse]\nLola ",
"aligned": true,
"startTime": 0.55851,
"endTime": 0.87766,
"confidence": 0
},
{
"text": "Chouch, ",
"aligned": true,
"startTime": 0.91755,
"endTime": 1.91489,
"confidence": 0
}
]
},
"audioWaveform": [
0.00006,
0,
0.0339
],
"alignmentScore": 0.175,
"isStreaming": false
}
}codeExamples
curl
curl -X POST "https://udioapi.pro/api/v2/timestamped-lyrics" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"audio_id": "fc490335-ad97-4e08-ac64-0fb91c0d4308",
"task_id": "gen2b9bb36e6c0cc47969aa34fbcff3afa64bksv"
}'