Skip to content
cccskills
FreePublished on GitHub

video-generate

Generate a video from a text description and save it to a named file. You can also supply an image through a URL or local path to set the video's opening frame.

OriginalShow the original description

使用 video_generate.py 脚本生成视频,需要提供文件名和 prompt,可选提供首帧图片(URL或本地路径)。

See how to install

Good for

  • Creating a video from a text description
  • Setting an opening frame with an image URL
  • Generating a video from a local image

Files included (2)

  • SKILL.md1.5 KB
  • scripts/video_generate.py5.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Video Generate

适用场景

当需要根据文本描述生成视频时,使用该技能。支持通过首帧图片控制视频起始画面,首帧可以是 URL 或本地文件路径。

使用步骤

  1. 准备目标文件名(如 output.mp4)和清晰具体的 prompt。
  2. (可选) 准备首帧图片,可以是 HTTP URL,也可以是本地文件路径(脚本会自动转为 Base64)。
  3. 运行脚本 python scripts/video_generate.py <filename> "<prompt>" [first_frame]。运行之前cd到对应的目录。
  4. 脚本将输出视频的 TOS URL 并自动下载到指定文件。

认证与凭据来源

  • 优先读取 MODEL_VIDEO_API_KEY 或 ARK_API_KEY 环境变量。
  • 若未配置,将尝试使用 VOLCENGINE_ACCESS_KEY 与 VOLCENGINE_SECRET_KEY 获取 Ark API Key。

输出格式

  • 控制台输出生成的视频 URL。
  • 视频文件将被下载到指定路径。

示例

纯文本生成:

python scripts/video_generate.py "cat.mp4" "一只可爱的猫"

带首帧图片生成(URL):

python scripts/video_generate.py "dog_run.mp4" "一只小狗在草地上奔跑" "https://example.com/dog_start.png"

带首帧图片生成(本地文件):

python scripts/video_generate.py "my_video.mp4" "图片中的人物动起来" "/path/to/local/image.jpg"

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

ai-hotspots

FreeSummary

Gather recent AI products, papers, tools, and viewpoints into a Chinese and English HTML daily report. Select up to ten supported items, check original sources where possible, and summarize shared trends with practical next actions.

  • Reviewing recent AI developments each morning
  • Tracking research and tools for AI agents
  • Choosing what to read or try next
huangruiteng/CS-Notes4KUpdated Oct 20, 2026

Retrieve an arxiv paper's full text from its HTML version using an ID or URL. Extract readable text with section structure, optionally save it to a file, and prepare it for reading, notes, or technical analysis.

  • Reading a paper from an arxiv ID or URL
  • Extracting full text for research notes
  • Saving long papers for section-by-section reading
huangruiteng/CS-Notes4KUpdated Oct 20, 2026

ask-echo

FreeSummary

Search the web or find images through the Ask-Echo API from 火山引擎. Retrieve result details, request an AI-generated summary, and narrow searches by time range or selected websites.

  • Finding web pages about a specific topic
  • Getting an AI-generated summary of search results
  • Searching for images
huangruiteng/CS-Notes4KUpdated Oct 20, 2026

bluebubbles

FreeSummary

Build or update the BlueBubbles channel plugin for Clawdbot. The skill explains code locations, existing helper functions, message delivery, connection checks, and webhook handling, which receives incoming messages and attachments through HTTP notifications.

  • Building or updating the BlueBubbles channel plugin
  • Implementing message delivery and connection checks
  • Handling incoming messages and attachments through webhooks
huangruiteng/CS-Notes4KUpdated Oct 20, 2026

cli-creator

FreeSummary

Turn API documentation, SDKs, or existing scripts into reusable command-line tools for Codex. Build focused read and write commands, stable JSON output, authentication checks, and a companion skill explaining how future sessions should use the tool.

  • Turning an API into reusable commands
  • Making an internal script usable across projects
  • Adding JSON output and authentication checks
huangruiteng/CS-Notes4KUpdated Oct 20, 2026

Improve existing code through up to two optimization rounds, measuring execution time and memory use against a baseline. Verify that results remain correct, save the optimized code, and document changes, measured gains, and trade-offs in a report.

  • Improving the performance of existing code
  • Comparing execution time and memory use with a baseline
  • Checking that optimized code produces correct results
huangruiteng/CS-Notes4KUpdated Oct 20, 2026

See all skills by huangruiteng

Report a problem with this skill