capslane

v0.1.4
io.github.WebbaLuca/capslane Checked 4 days ago Published 3 months ago

Retrieve existing or generated YouTube transcripts with timestamps through Capslane.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_youtube_transcript Get YouTube transcript

Retrieve existing YouTube captions or start and optionally wait for a generated transcript.

ParameterTypeDescription
url *stringPublic YouTube URL or 11-character video ID
langstringPreferred ISO language code
modestringnative never starts speech transcription, auto falls back when needed, generate uses audio
textbooleanReturn one plain text string instead of timestamped segments
waitForCompletionbooleanWait for a generated job to finish before returning

get_transcript_status Get transcript job status

Return the current state of a generated transcript job.

ParameterTypeDescription
jobId *stringJob identifier returned by get_youtube_transcript

list_available_languages List transcript languages

Return the caption languages observed for a public YouTube video. This consumes one transcript request.

ParameterTypeDescription
url *stringPublic YouTube URL or 11-character video ID