assemblyai-hello-world

Featured

Create a minimal working AssemblyAI transcription example. Use when starting a new AssemblyAI integration, testing your setup, or learning basic transcription patterns. Trigger with phrases like "assemblyai hello world", "assemblyai example", "assemblyai quick start", "simple assemblyai transcription".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# AssemblyAI Hello World ## Overview Minimal working examples demonstrating AssemblyAI's three core capabilities: async transcription, audio intelligence features, and LeMUR (LLM-powered analysis). ## Prerequisites - Completed `assemblyai-install-auth` setup - Valid API key configured in `ASSEMBLYAI_API_KEY` ## Instructions ### Step 1: Basic Transcription (Remote URL) ```typescript import { AssemblyAI } from 'assemblyai'; const client = new AssemblyAI({ apiKey: process.env.ASSEMBLYAI_API_KEY!, }); async function transcribeUrl() { const transcript = await client.transcripts.transcribe({ audio: 'https://storage.googleapis.com/aai-web-samples/5_common_sports_702.wav', }); if (transcript.status === 'error') { throw new Error(`Transcription failed: ${transcript.error}`); } console.log('Transcript:', transcript.text); console.log('Duration:', transcript.audio_duration, 'seconds'); console.log('Word count:', transcript.words?.length); } transcribeUrl().catch(console.error); ``` ### Step 2: Transcribe a Local File ```typescript async function transcribeLocal() { // The SDK handles upload automatically when you pass a local path const transcript = await client.transcripts.transcribe({ audio: './recording.mp3', }); console.log('Transcript:', transcript.text); // Access word-level timestamps for (const word of transcript.words ?? []) { console.log(`[${word.start}ms - ${word.end}ms] ${word.text} (${word.confidence})`); } } ``` ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category