跳到正文
cccskills
免费在 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.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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

查看安装方法

适用场景

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

包含的文件(2)

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

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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"

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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-Notes40112026年10月21日 更新

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-Notes40112026年10月21日 更新

ask-echo

免费

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-Notes40112026年10月21日 更新

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-Notes40112026年10月21日 更新

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-Notes40112026年10月21日 更新

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-Notes40112026年10月21日 更新

查看 huangruiteng 的全部技能

报告此技能的问题