Skip to main content

Get Audio with Timestamped Lyrics

POST 

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

Get audio with timestamped lyrics, which can be used for lyrics synchronization display during audio playback.

Parameter Details

  1. taskId is a required parameter
  2. audioId and musicIndex matching logic:
    • Only pass audioId: Match by audioId
    • Only pass musicIndex: Match by index
    • Pass both in: Priority match by audioId, if not found then match by index

Important Notes

  1. Returned timestamp unit is seconds
  2. Returned waveform data can be used for audio visualization display
  3. When the original song was generated with instrumental=true (pure instrumental mode), there won't be any lyrics to return

Request

Responses

Request successful