Use this skill to actually submit, poll, inspect, and download Volcengine / ARK video generation jobs instead of only drafting prompts.
这是一个面向 火山引擎 / ARK 兼容视频生成接口 的生产可用型 skill,重点不是只写视频提示词,而是把整条生成链路真正跑通,从提交任务、轮询状态,到拿回结果、下载成片,都能一把做完。
它特别适合下面这些对外场景:
如果你想要的是一个能真实发起任务、能追踪任务进度、能拿到最终视频文件、适合实战交付的火山视频 skill,这个版本就是为这种需求准备的。
Treat the prompt and optional reference media as runtime input for each task. Do not reuse documentation example prompts or example media in a real generation request unless the user explicitly asks for that exact example.
Run the bundled script with the actual prompt for the current task:
python3 scripts/generate_video.py "当前任务的实际视频提示词"
To switch to the alternate model for one run:
VOLCENGINE_VIDEO_MODEL=doubao-seedance-1-5-pro-251215 \
python3 scripts/generate_video.py "当前任务的实际视频提示词"
By default the script:
~/Desktop/volcengine-videos/-/ The script reads config from env vars:
VOLCENGINE_API_KEY or ARK_API_KEYVOLCENGINE_VIDEO_MODEL (recommended)VOLCENGINE_VIDEO_ENDPOINT or VOLCENGINE_ENDPOINT or ARK_BASE_URLRecommended video models:
doubao-seedance-1-0-pro-fast-251015 — default, faster iterationdoubao-seedance-1-5-pro-251215 — alternate higher-tier optionDefault behavior:
VOLCENGINE_VIDEO_MODEL is unset, the script defaults to doubao-seedance-1-0-pro-fast-251015VOLCENGINE_MODEL for video runs when that env var is also used for image generationTypical endpoint:
https://ark.cn-beijing.volces.com/api/v3The script calls:
POST /contents/generations/tasksGET /contents/generations/tasks/{task_id}python3 scripts/generate_video.py "为当前需求编写的视频提示词" \
--ratio 16:9 \
--duration 5
python3 scripts/generate_video.py "描述你希望图片如何动起来" \
--image ~/Desktop/reference.png \
--ratio 9:16 \
--duration 5
python3 scripts/generate_video.py "说明要保留什么、增强什么" \
--video ~/Desktop/draft.mp4
python3 scripts/generate_video.py --task-id <task_id> --wait false
python3 scripts/generate_video.py "当前任务的实际视频提示词" \
--ratio 16:9 \
--wait false
python3 scripts/generate_video.py --content-json '[
{"type":"text","text":"当前任务的实际视频提示词"},
{"type":"image_url","image_url":{"url":"https://example.com/reference.png"}}
]'
For --image and --video:
data: URL automaticallyhttps://... URL → sent as-isdata:... URL → sent as-isThis makes local reference media usable without manual upload steps.
--ratio 16:9|9:16|1:1|adaptive--duration --frames --seed --resolution --camera-fixed true|false--watermark true|false--callback-url --poll-interval --timeout --download-results true|false--download-dir --print-request--content-json only when the API shape must be customized.--image or --video.--duration for whole-second clips and --frames only when finer control is required.VOLCENGINE_API_KEYVOLCENGINE_VIDEO_MODELdoubao-seedream-4-5) → explicitly set VOLCENGINE_VIDEO_MODEL instead of reusing VOLCENGINE_MODELVOLCENGINE_VIDEO_ENDPOINTrawreferences/sources.mdreferences/api-notes.mding VOLCENGINE_MODEL
VOLCENGINE_VIDEO_ENDPOINTrawreferences/sources.mdreferences/api-notes.md共 1 个版本