Communitygithub.com

sundial-org/awesome-openclaw-skills

端到端 AI 影片生成 - 從文字提示建立影片,包含圖片生成、影片合成、旁白配音與剪輯。支援 OpenAI DALL-E、Replicate 模型、LumaAI、Runway 及 FFmpeg 剪輯。

awesome-openclaw-skills 是什麼?

這個技能提供完整的 AI 影片生成管線,讓使用者只需一個文字提示就能產生最終影片。它整合了多個頂尖的 AI 服務:使用 DALL-E 3、Stable Diffusion 或 Flux 生成圖片;透過 LumaAI Dream Machine、Runway ML 或 Replicate 將圖片序列轉換為影片;並利用 OpenAI TTS 或 ElevenLabs 加入語音旁白。最後,它使用 FFmpeg 進行影片組裝、轉場與疊加效果。該技能支援 Cursor 和 Claude Code 等 AI 代理平台,提供從免費(開源模型)到付費(高品質商業 API)的多種工作模式。此外,它還包含多個獨立的腳本(如 `generate_video.py`、`images_to_video.py`、`add_voiceover.py`),可靈活組合使用,並提供詳盡的 API 成本估算,幫助開發者做出明智的選擇。

相容平台~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:每 1000 字元約 $0.015
  • ElevenLabs:每 1000 字元約 $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).

相關技能