تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

volcengine-video-generate

بواسطة warm-wm

Coding Agents & IDEs
665التنزيلات وفق ما يذكره clawskills.sh
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط