Communitygithub.com

sundial-org/awesome-openclaw-skills

端到端 AI 视频生成——通过文本提示创建完整视频,涵盖图像生成、视频合成、配音和编辑。支持 OpenAI DALL-E、Replicate 模型、LumaAI、Runway 以及 FFmpeg 编辑。

awesome-openclaw-skills 是什么?

该技能是一个端到端的视频生成工具,旨在帮助开发者从文本描述创建完整视频。它集成了多种 AI 模型,支持图像生成(如 DALL-E 3、Stable Diffusion、Flux)、视频生成(如 LumaAI、Runway、Replicate)、语音合成(如 OpenAI TTS、ElevenLabs)以及视频编辑(FFmpeg)。用户可以通过命令行脚本快速生成视频,例如使用 `generate_video.py` 一键生成带有配音的完整视频,或使用 `images_to_video.py` 将图像序列转换为动画。技能提供了“免费模式”(依赖开源模型和本地工具)和“高质量模式”(使用付费 API 获得最佳效果),并详细列出了各 API 的成本估算,方便用户进行成本控制。该技能适用于需要快速制作 AI 视频的原型开发、内容创作和演示场景。

兼容平台~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/sundial-org/awesome-openclaw-skills/tree/HEAD/skills/ai-video-gen

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

AI 视频生成技能

使用 AI 从文本描述生成完整视频。

功能

  1. 图像生成 - DALL-E 3, Stable Diffusion, Flux
  2. 视频生成 - LumaAI, Runway, Replicate 模型
  3. 配音 - OpenAI TTS, ElevenLabs
  4. 视频编辑 - FFmpeg 组装、转场、叠加

快速开始

# 生成完整视频
python skills/ai-video-gen/generate_video.py --prompt "山上的日落" --output sunset.mp4

# 仅图像转视频
python skills/ai-video-gen/images_to_video.py --images img1.png img2.png --output result.mp4

# 添加配音
python skills/ai-video-gen/add_voiceover.py --video input.mp4 --text "您的旁白" --output final.mp4

设置

所需 API 密钥

添加到您的环境或 .env 文件中:

# 图像生成(选择其一)
OPENAI_API_KEY=sk-...              # DALL-E 3
REPLICATE_API_TOKEN=r8_...         # Stable Diffusion, Flux

# 视频生成(选择其一)
LUMAAI_API_KEY=luma_...           # LumaAI Dream Machine
RUNWAY_API_KEY=...                # Runway ML
REPLICATE_API_TOKEN=r8_...        # 多种模型

# 语音(可选)
OPENAI_API_KEY=sk-...             # OpenAI TTS
ELEVENLABS_API_KEY=...            # ElevenLabs

# 或者使用免费本地选项(无需 API)

安装依赖

pip install openai requests pillow replicate python-dotenv

FFmpeg

已通过 winget 安装。

使用示例

1. 文本转视频(完整流程)

python skills/ai-video-gen/generate_video.py \
  --prompt "夜晚的未来城市,有飞行汽车" \
  --duration 5 \
  --voiceover "欢迎来到未来" \
  --output future_city.mp4

2. 多场景

python skills/ai-video-gen/multi_scene.py \
  --scenes "清晨日出" "繁忙的城市街道" "宁静的夜晚" \
  --duration 3 \
  --output day_in_life.mp4

3. 图像序列转视频

python skills/ai-video-gen/images_to_video.py \
  --images frame1.png frame2.png frame3.png \
  --fps 24 \
  --output animation.mp4

工作流选项

经济模式(免费)

  • 图像:Stable Diffusion(本地或免费 API)
  • 视频:开源模型
  • 语音:OpenAI TTS(廉价)或免费 TTS
  • 编辑:FFmpeg

高质量模式(付费)

  • 图像:DALL-E 3 或 Midjourney
  • 视频:Runway Gen-3 或 LumaAI
  • 语音:ElevenLabs
  • 编辑:FFmpeg + 特效

脚本参考

  • generate_video.py - 主端到端生成器
  • images_to_video.py - 将图像序列转换为视频
  • add_voiceover.py - 为现有视频添加旁白
  • multi_scene.py - 创建多场景视频
  • edit_video.py - 应用特效、转场、叠加

API 成本估算

  • DALL-E 3: 每张图像约 $0.04-0.08
  • Replicate: 每次生成约 $0.01-0.10
  • LumaAI: 每 5 秒 $0-0.50(提供免费套餐)
  • Runway: 每秒约 $0.05
  • OpenAI TTS: 每 1K 字符约 $0.015
  • ElevenLabs: 每 1K 字符约 $0.30(质量更高)

示例

查看 examples/ 文件夹中的示例输出和提示。

Individual skills in this repo

This repo contains 19 individual skills — each has its own dedicated page.

sundial-org/awesome-openclaw-skills

Complete X (Twitter) algorithm mastery - engagement weights, viral formulas, shadow ban avoidance, thread optimization, and growth strategies. Based on X's open-source code analysis and real creator data.

sundial-org/awesome-openclaw-skills

Text-to-speech conversion using node-edge-tts npm package for generating audio from text. Supports multiple voices, languages, speed adjustment, pitch control, and subtitle generation. Use when: (1) User requests audio/voice output with the "tts" trigger or keyword. (2) Content needs to be spoken rather than read (multitasking, accessibility, driving, cooking). (3) User wants a specific voice, speed, pitch, or format for TTS output.

sundial-org/awesome-openclaw-skills

Comprehensive video/audio processing with FFmpeg. Use for: (1) Video transcoding and format conversion, (2) Cutting and merging clips, (3) Audio extraction and manipulation, (4) Thumbnail and GIF generation, (5) Resolution scaling and quality adjustment, (6) Adding subtitles or watermarks, (7) Speed adjustment (slow/fast motion), (8) Color correction and filters.

sundial-org/awesome-openclaw-skills

Generate FFmpeg commands from natural language video editing requests - cut, trim, convert, compress, change aspect ratio, extract audio, and more.

sundial-org/awesome-openclaw-skills

Create a verbatim transcript for a YouTube URL using Google Gemini (speaker labels, paragraph breaks; no time codes). Use when the user asks to transcribe a YouTube video or wants a clean transcript (no timestamps).

sundial-org/awesome-openclaw-skills

Generate landing page code from product descriptions

sundial-org/awesome-openclaw-skills

Generate a beautiful HTML landing page from your package.json. Use when you need a quick marketing page for your project.

sundial-org/awesome-openclaw-skills

Founder vs employee personal branding strategies with LinkedIn positioning and exit planning

sundial-org/awesome-openclaw-skills

Monitor stock/crypto holdings, get price alerts, track portfolio performance

sundial-org/awesome-openclaw-skills

Create product demo videos by automating browser interactions and capturing frames. Use when the user wants to record a demo, walkthrough, product showcase, or interactive video of a web application. Supports Playwright CDP screencast for high-quality capture and FFmpeg for video encoding.

sundial-org/awesome-openclaw-skills

Local speech-to-text using faster-whisper. 4-6x faster than OpenAI Whisper with identical accuracy; GPU acceleration enables ~20x realtime transcription. Supports standard and distilled models with word-level timestamps.

sundial-org/exa-web-search-free

Free AI search via Exa MCP. Web search for news/info, code search for docs/examples from GitHub/StackOverflow, company research for business intel. No API key needed.

sundial-org/finance-news

Market news briefings with AI summaries. Use when asked about stock news, market updates, portfolio performance, morning/evening briefings, financial headlines, or price alerts. Supports US/Europe/Japan markets, WhatsApp delivery, and English/German output.

sundial-org/jina-reader

Web content extraction via Jina AI Reader API. Three modes: read (URL to markdown), search (web search + full content), ground (fact-checking). Extracts clean content without exposing server IP.

sundial-org/memory-setup

Enable and configure Moltbot/Clawdbot memory search for persistent context. Use when setting up memory, fixing "goldfish brain," or helping users configure memorySearch in their config. Covers MEMORY.md, daily logs, and vector search setup.

sundial-org/news-summary

This skill should be used when the user asks for news updates, daily briefings, or what's happening in the world. Fetches news from trusted international RSS feeds and can create voice summaries.

sundial-org/ontology

Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.

sundial-org/remind-me

Set reminders using natural language. Automatically creates one-time cron jobs and logs to markdown.

sundial-org/stock-market-pro

Professional stock price tracking, fundamental analysis, and financial reporting tool. Supports global markets (US, KR, etc.), Crypto, and Forex with real-time data. (1) Real-time quotes, (2) Valuation metrics (PE, EPS, ROE), (3) Earnings calendar and consensus, (4) High-quality Candlestick & Line charts with technical indicators (MA5/20/60).

相关技能