Media & Image v1.0.4

news-video-maker

News video maker skill. Use search tools to get news, generate speech, and create video with golden subtitles. For...

izorro 更新于 2026-03-11 1 浏览
下载 SKILL

技能说明

News video maker skill. Use search tools to get news, generate speech, and create video with golden subtitles. For creating news briefing videos.

使用场景

Convert news content into a video with voiceover and subtitles.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/news-video-maker
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 20 kB
SKILL.md text/markdown
---
name: news-video-maker
description: News video maker skill. Use search tools to get news, generate speech, and create video with golden subtitles. For creating news briefing videos.
---

# News Video Maker

Convert news content into a video with voiceover and subtitles.

## Input

- News topic/keywords (get via search tool in real-time)
- Background image path (provided by user)
- Output directory (user-defined, default: `C:\Users\hyzu\Documents\openclaw\`)

## Steps

### 1. Get News

Use search tool to get today's news:
- Use `freeUnlimited-websearch` or `ollama_web_search` or `tavily-search` skill to search for today's news
- Keywords like: "today news", "2026 March news", etc.

Example prompt:
```
Search for important news today, including international and domestic news
```

### 2. Generate Speech

Use TTS tool to convert news text to speech:
- Call tts tool to generate mp3 audio

### 3. Create Video

Use FFmpeg to combine background image, audio, and add subtitles.

**Subtitle calculation rules**:
- Video width: 1280px
- Font size: 36px (about 20-25 Chinese characters per line)
- Gold subtitles: PrimaryColour=&HFFD700&

**Command**:
```bash
ffmpeg -y -loop 1 -i "{background_image}" -i "{audio_file}" -vf "subtitles='{subtitle_file}':force_style='Fontsize=36,PrimaryColour=&HFFD700&,BorderStyle=3,Outline=2,MarginV=50',scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2" -shortest -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p "{output_video}"
```

### 4. Subtitle File Format (SRT)

Subtitle rules:
- Max 20 Chinese characters per line
- Timestamp format: HH:MM:SS,mmm --> HH:MM:SS,mmm

Example:
```
1
00:00:00,000 --> 00:00:04,000
2026年3月11日新闻简报
```

## Output

MP4 video file saved to user-specified output directory.

## Notes

- Split long subtitles into multiple lines, keep each line under 20 characters
- Backslashes in paths need escaping or use double quotes
- Audio file can reuse MP3 generated by TTS tool

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。