用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/QinghongLin/data2story-skill --skill openrouter-text2video命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | openrouter-text2video |
| description | Generate videos via OpenRouter using ByteDance Seedance 2.0. |
Text → video via OpenRouter. Default model: bytedance/seedance-2.0.
Uses the async video-generation endpoint: submit job → poll → download.
Resolve TOOL_DIR = the directory containing this SKILL.md. Commands below use TOOL_DIR as a symbolic placeholder; replace it with the resolved, quoted path before running Bash.
export OPENROUTER_API_KEY=sk-or-v1-...
python3 TOOL_DIR/scripts/generate_video.py \
--prompt "A slow dolly push through a retro-futuristic arcade, neon signs reflecting in a puddle" \
--duration 5 \
--aspect-ratio 16:9 \
--resolution 720p \
--download PROJECT_DIR/assets/hero.mp4
| Flag | Default | Description |
|---|---|---|
--prompt | required | Text prompt |
--download | required | Output MP4 path |
--model | bytedance/seedance-2.0 | Any OpenRouter video model |
--duration | 5 | Seconds |
--aspect-ratio | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, 9:21 |
--resolution | 720p | Model-dependent (e.g. 480p, 720p, 1080p) |
--generate-audio | off | Generate audio with video (if model supports) |
--poll-interval | 5 | Seconds between polls |
--max-wait | 600 | Max total wait time |
POST /api/v1/videos → returns {id, polling_url, status: "pending"}GET /api/v1/videos/{id} every 5s until status == "completed"GET /api/v1/videos/{id}/content → raw MP4 bytesSeedance 2.0: ~$7/M tokens with (height × width × duration × 24) / 1024 token formula. A 5-second 720p 16:9 clip ≈ 145k tokens ≈ $1.
frame_images), and reference-to-video.frame_images or input_references for advanced modes.