Documentation Index
Fetch the complete documentation index at: https://docs.lyrcs.ai/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
202 Accepted immediately — alignment runs asynchronously. The resulting job is identical to a /transcribe job with word_align=true and can be polled and downloaded the same way.
Parameters
All parameters are passed asapplication/json.
audio_url — required
An HTTPS URL pointing to the audio file. Must use https://. No size limit — the file is fetched server-side during processing.
language — required
The source language of the lyrics. Must be the exact full name as returned by GET /api/v1/languages. Values are case-sensitive.
transcription — required
The original script lyrics as a newline-separated string. Each line corresponds to one lyric line. Must match the language specified.
transliteration — optional
Roman script (phonetic) transliteration of the lyrics, also newline-separated. When provided, words_transliterated is populated in the result. When omitted, only words_original is available.
webhook_url — optional
An HTTPS URL where the job.complete (or job.failed) event payload will be delivered on completion. Retry schedule: immediate, +1 min, +5 min, +30 min.
Response — 202 Accepted
Polling and downloads
Usejob_id to poll GET /api/v1/jobs/{job_id} exactly as you would for a /transcribe job. When status is "complete", results.downloads contains:
words_original— per-word timestamps in the original scriptwords_transliterated— per-word timestamps in Roman script (only whentransliterationwas provided)
lrc_* and srt_* download URLs.
See the Jobs reference for full polling examples and the Download reference for download endpoint details.
Example
Credits
POST /align deducts 1 credit per job on completion, the same as POST /transcribe. The credit is charged when alignment finishes, not at submission time.