agentsclimarketplace

Lai transcribe

Skill lattifai/lattifai-skills/skills/lai-transcribe

Transcribe audio/video to timestamped captions with Gemini (100+ languages) or local Parakeet / SenseVoice models. Trigger on "transcribe", "speech to text", "转录", "语音转文字", "generate captions from audio", or when the user provides an audio/video file with no text. If the YouTube video already has captions, prefer `/lai-youtube`.From its SKILL.md

Install
npx -y skills add lattifai/lattifai-skills --skill lai-transcribe

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.8 KB, as published. Nobody here has run it

LattifAI Transcription

Generates timestamped text from audio/video. Default is Gemini (fast, broad language coverage); local models run offline on GPU.

Prerequisites

Gemini needs an API key (free at https://aistudio.google.com/apikey):

lai config set GEMINI_API_KEY <your-key>

Basic Command

Pick a <base> (media stem or YouTube ID) and reuse for the rest of the pipeline; outputs land in the current directory:

# <base> = podcast (from podcast.mp3)
lai transcribe run podcast.mp3 podcast.transcript.json
# shortcut:
lai-transcribe podcast.mp3 podcast.transcript.json

Gemini accepts YouTube URLs directly — no download needed:

# <base> = la0CaZ2R8EY (the YouTube video ID)
lai transcribe run "https://youtu.be/la0CaZ2R8EY" la0CaZ2R8EY.transcript.json

Output naming: prefer <base>.transcript.json so it pipes cleanly into /lai-align (which writes <base>.aligned.json). Use <base>.srt etc. when the transcript itself is the final deliverable and no alignment step follows.

Models

ModelLanguagesRequires
gemini-3-flash-preview (default)100+Gemini API key
gemini-3.1-pro-preview100+, highest qualityGemini API key
nvidia/parakeet-tdt-0.6b-v324, offlineGPU + nemo_toolkit
FunAudioLLM/SenseVoiceSmallzh / en / ja / ko / cantonese, offlineGPU

Switch model:

lai transcribe run audio.mp4 output.srt transcription.model_name=gemini-3.1-pro-preview

Common Options

  • transcription.language=zh — force language (otherwise auto-detect)
  • media.streaming_chunk_secs=300 — chunk long audio
  • Output format is inferred from extension: .srt / .vtt / .ass / .json / .txt. Use .json when you plan to follow up with /lai-align.

Common Issues

ProblemFix
GEMINI_API_KEY not setlai config set GEMINI_API_KEY <your-key>
Upload timeout / file >2 GBSplit the audio or switch to a local model
Wrong language detectedForce with transcription.language=en
Timestamps are coarseFollow up with /lai-align

Related Skills

  • /lai-align — sharpen timestamps after transcription
  • /lai-diarize — add speaker labels
  • /lai-translate — translate the transcript
  • /lai-youtube — YouTube end-to-end (download + caption + align)
  • /lai-caption — convert output format

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.