← 返回
内容创作 Key 中文

Gladia YouTube Transcription (Free)

Transcribe speech from YouTube videos or audio URLs into text using Gladia API with up to 10 free hours of monthly transcription. Use when: you need to summa...
利用 Gladia API 将 YouTube 视频或音频 URL 中的语音转录为文本,每月提供最多 10 小时的免费转录额度。
kanfred
内容创作 clawhub v1.0.4 1 版本 99860.1 Key: 需要
★ 2
Stars
📥 674
下载
💾 8
安装
1
版本
#audio#free#gladia#latest#transcription#video#youtube

概述

Video/Audio Transcription Skill

Overview

This skill provides automated transcription for video and audio content using Gladia API. It converts spoken content from YouTube videos, MP3 files, or any accessible audio/video URL into text, which can then be summarized by an LLM.

Use Cases

  • YouTube Video Summary - Transcribe YouTube videos for LLM summarization (especially useful for Cantonese/Chinese content without captions)
  • MP3/WAV to Text - Convert audio files to transcript
  • Video Content Extraction - Extract speech from any publicly accessible video URL
  • Podcast Transcription - Convert podcast episodes to text

Service: Gladia API

What is Gladia?

Gladia is an audio transcription API that supports multiple languages including Cantonese. It provides both async (pre-recorded) and real-time transcription.

Free Tier (as of March 2026)

FeatureFree Tier
--------------------
Monthly transcription10 hours
RenewalMonthly (resets automatically)
New streams limit5 per minute
LanguagesAll included
Cost after quota$0.61/hour (async) / $0.75/hour (real-time)

How to Sign Up

  1. Visit gladia.io
  2. Click "Try for free" → Sign up with email
  3. Go to Dashboard → API Keys
  4. Create a new API key
  5. Copy the key (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)

Checking Usage

  1. Log in to Gladia Dashboard
  2. Navigate to Usage or Billing section
  3. View current month consumption (hours/minutes used)

Alternatively, you can check via API:

curl -X GET "https://api.gladia.io/v2/usage" -H "x-gladia-key: YOUR_API_KEY"

Setup

Step 1: Save Your API Key

Recommended: Set in current session

export GLADIA_API_KEY="your-api-key-here"

Or add to ~/.bashrc (ensure ~/.bashrc is in .gitignore):

echo 'export GLADIA_API_KEY="your-api-key-here"' >> ~/.bashrc
source ~/.bashrc

Note: Storing secrets in shell rc files is discouraged due to risk of accidental commits. Prefer setting the environment variable directly in your session or use a secrets manager.

Step 2: Verify Key Works

Test that your API key is valid by checking usage:

curl -X GET "https://api.gladia.io/v2/usage" -H "x-gladia-key: $GLADIA_API_KEY"

If successful, you'll see your usage information. If you get an auth error, check your API key.

How to Use

Command Line

# Navigate to skill directory (where you installed the skill)
cd /path/to/video-transcription

# Basic usage
./scripts/youtube_transcribe.sh "YOUTUBE_URL"

# Save to specific file
./scripts/youtube_transcribe.sh "YOUTUBE_URL" /path/to/output.txt

Via OpenClaw

  1. Provide a YouTube URL or video link
  2. The skill will:
    • Submit transcription job to Gladia
    • Poll for completion (~1-2 min for 10-15 min videos)
    • Return the full transcript

Script Location

/path/to/video-transcription/scripts/youtube_transcribe.sh

Configuration

Environment Variables

VariableRequiredDescription
---------------------------------
GLADIA_API_KEYYesYour Gladia API key

Output

The script saves transcripts to a transcripts/ subdirectory in the skill folder:

/path/to/video-transcription/transcripts/

Privacy & Security Notes

  • NEVER share your API key publicly
  • NEVER include your API key in any skill documentation or code commits
  • IMPORTANT: Do NOT store API keys in shell rc files (~/.bashrc, ~/.zshrc) or config files that might be committed to version control
  • Use session-only environment variables: export GLADIA_API_KEY='your-key'
  • Or use a secrets manager (e.g., 1Password, AWS Secrets Manager)
  • Output transcripts may contain sensitive content - handle accordingly

Limitations

  • Video must be publicly accessible (no private/unlisted content)
  • Audio quality affects transcription accuracy
  • Some copyrighted content may have restrictions
  • Processing time depends on video length (~10 seconds per minute of video)
  • Free quota resets monthly; excess usage incurs charges

Troubleshooting

"Failed to call the url"

  • The video URL may be inaccessible or private
  • Try a different video URL

"Quota exceeded"

  • You've reached the 10-hour monthly limit
  • Wait for quota reset next month, or upgrade to paid plan

"Authentication failed"

  • Check your API key is correct
  • Ensure GLADIA_API_KEY environment variable is set

Alternative Services

If Gladia quota is exhausted:

ServiceFree TierNotes
---------------------------
AssemblyAILimitedRequires credit card
Deepgram$0 creditPay-per-use
YouTube TranscriptFree (if available)Only works if video has captions

Future Enhancements

Potential improvements:

  • Add speaker diarization (identify different speakers)
  • Support real-time transcription
  • Automatic LLM summarization after transcription
  • Multi-language translation
  • Save transcripts to cloud storage

Last updated: March 2026

版本历史

共 1 个版本

  • v1.0.4 当前
    2026-03-29 16:44 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,075
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 860 📥 199,867
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,493