跳到正文
TakoAPI
返回技能列表

volcengine-video-generate

由 warm-wm 提供

Coding Agents & IDEs
665下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Using volcengine video_generate.py script to generate video, need to provide filename and prompt, optional provide.

描述

该技能的功能

Generates videos from text prompts using the Volcengine (ByteDance) video generation API. Accepts an optional first frame image via URL or local path to control the video's starting visual. Downloads the output file directly to a specified path.

Handles Base64 conversion of local images and automatic file download in one script, removing manual API wrangling steps.

何时使用

  • Generate a product demo video from a text description
  • Create animated content from a static reference image
  • Batch-produce short clips with a scripted prompt
  • Preview scene concepts by specifying an opening frame
  • Automate video creation in a CI or content pipeline

示例工作流

输入

User asks: generate a video of a cat walking through snow, save as cat_snow.mp4

智能体
  1. 1

    Confirm output filename is cat_snow.mp4 and compose the prompt

  2. 2

    Check for MODEL_VIDEO_API_KEY or ARK_API_KEY in the environment

  3. 3

    Run: python scripts/video_generate.py "cat_snow.mp4" "a cat walking through snow"

  4. 4

    Wait for the API to return a video URL

  5. 5

    Download the video to cat_snow.mp4

输出

cat_snow.mp4 saved to disk; video URL printed to console

前置要求

  • MODEL_VIDEO_API_KEY or ARK_API_KEY environment variable (Volcengine Ark API key)
  • VOLCENGINE_ACCESS_KEY and VOLCENGINE_SECRET_KEY environment variables (if using credential-based auth instead of a direct API key)
  • Volcengine account with Ark API access enabled

安装

clawhub install warm-wm/volcengine-video-generate

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接