Get Timestamped Lyrics
POST/api/v1/generate/get-timestamped-lyrics
Retrieve synchronized lyrics with precise timestamps for music tracks.
Usage Guide
- Use this endpoint to get lyrics that synchronize with audio playback
- Implement karaoke-style lyric displays in your music players
- Create visualizations that match audio timing
Parameter Details
- Both
taskId
andaudioId
are required to identify the specific track - The
taskId
comes from either "Generate Music" or "Extend Music" endpoints - The
audioId
identifies the specific track version when multiple were generated
Developer Notes
- Timestamps are provided in seconds for precise synchronization
- Waveform data is included for audio visualization implementations
- For instrumental tracks (created with
instrumental=true
), no lyrics data will be returned
Request
Responses
- 200
- 500
Request successful
Server Error