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 या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।