Skip to main content

Get Timestamped Lyrics

POST 

/api/v1/generate/get-timestamped-lyrics

Retrieve timestamped lyrics for synchronized display during audio playback.

Parameter Selection Logic

  1. audioId and musicIndex matching priority:
    • If only audioId is provided: Match by audioId
    • If only musicIndex is provided: Match by index position
    • If both are provided: Try audioId first, fall back to musicIndex if not found

Developer Notes

  1. Timestamp values are in seconds
  2. Returned waveform data can be used for audio visualization
  3. For instrumental tracks (generated with instrumental=true), no lyrics data will be available
  4. Typical use case: Karaoke-style lyrics display in music player interfaces

Request

Responses

Request successful