video-highlight-extraction

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Video Highlight Extraction

视频高光片段提取

Extract the best moments and highlights from long-form video content using each::sense. This skill intelligently analyzes videos to identify and extract compelling clips, action sequences, emotional peaks, and key moments.
借助each::sense从长视频内容中提取最佳瞬间和高光片段。该技能可智能分析视频,识别并提取引人入胜的片段、动作场景、情绪高潮和关键时刻。

Features

功能特性

  • Smart Detection: AI-powered analysis to find the most engaging moments
  • Gaming Highlights: Extract kills, wins, clutch plays, and epic moments
  • Sports Clips: Capture goals, touchdowns, dunks, and pivotal plays
  • Podcast Moments: Find quotable segments and viral-worthy clips
  • Webinar Summaries: Extract key points and actionable insights
  • Meeting Highlights: Summarize decisions, action items, and key discussions
  • Event Highlights: Concert peaks, wedding moments, travel adventures
  • Trailer Generation: Auto-generate trailers from full-length content
  • 智能检测:基于AI的分析,定位最具吸引力的时刻
  • 游戏高光提取:提取击杀、胜利、极限操作和史诗级瞬间
  • 体育片段捕捉:记录进球、达阵、扣篮和关键赛事场景
  • 播客精彩瞬间:挖掘值得引用的片段和适合传播的内容
  • 网络研讨会摘要:提取核心要点和可执行见解
  • 会议高光回顾:总结决策、行动项和关键讨论内容
  • 活动高光汇总:演唱会高潮、婚礼瞬间、旅行精彩时刻
  • 自动预告片生成:从完整内容中自动生成预告片

Quick Start

快速开始

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Extract the 5 best highlight moments from this gaming video, focus on action sequences and wins",
    "mode": "max",
    "video_urls": ["https://example.com/gameplay-session.mp4"]
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Extract the 5 best highlight moments from this gaming video, focus on action sequences and wins",
    "mode": "max",
    "video_urls": ["https://example.com/gameplay-session.mp4"]
  }'

Highlight Types & Use Cases

高光类型与使用场景

Content TypeFocus AreasOutput Format
GamingKills, wins, fails, reactionsShort clips (15-60s)
SportsScores, plays, celebrationsHighlight reel (30-90s)
PodcastsQuotes, insights, debatesClip compilations (30-120s)
WebinarsKey points, demos, Q&ASummary clips (60-180s)
MeetingsDecisions, action itemsCondensed recap (2-5min)
ConcertsPeaks, crowd momentsBest-of compilation
WeddingsCeremony, reactions, speechesHighlight reel
TravelScenic views, activitiesAdventure montage
内容类型重点关注领域输出格式
游戏击杀、胜利、失误、反应短视频片段(15-60秒)
体育得分、赛事场景、庆祝时刻高光集锦(30-90秒)
播客语录、见解、辩论片段合集(30-120秒)
网络研讨会核心要点、演示、问答环节摘要片段(60-180秒)
会议决策、行动项精简回顾(2-5分钟)
演唱会高潮、观众互动时刻精华合集
婚礼仪式、反应、致辞高光集锦
旅行风景、活动冒险蒙太奇

Use Case Examples

使用场景示例

1. Extract Best Moments from Long Video

1. 从长视频中提取最佳瞬间

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Analyze this 2-hour video and extract the top 10 most engaging moments. Look for emotional peaks, funny moments, and visually impressive scenes. Create individual clips of 30-60 seconds each.",
    "mode": "max",
    "video_urls": ["https://example.com/long-form-content.mp4"]
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Analyze this 2-hour video and extract the top 10 most engaging moments. Look for emotional peaks, funny moments, and visually impressive scenes. Create individual clips of 30-60 seconds each.",
    "mode": "max",
    "video_urls": ["https://example.com/long-form-content.mp4"]
  }'

2. Gaming Highlight Detection

2. 游戏高光检测

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Extract gaming highlights from this Valorant stream. Find all clutch rounds, ace plays, and epic kills. Create a highlight reel with smooth transitions between clips.",
    "mode": "max",
    "video_urls": ["https://example.com/valorant-stream.mp4"]
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Extract gaming highlights from this Valorant stream. Find all clutch rounds, ace plays, and epic kills. Create a highlight reel with smooth transitions between clips.",
    "mode": "max",
    "video_urls": ["https://example.com/valorant-stream.mp4"]
  }'

3. Sports Highlight Extraction

3. 体育高光提取

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a sports highlight reel from this football game. Extract all touchdowns, big plays, interceptions, and celebration moments. Include 2 seconds before and after each key moment for context.",
    "mode": "max",
    "video_urls": ["https://example.com/football-game.mp4"]
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a sports highlight reel from this football game. Extract all touchdowns, big plays, interceptions, and celebration moments. Include 2 seconds before and after each key moment for context.",
    "mode": "max",
    "video_urls": ["https://example.com/football-game.mp4"]
  }'

4. Podcast Best Clips

4. 播客精彩片段

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Find the most shareable clips from this podcast episode. Look for controversial takes, insightful moments, funny exchanges, and quotable statements. Extract 5-8 clips optimized for social media (under 60 seconds each).",
    "mode": "max",
    "video_urls": ["https://example.com/podcast-episode.mp4"]
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Find the most shareable clips from this podcast episode. Look for controversial takes, insightful moments, funny exchanges, and quotable statements. Extract 5-8 clips optimized for social media (under 60 seconds each).",
    "mode": "max",
    "video_urls": ["https://example.com/podcast-episode.mp4"]
  }'

5. Webinar Key Moments

5. 网络研讨会关键时刻

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Extract key moments from this 90-minute webinar. Identify main talking points, important demonstrations, audience questions, and actionable takeaways. Create a 5-minute summary highlight reel.",
    "mode": "max",
    "video_urls": ["https://example.com/webinar-recording.mp4"]
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Extract key moments from this 90-minute webinar. Identify main talking points, important demonstrations, audience questions, and actionable takeaways. Create a 5-minute summary highlight reel.",
    "mode": "max",
    "video_urls": ["https://example.com/webinar-recording.mp4"]
  }'

6. Meeting Highlights

6. 会议高光回顾

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a meeting highlight summary from this team call. Extract all decisions made, action items assigned, key discussion points, and any important announcements. Condense into a 3-minute recap video.",
    "mode": "eco",
    "video_urls": ["https://example.com/team-meeting.mp4"]
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a meeting highlight summary from this team call. Extract all decisions made, action items assigned, key discussion points, and any important announcements. Condense into a 3-minute recap video.",
    "mode": "eco",
    "video_urls": ["https://example.com/team-meeting.mp4"]
  }'

7. Concert Best Moments

7. 演唱会最佳瞬间

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Extract the best moments from this concert recording. Find crowd singalongs, guitar solos, drum fills, artist interactions with crowd, and emotional peaks. Create a 4-minute highlight compilation with the most energetic parts.",
    "mode": "max",
    "video_urls": ["https://example.com/concert-full.mp4"]
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Extract the best moments from this concert recording. Find crowd singalongs, guitar solos, drum fills, artist interactions with crowd, and emotional peaks. Create a 4-minute highlight compilation with the most energetic parts.",
    "mode": "max",
    "video_urls": ["https://example.com/concert-full.mp4"]
  }'

8. Travel Video Highlights

8. 旅行视频高光

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a travel highlight reel from my vacation footage. Extract the most scenic views, exciting activities, local food experiences, and memorable moments. Make a 2-minute shareable video with dynamic pacing.",
    "mode": "max",
    "video_urls": ["https://example.com/vacation-footage.mp4"]
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a travel highlight reel from my vacation footage. Extract the most scenic views, exciting activities, local food experiences, and memorable moments. Make a 2-minute shareable video with dynamic pacing.",
    "mode": "max",
    "video_urls": ["https://example.com/vacation-footage.mp4"]
  }'

9. Wedding Highlight Reel

9. 婚礼高光集锦

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a wedding highlight reel from the full ceremony and reception footage. Extract the vows, first kiss, first dance, cake cutting, bouquet toss, speeches with emotional reactions, and candid guest moments. Create a 5-minute cinematic highlight video.",
    "mode": "max",
    "video_urls": ["https://example.com/wedding-full.mp4"]
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a wedding highlight reel from the full ceremony and reception footage. Extract the vows, first kiss, first dance, cake cutting, bouquet toss, speeches with emotional reactions, and candid guest moments. Create a 5-minute cinematic highlight video.",
    "mode": "max",
    "video_urls": ["https://example.com/wedding-full.mp4"]
  }'

10. Auto-Generate Trailer from Movie

10. 从电影自动生成预告片

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Generate a 2-minute trailer from this feature film. Select the most dramatic moments, action sequences, emotional beats, and visually stunning shots. Build tension with the pacing - start slow, build to climax. Avoid major spoilers but hint at the story.",
    "mode": "max",
    "video_urls": ["https://example.com/feature-film.mp4"]
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Generate a 2-minute trailer from this feature film. Select the most dramatic moments, action sequences, emotional beats, and visually stunning shots. Build tension with the pacing - start slow, build to climax. Avoid major spoilers but hint at the story.",
    "mode": "max",
    "video_urls": ["https://example.com/feature-film.mp4"]
  }'

Mode Selection

模式选择

Ask your users before processing:
"Do you want fast & cheap, or high quality?"
ModeBest ForSpeedQuality
max
Final highlight reels, client deliverables, trailer cutsSlowerHighest
eco
Quick previews, meeting recaps, internal reviewsFasterGood
处理前请询问用户:
"您想要快速低成本,还是高质量的结果?"
模式适用场景速度质量
max
最终高光集锦、客户交付内容、预告片剪辑较慢最高
eco
快速预览、会议回顾、内部评审较快良好

Multi-Turn Highlight Refinement

多轮高光优化

Use
session_id
to iterate on extracted highlights:
bash
undefined
使用
session_id
对提取的高光片段进行迭代优化:
bash
undefined

Initial extraction

初始提取

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Extract highlights from this gaming stream, focus on the best plays", "session_id": "highlight-project-001", "video_urls": ["https://example.com/stream.mp4"] }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Extract highlights from this gaming stream, focus on the best plays", "session_id": "highlight-project-001", "video_urls": ["https://example.com/stream.mp4"] }'

Refine selection

优化选择

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Remove the third clip and find more moments with team fights", "session_id": "highlight-project-001" }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Remove the third clip and find more moments with team fights", "session_id": "highlight-project-001" }'

Adjust timing

调整时长

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Make each clip shorter, around 15-20 seconds, and add transitions between them", "session_id": "highlight-project-001" }'
undefined
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Make each clip shorter, around 15-20 seconds, and add transitions between them", "session_id": "highlight-project-001" }'
undefined

Platform-Optimized Clips

平台适配片段生成

Generate highlights optimized for different platforms:
bash
undefined
生成适配不同平台的高光片段:
bash
undefined

YouTube Shorts / TikTok (vertical 9:16)

YouTube Shorts / TikTok(竖屏9:16)

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Extract viral-worthy moments and format them as vertical 9:16 clips for TikTok/YouTube Shorts. Each clip should be 15-30 seconds with a strong hook in the first 2 seconds.", "mode": "max", "video_urls": ["https://example.com/content.mp4"] }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Extract viral-worthy moments and format them as vertical 9:16 clips for TikTok/YouTube Shorts. Each clip should be 15-30 seconds with a strong hook in the first 2 seconds.", "mode": "max", "video_urls": ["https://example.com/content.mp4"] }'

Twitter/X (square 1:1)

Twitter/X(方形1:1)

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create square 1:1 highlight clips optimized for Twitter. Under 2 minutes each, punchy and shareable.", "mode": "max", "video_urls": ["https://example.com/content.mp4"] }'
undefined
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create square 1:1 highlight clips optimized for Twitter. Under 2 minutes each, punchy and shareable.", "mode": "max", "video_urls": ["https://example.com/content.mp4"] }'
undefined

Highlight Detection Parameters

高光检测参数定制

Customize what the AI looks for:
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Extract highlights with the following criteria: prioritize moments with high audio energy (cheering, music peaks), visual motion (fast action, camera movement), and emotional expressions (laughter, surprise). Skip any slow or static segments. Create 8 clips of 20-40 seconds each.",
    "mode": "max",
    "video_urls": ["https://example.com/event-footage.mp4"]
  }'
自定义AI的检测规则:
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Extract highlights with the following criteria: prioritize moments with high audio energy (cheering, music peaks), visual motion (fast action, camera movement), and emotional expressions (laughter, surprise). Skip any slow or static segments. Create 8 clips of 20-40 seconds each.",
    "mode": "max",
    "video_urls": ["https://example.com/event-footage.mp4"]
  }'

Error Handling

错误处理

ErrorCauseSolution
Failed to create prediction: HTTP 422
Insufficient balanceTop up at eachlabs.ai
Video too long
Exceeds processing limitsSplit into smaller segments
Unsupported format
Video codec not supportedConvert to MP4 H.264
TimeoutLong video processingSet client timeout to minimum 10 minutes
Important: Video highlight extraction can take significant time for long videos. Always set your HTTP client timeout to at least 10 minutes to avoid premature disconnection.
错误原因解决方案
Failed to create prediction: HTTP 422
余额不足在eachlabs.ai进行充值
Video too long
超出处理限制分割为较小片段
Unsupported format
视频编码不支持转换为MP4 H.264格式
超时长视频处理耗时较长将客户端超时设置为至少10分钟
重要提示:长视频的高光片段提取可能需要大量时间。请务必将HTTP客户端超时设置为至少10分钟,避免提前断开连接。

Best Practices

最佳实践

Input Video

输入视频

  • Format: MP4 with H.264 codec works best
  • Quality: Higher resolution enables better moment detection
  • Length: For videos over 2 hours, consider processing in segments
  • 格式:MP4(H.264编码)兼容性最佳
  • 质量:更高分辨率可提升时刻检测精度
  • 长度:超过2小时的视频建议分段处理

Prompt Tips

提示词技巧

  • Specify the number of highlights you want
  • Describe the types of moments to look for
  • Mention desired clip length
  • Indicate output format requirements (aspect ratio, duration)
  • 指定所需高光片段的数量
  • 描述需要定位的时刻类型
  • 说明期望的片段时长
  • 明确输出格式要求(宽高比、时长)

Output Optimization

输出优化

  • Use
    max
    mode for final deliverables
  • Use
    eco
    mode for quick previews and iteration
  • Leverage
    session_id
    for multi-turn refinement
  • 最终交付内容使用
    max
    模式
  • 快速预览和迭代使用
    eco
    模式
  • 利用
    session_id
    进行多轮优化

Related Skills

相关技能

  • each-sense
    - Core API documentation
  • video-generation
    - Generate new video content
  • video-edit
    - Edit and modify existing videos
  • each-sense
    - 核心API文档
  • video-generation
    - 生成新视频内容
  • video-edit
    - 编辑和修改现有视频