Endpoint
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
clip_id | string | Yes | Clip ID to retrieve timing for. Obtain from Upload Audio (data.clipId) or a completed generation task (results[].id). |
Response
| Field | Type | Description |
|---|---|---|
aligned | array | Array of word timing objects |
aligned[].word | string | The lyric word |
aligned[].start | float | Start time in seconds |
aligned[].end | float | End time in seconds |
Example
Use case: karaoke display
Iterate throughaligned words, highlight the current word based on the audio playback time: