Documentation Index
Fetch the complete documentation index at: https://docs.mavera.io/llms.txt
Use this file to discover all available pages before exploring further.
Scenario
Your Vimeo videos contain hours of spoken content locked inside video files. This job pulls text tracks (captions/transcripts) viaGET /videos/{id}/texttracks, downloads the transcript text, then sends it to Mavera Chat to extract key messages, claims, and CTAs. Finally, it uses Generate to repurpose the extracted content into blog post drafts, social media posts, and email copy. The result is a content repurposing pipeline that turns every video into 5+ written assets — without a human watching the footage.
Architecture
Code
Example Output
Error Handling
No text tracks available
No text tracks available
Many Vimeo videos lack captions. If
texttracks returns empty, use Vimeo’s auto-captioning feature (available on paid plans) or upload an SRT file first. Alternatively, send the video directly to Mavera for transcript extraction via Video Analysis.VTT format parsing
VTT format parsing
Vimeo text tracks can be in VTT, SRT, or DFXP format. The code strips VTT headers, timestamps, and sequence numbers. For DFXP (XML-based), use an XML parser to extract the text nodes.
Transcript length limits
Transcript length limits
Very long videos (60+ minutes) produce transcripts exceeding Mavera Chat’s context window. The code truncates to 8,000 characters. For longer content, split the transcript into 5-minute chunks and extract from each separately.
What’s Next
Vimeo Integration
Back to Vimeo integration overview
Webinar Intelligence
Track engagement across webinar series
Mave Agent
Full reference for POST /api/v1/mave/chat
Generate API
Full reference for POST /api/v1/generate