volcengine-video-generate
warm-wm 作
Coding Agents & IDEs概要
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
Confirm output filename is cat_snow.mp4 and compose the prompt
- 2
Check for MODEL_VIDEO_API_KEY or ARK_API_KEY in the environment
- 3
Run: python scripts/video_generate.py "cat_snow.mp4" "a cat walking through snow"
- 4
Wait for the API to return a video URL
- 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-generateCLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。