assemblyai-transcribe
Original:🇺🇸 English
Translated
1 scripts
Transcribe audio/video with AssemblyAI (local upload or URL), plus subtitles + paragraph/sentence exports.
6installs
Added on
NPX Install
npx skill4agent add tristanmanchester/agent-skills assemblyai-transcribeTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →AssemblyAI transcription + exports
Use this skill when you need to transcribe audio/video or export readable formats (subtitles, paragraphs, sentences) using AssemblyAI.
The helper script in this skill implements the basic REST flow:
- (Local files) Upload via .
POST /v2/upload - Create a transcript job via .
POST /v2/transcript - Poll until the transcript
GET /v2/transcript/:idisstatus(orcompleted).error
Setup
This skill requires:
- on PATH (Node.js 18+ recommended; script uses built-in fetch)
node - in the environment
ASSEMBLYAI_API_KEY
Recommended Clawdbot config ():
~/.clawdbot/clawdbot.jsonjs
{
skills: {
entries: {
// This skill declares metadata.clawdbot.skillKey = "assemblyai"
assemblyai: {
enabled: true,
// Because this skill declares primaryEnv = ASSEMBLYAI_API_KEY,
// you can use apiKey as a convenience:
apiKey: "YOUR_ASSEMBLYAI_KEY",
env: {
ASSEMBLYAI_API_KEY: "YOUR_ASSEMBLYAI_KEY",
// Optional: use EU async endpoint
// ASSEMBLYAI_BASE_URL: "https://api.eu.assemblyai.com"
}
}
}
}
}Usage
Run these commands via the Exec tool.
Transcribe (local file or public URL)
Print transcript text to stdout:
bash
node {baseDir}/assemblyai.mjs transcribe "./path/to/audio.mp3"
node {baseDir}/assemblyai.mjs transcribe "https://example.com/audio.mp3"Write transcript to a file (recommended for long audio):
bash
node {baseDir}/assemblyai.mjs transcribe "./path/to/audio.mp3" --out ./transcript.txtPass advanced transcription options
Any fields supported by can be passed via :
POST /v2/transcript--configbash
node {baseDir}/assemblyai.mjs transcribe "./path/to/audio.mp3" \
--config '{"speaker_labels":true,"summarization":true,"summary_model":"informative","summary_type":"bullets"}' \
--export json \
--out ./transcript.jsonExport subtitles (SRT/VTT)
Transcribe and immediately export subtitles:
bash
node {baseDir}/assemblyai.mjs transcribe "./path/to/video.mp4" --export srt --out ./subtitles.srt
node {baseDir}/assemblyai.mjs transcribe "./path/to/video.mp4" --export vtt --out ./subtitles.vttOr export subtitles from an existing transcript ID:
bash
node {baseDir}/assemblyai.mjs subtitles <transcript_id> srt --out ./subtitles.srtExport paragraphs / sentences
bash
node {baseDir}/assemblyai.mjs paragraphs <transcript_id> --out ./paragraphs.txt
node {baseDir}/assemblyai.mjs sentences <transcript_id> --out ./sentences.txtFetch an existing transcript
bash
node {baseDir}/assemblyai.mjs get <transcript_id> --format json
node {baseDir}/assemblyai.mjs get <transcript_id> --wait --format textGuidance
- Prefer when output might be large.
--out <file> - Keep API keys out of logs and chat; rely on env injection.
- If a user asks for EU processing/data residency, set to the EU host.
ASSEMBLYAI_BASE_URL - AssemblyAI requires that uploads and the subsequent transcript request use an API key from the same AssemblyAI project (otherwise you can get a 403 / 'Cannot access uploaded file').