{"id":"137ecc37-b417-4cb8-99ec-ad66ae723915","entityType":"agent","slug":"clawhub-redfox-data-seedance-video-gen-redfox","name":"seedance2.0开源版","canonicalUrl":"https://www.xpersona.co/agent/clawhub-redfox-data-seedance-video-gen-redfox","canonicalPath":"/agent/clawhub-redfox-data-seedance-video-gen-redfox","generatedAt":"2026-10-11T07:41:11.721Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T04:21:08.503Z","emptyReason":null},"description":"基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词/描述文案即可生成 MP4 视频。支持文生视频、分辨率/比例/时长控制、预置虚拟人像引用。使用 Seedance 视频生成、AI 视频、text-to-video 时调用此 Skill。 Skill: seedance2.0开源版 Owner: redfox-data Summary: 基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词/描述文案即可生成 MP4 视频。支持文生视频、分辨率/比例/时长控制、预置虚拟人像引用。使用 Seedance 视频生成、AI 视频、text-to-video 时调用此 Skill。 Tags: latest:1.0.4 Version history: v1.0.4 | 2026-06-17T08:40:51.672Z | user - Added English and Chinese README files for improved documentation and user guidance. - Removed the skill-card.md file to streamline documentation. - Documentation","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s171kp1a76rjevha5b9m61sxv984vncz:seedance-video-gen-redfox","sourceUrl":"https://clawhub.ai/redfox-data/seedance-video-gen-redfox","homepage":"https://clawhub.ai/redfox-data/skills/seedance-video-gen-redfox","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/redfox-data/seedance-video-gen-redfox","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/redfox-data/skills/seedance-video-gen-redfox","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":61,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词/描述文案即可生成 MP4 视频。支持文生视频、分辨率/比例/时长控制、预置虚拟人像引用。使用 Seedance 视频生成、AI 视频、text-to-video 时调用此 Skill。 Skill: seedance2.0开源版 Owner: red"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T04:21:08.503Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T04:21:08.503Z","emptyReason":null},"stars":null,"forks":null,"downloads":1161,"packageName":null,"latestVersion":"1.0.4","tractionLabel":"1.2K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T04:21:08.442Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T04:21:08.503Z","lastCrawledAt":"2026-10-11T04:21:08.442Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T04:21:08.442Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.4","createdAt":"2026-06-17T08:40:51.672Z","changelog":"- Added English and Chinese README files for improved documentation and user guidance. - Removed the skill-card.md file to streamline documentation. - Documentation in SKILL.md has been updated and simplified, with reduced emphasis on the built-in public API Key and related free quota details. - First-use instructions now require users to configure their own API Key. - User manual and FAQ have been revised for conciseness and clarity.","fileCount":6,"zipByteSize":15424},{"version":"1.0.3","createdAt":"2026-06-12T06:37:39.596Z","changelog":"- Documentation files (README.md, README.en.md, skill-card.md) have been removed. - SKILL.md has been streamlined, with some non-essential usage and introduction content trimmed for conciseness. - No changes to features or functionality; this is a documentation and cleanup update only.","fileCount":4,"zipByteSize":12279},{"version":"1.0.2","createdAt":"2026-06-09T06:39:54.288Z","changelog":"- 内置公共 API Key，首次使用开箱即用，无需配置，支持约 10000 次免费额度 - 文档显著优化，强调免注册和免费试用体验 - 增加“首次使用”与“后续使用”分步说明，清晰指引如何获取和配置个人 API Key - 简化“依赖安装”和环境变量说明，降低上手门槛 - 移除 skill-card.md 文件，保持项目结构精简","fileCount":6,"zipByteSize":16724},{"version":"1.0.1","createdAt":"2026-06-04T11:22:59.879Z","changelog":"- 移除了 skill-card.md 文件。 - SKILL.md 文档内容有细微更新，主标题改为“seedance2.0开源版”，但功能与用法未发生实际变化。 - 其余功能、参数和使用方式保持不变。","fileCount":6,"zipByteSize":17264},{"version":"1.0.0","createdAt":"2026-06-04T09:57:05.223Z","changelog":"Seedance 视频生成器首次发布，基于 Seedance 2.0 模型，支持文本生成短视频。 - 支持中文/英文提示词一行命令生成带音频 MP4 视频 - 参数可控：分辨率、比例、时长、虚拟人像选择、随机种子等 - 提供尾帧提取、自动任务轮询与管理、进度与结果查询 - 无需 SDK 配置或白名单、注册即可用、API Key 配置灵活 - 针对创作、产品演示、品牌运营、设计教育等场景优化 - 附详尽命令、安装和常见问题指南","fileCount":6,"zipByteSize":17197}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s171kp1a76rjevha5b9m61sxv984vncz:seedance-video-gen-redfox","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-redfox-data-seedance-video-gen-redfox/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-redfox-data-seedance-video-gen-redfox/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-redfox-data-seedance-video-gen-redfox/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-redfox-data-seedance-video-gen-redfox/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-redfox-data-seedance-video-gen-redfox/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-redfox-data-seedance-video-gen-redfox/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-11T07:41:11.718Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-redfox-data-seedance-video-gen-redfox/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-redfox-data-seedance-video-gen-redfox/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-redfox-data-seedance-video-gen-redfox/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-redfox-data-seedance-video-gen-redfox/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-11T04:21:08.503Z","emptyReason":null},"readme":"Skill: seedance2.0开源版\n\nOwner: redfox-data\n\nSummary: 基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词/描述文案即可生成 MP4 视频。支持文生视频、分辨率/比例/时长控制、预置虚拟人像引用。使用 Seedance 视频生成、AI 视频、text-to-video 时调用此 Skill。\n\nTags: latest:1.0.4\n\nVersion history:\n\nv1.0.4 | 2026-06-17T08:40:51.672Z | user\n\n- Added English and Chinese README files for improved documentation and user guidance.\n- Removed the skill-card.md file to streamline documentation.\n- Documentation in SKILL.md has been updated and simplified, with reduced emphasis on the built-in public API Key and related free quota details. \n- First-use instructions now require users to configure their own API Key.\n- User manual and FAQ have been revised for conciseness and clarity.\n\nv1.0.3 | 2026-06-12T06:37:39.596Z | user\n\n- Documentation files (README.md, README.en.md, skill-card.md) have been removed.\n- SKILL.md has been streamlined, with some non-essential usage and introduction content trimmed for conciseness.\n- No changes to features or functionality; this is a documentation and cleanup update only.\n\nv1.0.2 | 2026-06-09T06:39:54.288Z | user\n\n- 内置公共 API Key，首次使用开箱即用，无需配置，支持约 10000 次免费额度\n- 文档显著优化，强调免注册和免费试用体验\n- 增加“首次使用”与“后续使用”分步说明，清晰指引如何获取和配置个人 API Key\n- 简化“依赖安装”和环境变量说明，降低上手门槛\n- 移除 skill-card.md 文件，保持项目结构精简\n\nv1.0.1 | 2026-06-04T11:22:59.879Z | user\n\n- 移除了 skill-card.md 文件。\n- SKILL.md 文档内容有细微更新，主标题改为“seedance2.0开源版”，但功能与用法未发生实际变化。\n- 其余功能、参数和使用方式保持不变。\n\nv1.0.0 | 2026-06-04T09:57:05.223Z | auto\n\nSeedance 视频生成器首次发布，基于 Seedance 2.0 模型，支持文本生成短视频。\n\n- 支持中文/英文提示词一行命令生成带音频 MP4 视频\n- 参数可控：分辨率、比例、时长、虚拟人像选择、随机种子等\n- 提供尾帧提取、自动任务轮询与管理、进度与结果查询\n- 无需 SDK 配置或白名单、注册即可用、API Key 配置灵活\n- 针对创作、产品演示、品牌运营、设计教育等场景优化\n- 附详尽命令、安装和常见问题指南\n\nArchive index:\n\nArchive v1.0.4: 6 files, 15424 bytes\n\nFiles: README.en.md (3181b), README.md (2932b), scripts/videogen.py (15473b), skill-card.md (2543b), SKILL.md (11685b), _meta.json (144b)\n\nFile v1.0.4:SKILL.md\n\n---\nname: seedance-video-gen\ndescription: 基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词/描述文案即可生成 MP4 视频。支持文生视频、分辨率/比例/时长控制、预置虚拟人像引用。使用 Seedance 视频生成、AI 视频、text-to-video 时调用此 Skill。\n---\n\n# Seedance2.0\n\n## 简介\n\nSeedance2.0是一款基于火山方舟 **Seedance 2.0** 模型的 AI 视频生成工具。通过 redfox.hk 平台封装了复杂的 ARK API 鉴权流程，**一行命令即可生成视频**。\n\n> **Skill 特色**\n>\n> - 支持命令行参数化控制分辨率、比例、时长\n> - 文生视频 + 虚拟人像引用双模式\n\n### 为什么用这个 Skill？\n\n- **对开发者**：无需去火山方舟申请白名单、配置 AK/SK、对接 ARK 鉴权，一行命令搞定\n- **对创作者**：不用买会员、不用绑卡订阅，按次消费，用完即走\n- **对所有人**：极低门槛，注册即用，无需自行搭建 API 链路\n\n### 适用对象\n\n社交媒体创作者、产品经理、内容运营人员、AI 爱好者，以及任何需要快速将文案转化为视频的用户。\n\n---\n\n## 功能特性\n\n### 核心功能\n\n- **文生视频**：输入一句中文或英文描述，Seedance 2.0 自动生成带有同步音频的 MP4 视频\n- **参数控制**：支持分辨率（480p/720p/1080p）、画面比例（16:9/9:16 等 7 种）、视频时长（4-15 秒）\n- **虚拟人像**：支持通过 `asset://` 格式引用预置虚拟人像，无需上传真实人脸素材\n- **任务管理**：支持提交任务后获取 taskId，可随时查询任务进度和结果\n- **自动轮询**：脚本自动轮询任务状态（排队中/生成中/已完成），无需手动等待\n\n### 技术亮点\n\n- 底层模型：`doubao-seedance-2-0-260128`\n- 同步音频生成：视频画面与声音同步输出\n- 尾帧提取：支持返回视频最后一帧，用于连续视频生成\n- 随机种子：支持设置 seed 值，结果可复现\n- HTTPS 安全传输：全链路 SSL 验证\n\n### 参数速查\n\n| 参数 | 说明 | 默认值 |\n|------|------|--------|\n| `prompt` | 视频提示词（必填，中英文均可） | — |\n| `--resolution` | 分辨率：`480p` / `720p` / `1080p` | `720p` |\n| `--ratio` | 画面比例：`16:9` / `4:3` / `1:1` / `3:4` / `9:16` / `21:9` / `adaptive` | `16:9` |\n| `--duration` | 视频时长（秒）：4-15 或 -1（智能） | `5` |\n| `--seed` | 随机种子：-1 到 2147483647 | `-1` |\n| `--no-audio` | 不生成声音 | 默认生成 |\n| `--watermark` | 添加水印 | 默认不添加 |\n| `--return-last-frame` | 返回尾帧图片 URL | 默认不返回 |\n| `--image-url` | 参考图 URL（`asset://` 格式） | — |\n| `-o, --output-dir` | 输出目录 | `~/Downloads/QoderVideos` |\n| `--prefix` | 文件名前缀 | `video` |\n| `--no-download` | 仅提交不等待 | — |\n| `--task-id` | 查询已有任务 | — |\n\n---\n\n## 使用场景\n\n### 场景一：社交媒体内容创作\n\n**角色**：短视频博主 / 小红书运营\n\n**需求**：快速生成竖屏（9:16）视频素材，用于抖音/小红书/视频号发布\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"美妆产品展示，柔和的灯光，产品缓缓旋转\" --ratio 9:16\n```\n\n**预期收益**：降低素材制作成本，从数小时缩短到几分钟\n\n---\n\n### 场景二：产品功能演示\n\n**角色**：产品经理 / 创业者\n\n**需求**：快速生成产品概念视频，用于提案、路演或展示\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一款智能手表在桌面上展示，表盘切换不同功能界面\" --resolution 1080p --duration 8\n```\n\n**预期收益**：无需专业视频制作能力，文案即视频\n\n---\n\n### 场景三：品牌内容运营\n\n**角色**：内容运营 / 市场人员\n\n**需求**：批量生成品牌配景视频，搭配文案制作品牌宣传短片\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"品牌主题色背景，文字渐变浮现，专业大气\" --ratio 16:9 --no-audio\n```\n\n**预期收益**：提升内容产出效率，统一品牌视觉风格\n\n---\n\n### 场景四：创意灵感快速验证\n\n**角色**：设计师 / 创意人员\n\n**需求**：将脑中的画面用自然语言快速变成可视化视频，验证创意方向\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"赛博朋克风格的城市夜景，霓虹灯闪烁，雨滴落在镜头上的效果\" --duration 6\n```\n\n**预期收益**：降低创意门槛，想法到视频只需一行命令\n\n---\n\n### 场景五：教育培训可视化\n\n**角色**：教师 / 培训师\n\n**需求**：将抽象知识点转化为可视化短片，提升教学效果\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"太阳系行星围绕太阳旋转的动画，标注每颗行星的名称\" --duration 10\n```\n\n**预期收益**：无需动画制作技能，知识可视化零门槛\n\n---\n\n## 首次使用\n\n配置 API Key 后即可使用：\n\n```bash\n# 设置环境变量\nexport REDFOX_API_KEY=ak_你的密钥\n\n# 运行\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一只橘猫在窗台上打哈欠，阳光温暖地照在它的毛上\"\n```\n\n> 前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 注册获取 API Key。\n\n---\n\n## 后续使用\n\n可前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 注册账号获取自己的 API Key，三种配置方式任选其一：\n\n| 配置方式 | 说明 | 命令 |\n|----------|------|------|\n| **环境变量**（推荐） | 设置一次，全局生效 | `export REDFOX_API_KEY=ak_你的密钥` |\n| **命令行参数** | 临时使用，单次生效 | `python3 \"$SKILL_PATH/scripts/videogen.py\" \"prompt\" --api-key ak_你的密钥` |\n| **配置文件** | 持久化存储，跨会话保留 | `mkdir -p ~/.qoder/apis && echo '{\"api_key\":\"ak_你的密钥\"}' > ~/.qoder/apis/redfox.json` |\n\n---\n\n## 一键安装\n\n### 依赖安装\n\n```bash\npip3 install requests\n```\n\n### 环境变量\n\n| 变量名 | 必填 | 说明 |\n|--------|------|------|\n| `REDFOX_API_KEY` | — | redfox.hk 平台的 API 访问密钥 |\n\n---\n\n## 使用指南\n\n### 基础使用\n\n#### 1. 输入提示词生成视频\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一只橘猫在窗台上打哈欠，阳光温暖地照在它的毛上\"\n```\n\n脚本会自动提交任务、轮询等待（约 3-15 分钟），完成后下载到 `~/Downloads/QoderVideos/`。\n\n#### 2. 查看结果\n\n生成成功后会显示视频信息和文件路径：\n\n```\n[✓] Video ready: 5s, 720p, 16:9\n[✓] Token usage: 108900\n[→] Downloading video: video.mp4\n[✓] Done!\n  /Users/you/Downloads/QoderVideos/video.mp4 (2.5 MB)\n```\n\n### 高级使用\n\n#### 竖屏短视频（适配抖音/小红书）\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"时尚都市夜景，霓虹灯闪烁\" --ratio 9:16\n```\n\n#### 高清长视频\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"海浪拍打岩石的慢动作\" --resolution 1080p --duration 10\n```\n\n#### 使用预置虚拟人像\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一位年轻女性在图书馆安静阅读\" --image-url \"asset://female_student_01\"\n```\n\n更多预置虚拟人像 ID 请参考火山方舟「素材&虚拟人像库」文档。\n\n#### 任务管理\n\n```bash\n# 仅提交任务，返回 taskId 后立即退出\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"复杂场景\" --no-download\n\n# 稍后用 taskId 查询结果\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"ignored\" --task-id vg_abc123def456\n```\n\n#### 多段连续视频生成\n\n```bash\n# 1. 生成第一段，获取尾帧\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"开场画面\" --return-last-frame\n\n# 2. 将返回的 lastFrameUrl 作为下一段的首帧\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"转场到第二个场景\" --image-url \"上一步的lastFrameUrl\"\n```\n\n### 命令速查\n\n| 命令 | 功能 |\n|------|------|\n| `python3 videogen.py \"提示词\"` | 基础文生视频 |\n| `--ratio 9:16` | 竖屏比例 |\n| `--resolution 1080p` | 高清分辨率 |\n| `--duration 10` | 指定时长 |\n| `--no-audio` | 静音视频 |\n| `--watermark` | 添加水印 |\n| `--seed 42` | 固定种子可复现 |\n| `--image-url \"asset://...\"` | 引用虚拟人像 |\n| `--no-download` | 仅提交任务 |\n| `--task-id <id>` | 查询已有任务 |\n| `--api-key <key>` | 指定 API Key |\n| `-o ~/Desktop` | 指定输出目录 |\n\n---\n\n## 项目架构\n\n### 目录结构\n\n```\nseedance-video-gen/\n├── SKILL.md              # Skill 定义与文档\n└── scripts/              # 工具脚本\n    └── videogen.py       # 视频生成主程序\n```\n\n### 技术栈\n\n| 组件 | 技术 |\n|------|------|\n| 运行环境 | Python 3.6+ |\n| HTTP 库 | requests |\n| API 平台 | redfox.hk |\n| 底层模型 | 火山方舟 Seedance 2.0 (doubao-seedance-2-0-260128) |\n| 输出格式 | MP4 |\n\n### 核心模块\n\n| 模块 | 职责 |\n|------|------|\n| `get_api_key()` | 三级优先级获取 API Key：CLI > 环境变量 > 配置文件 |\n| `submit_video_task()` | 构建 content 数组，提交视频生成任务 |\n| `poll_video_result()` | 轮询任务状态（queued/running/succeeded/failed/expired），最多 20 分钟 |\n| `download_video()` | 流式下载 MP4 视频，带进度条显示 |\n| `main()` | CLI 入口：参数解析、API Key 校验、双分支（提交/查询）流程 |\n\n### 数据流转\n\n```\n用户输入提示词 → submit_video_task() → redfox.hk API → 火山方舟 Seedance 2.0\n                                                                      ↓\n用户获得 MP4 ← download_video() ← poll_video_result() ← 任务完成回调\n```\n\n---\n\n## 常见问答\n\n### 安装相关问题\n\n**Q1：需要 API Key 吗？**\n\nA：需要。前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 注册获取自己的 API Key，通过环境变量 `REDFOX_API_KEY` 或 `--api-key` 参数配置。\n\n\n**Q2：配置文件放在哪里？**\n\nA：放在 `~/.qoder/apis/redfox.json`，内容格式为：`{\"api_key\": \"ak_你的密钥\"}`。\n\n**Q3：如何验证 API Key 是否配置成功？**\n\nA：运行 `python3 videogen.py \"测试\" --no-download`，如果能返回 taskId 则配置成功。\n\n---\n\n### 使用相关问题\n\n**Q4：生成一个视频需要多久？**\n\nA：通常 3-15 分钟，复杂场景可能更长。脚本会自动轮询等待，最多等待 20 分钟。\n\n**Q5：支持上传自己的参考图吗？**\n\nA：Seedance 2.0 不支持直接上传含真人人脸的参考图/视频。如需指定人物外观，可在提示词中描述（如\"一位戴眼镜的亚洲女性\"），或使用预置虚拟人像库的 `asset://` URL。更多信息请参考火山方舟「素材&虚拟人像库」文档。\n\n**Q6：支持哪些提示词语言？**\n\nA：中英文均可，API 内部会自动处理。\n\n**Q7：输出文件保存在哪里？**\n\nA：默认保存到 `~/Downloads/QoderVideos/video.mp4`，可通过 `-o` 参数指定目录。\n\n---\n\n### 故障排除\n\n**Q8：任务超时了怎么办？**\n\nA：脚本最多等待 20 分钟。超时后会打印 taskId，你可以稍后通过 `--task-id` 参数重新查询并下载结果。\n\n**Q9：提示\"API request failed\"？**\n\nA：检查网络连接是否正常，确认 redfox.hk 服务可访问。如果持续失败，可能是 API Key 已过期或余额不足。\n\n**Q10：视频下载失败？**\n\nA：确认输出目录有写入权限，磁盘空间充足。如果 OSS 链接过期，可以用 `--task-id` 重新查询获取新的下载链接。\n\n---\n\n### 获取帮助\n\n如有其他问题，可前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 查看平台文档或联系客服。\n\nFile v1.0.4:README.md\n\n# Seedance2.0 / seedance-video-gen\n\n---\n\n## 简介\n\n基于火山方舟 Seedance 2.0 模型的 AI 视频生成器，一行命令即可生成 MP4 视频。\n\n**核心价值**\n\n- **文生视频**：输入中文或英文描述，自动生成带同步音频的 MP4 视频\n- **参数可控**：支持分辨率（480p/720p/1080p）、画面比例（7 种）、时长（4-15 秒）\n- **虚拟人像**：支持引用预置虚拟人像，无需上传真实人脸素材\n\n**适用对象**\n\n- 🎬 **短视频创作者** — 快速生成竖屏视频素材，用于抖音/小红书/视频号\n- 📦 **产品经理** — 生成产品概念视频，用于提案或路演展示\n- 🎨 **创意人员** — 将脑中的画面用自然语言快速变成可视化视频\n\n---\n\n## 功能特性\n\n### 核心功能\n\n- **文生视频**：输入提示词，Seedance 2.0 自动生成带同步音频的 MP4\n- **参数控制**：分辨率、画面比例、视频时长均可自定义\n- **虚拟人像**：支持引用预置虚拟人像，无需上传真实人脸素材\n- **自动轮询**：脚本自动等待任务完成，无需手动刷新\n- **任务管理**：支持仅提交任务获取 taskId，稍后查询下载\n\n---\n\n## 密钥获取与安全说明\n\n- 本技能需要使用环境变量：`REDFOX_API_KEY`。\n- `REDFOX_API_KEY` 由 [红狐 hub](https://redfox.hk/settings/api-keys?source=clawhub) (`https://redfox.hk`)提供。\n- 请前往 [红狐 hub](https://redfox.hk?source=github) 注册账号，获取 `REDFOX_API_KEY`。\n- 配置设备环境变量 `REDFOX_API_KEY` 后使用本技能。\n- 在提供密钥前，请先确认密钥来源、可用范围、有效期及是否支持重置/撤销。\n- 禁止在代码、提示词、日志或输出文件中硬编码/明文暴露密钥。\n\n---\n\n## 使用指南\n\n直接用自然语言描述你想要的视频画面即可。\n\n### 常用说法速查\n\n| 意图 | 示例话术 | 效果 |\n|------|---------|------|\n| 文生视频 | 「生成一只橘猫在窗台上打哈欠的视频」 | 提交任务，自动生成 MP4 视频 |\n| 竖屏短视频 | 「生成竖屏的城市夜景视频」 | 9:16 比例，适配抖音/小红书 |\n| 高清长视频 | 「生成 1080p 的风景视频，10 秒」 | 高画质长时长输出 |\n| 查询进度 | 「查询任务 XXX 的视频生成结果」 | 按 taskId 查询并下载已完成视频 |\n\n---\n\n## 使用场景\n\n| 场景 | 角色 | 示例问法 | 收益 |\n|------|------|---------|------|\n| 社交媒体创作 | 短视频博主 | 「生成竖屏美妆产品展示视频」 | 快速产出视频素材，降低制作成本 |\n| 产品演示 | 产品经理 | 「生成智能手表功能演示视频」 | 无需专业制作能力，文案即视频 |\n| 创意验证 | 设计师 | 「生成赛博朋克风格的城市夜景」 | 想法到视频只需一行命令 |\n| 品牌运营 | 内容运营 | 「生成品牌主题背景视频」 | 统一视觉风格，提升产出效率 |\n\nFile v1.0.4:_meta.json\n\n{\n  \"ownerId\": \"kn73hdehkbe5dwfzckzj8yhcw984t4cc\",\n  \"slug\": \"seedance-video-gen-redfox\",\n  \"version\": \"1.0.4\",\n  \"publishedAt\": 1781685651672\n}\n\nFile v1.0.4:README.en.md\n\n# Seedance2.0 / seedance-video-gen\n\n---\n\n## Overview\n\nAn AI video generator based on the Volcano Engine Seedance 2.0 model. Generate MP4 videos with a single command.\n\n**Core Value**\n\n- **Text-to-Video**: Enter Chinese or English descriptions to auto-generate MP4 videos with synchronized audio\n- **Full Control**: Adjustable resolution (480p/720p/1080p), aspect ratio (7 options), and duration (4-15 seconds)\n- **Virtual Avatars**: Reference preset virtual avatars without uploading real face assets\n\n**Target Users**\n\n- 🎬 **Short Video Creators** — Quickly generate vertical video assets for Douyin/Xiaohongshu/WeChat Channels\n- 📦 **Product Managers** — Generate product concept videos for proposals and demos\n- 🎨 **Creative Professionals** — Turn ideas into visual videos with natural language\n\n---\n\n## Features\n\n### Core Features\n\n- **Text-to-Video**: Enter a prompt and Seedance 2.0 generates an MP4 with synchronized audio\n- **Parameter Control**: Customize resolution, aspect ratio, and video duration\n- **Virtual Avatars**: Reference preset virtual avatars without uploading real face assets\n- **Auto-Polling**: The script automatically waits for task completion, no manual refresh needed\n- **Task Management**: Submit-only mode with taskId for later query and download\n\n---\n\n## API Key Acquisition & Security\n\n- This skill requires the environment variable: `REDFOX_API_KEY`.\n- `REDFOX_API_KEY` is provided by [RedFoxHub](https://redfox.hk/settings/api-keys?source=clawhub) (`https://redfox.hk`).\n- Please visit [RedFoxHub](https://redfox.hk?source=github) to register and obtain your `REDFOX_API_KEY`.\n- Configure the environment variable `REDFOX_API_KEY` on your device before using this skill.\n- Before providing your key, verify its source, available scope, validity period, and whether it supports reset/revocation.\n- Do not hardcode or expose the key in plaintext within code, prompts, logs, or output files.\n\n---\n\n## Usage Guide\n\nSimply describe the video scene you want in natural language.\n\n### Quick Reference\n\n| Intent | Example | Result |\n|--------|---------|--------|\n| Text-to-Video | \"Generate a video of an orange cat yawning on a windowsill\" | Submits task, auto-generates MP4 video |\n| Vertical Short Video | \"Generate a vertical city nightscape video\" | 9:16 aspect ratio for Douyin/Xiaohongshu |\n| HD Long Video | \"Generate a 1080p landscape video, 10 seconds\" | High-quality long-duration output |\n| Query Progress | \"Check the result of video task XXX\" | Query and download completed video by taskId |\n\n---\n\n## Use Cases\n\n| Scenario | Role | Example Prompt | Benefit |\n|----------|------|---------------|---------|\n| Social media creation | Short video creator | \"Generate a vertical cosmetics product demo video\" | Quick video asset production, lower costs |\n| Product demo | Product manager | \"Generate a smartwatch feature demo video\" | No professional skills needed, text-to-video |\n| Creative validation | Designer | \"Generate a cyberpunk city nightscape\" | From idea to video in one command |\n| Brand marketing | Content marketer | \"Generate a brand-themed background video\" | Consistent visual style, higher output efficiency |\n\nFile v1.0.4:skill-card.md\n\n## Description:\n\nAn AI video-generation skill based on Seedance 2.0 that turns Chinese or English prompts into MP4 videos with configurable resolution, aspect ratio, duration, audio, watermarking, task polling, and optional preset virtual avatar references.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[redfox-data](https://clawhub.ai/user/redfox-data)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal creators, product teams, marketers, educators, designers, and developers use this skill to generate short MP4 video assets from natural-language prompts and to query or download existing video-generation tasks.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Video prompts, task parameters, and generated media are sent to redfox.hk and upstream video providers.\n\nMitigation: Avoid sensitive, confidential, regulated, or personal content in prompts and review data-handling requirements before use.\n\nRisk: API keys may be exposed through command-line arguments, plaintext configuration files, logs, or download-session behavior.\n\nMitigation: Prefer REDFOX_API_KEY in the environment, avoid --api-key and plaintext config files for shared systems, rotate exposed keys, and review the download-session issue before higher-trust use.\n\nRisk: Downloaded video filenames are user-configurable and the security evidence calls out filename-prefix concerns.\n\nMitigation: Use simple trusted prefixes, write only to expected output directories, and inspect downloaded files before redistribution.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/redfox-data/skills/seedance-video-gen-redfox)\n- [RedFox API key settings](https://redfox.hk/settings/api-keys?source=clawhub)\n- [RedFoxHub](https://redfox.hk?source=github)\n\n## Skill Output:\n\n**Output Type(s):** [Shell commands, Files, Guidance]\n\n**Output Format:** [CLI status text with downloaded MP4 video files and optional task IDs, token usage, file paths, and last-frame URLs.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [The skill sends prompts and generation parameters to redfox.hk and downloads generated videos locally unless submit-only mode is used.]\n\n## Skill Version(s):\n\n1.0.4 (source: server release evidence)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nArchive v1.0.3: 4 files, 12279 bytes\n\nFiles: scripts/videogen.py (15533b), skill-card.md (2509b), SKILL.md (11372b), _meta.json (144b)\n\nFile v1.0.3:SKILL.md\n\n---\nname: seedance-video-gen\ndescription: 基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词/描述文案即可生成 MP4 视频。支持文生视频、分辨率/比例/时长控制、预置虚拟人像引用。使用 Seedance 视频生成、AI 视频、text-to-video 时调用此 Skill。\n---\n\n# Seedance2.0\n\n## 简介\n\nSeedance2.0是一款基于火山方舟 **Seedance 2.0** 模型的 AI 视频生成工具。通过 redfox.hk 平台封装了复杂的 ARK API 鉴权流程，**一行命令即可生成视频**。\n\n> **Skill 特色**\n>\n> - 支持命令行参数化控制分辨率、比例、时长\n> - 文生视频 + 虚拟人像引用双模式\n> - 内置公共 API Key，**约 10000 次免费额度**，开箱即用\n\n### 为什么用这个 Skill？\n\n- **对开发者**：无需去火山方舟申请白名单、配置 AK/SK、对接 ARK 鉴权，一行命令搞定\n- **对创作者**：不用买会员、不用绑卡订阅，按次消费，用完即走\n- **对所有人**：极低门槛，注册即用，无需自行搭建 API 链路\n\n### 适用对象\n\n社交媒体创作者、产品经理、内容运营人员、AI 爱好者，以及任何需要快速将文案转化为视频的用户。\n\n---\n\n## 功能特性\n\n### 核心功能\n\n- **文生视频**：输入一句中文或英文描述，Seedance 2.0 自动生成带有同步音频的 MP4 视频\n- **参数控制**：支持分辨率（480p/720p/1080p）、画面比例（16:9/9:16 等 7 种）、视频时长（4-15 秒）\n- **虚拟人像**：支持通过 `asset://` 格式引用预置虚拟人像，无需上传真实人脸素材\n- **任务管理**：支持提交任务后获取 taskId，可随时查询任务进度和结果\n- **自动轮询**：脚本自动轮询任务状态（排队中/生成中/已完成），无需手动等待\n\n### 技术亮点\n\n- 底层模型：`doubao-seedance-2-0-260128`\n- 同步音频生成：视频画面与声音同步输出\n- 尾帧提取：支持返回视频最后一帧，用于连续视频生成\n- 随机种子：支持设置 seed 值，结果可复现\n- HTTPS 安全传输：全链路 SSL 验证\n\n### 参数速查\n\n| 参数 | 说明 | 默认值 |\n|------|------|--------|\n| `prompt` | 视频提示词（必填，中英文均可） | — |\n| `--resolution` | 分辨率：`480p` / `720p` / `1080p` | `720p` |\n| `--ratio` | 画面比例：`16:9` / `4:3` / `1:1` / `3:4` / `9:16` / `21:9` / `adaptive` | `16:9` |\n| `--duration` | 视频时长（秒）：4-15 或 -1（智能） | `5` |\n| `--seed` | 随机种子：-1 到 2147483647 | `-1` |\n| `--no-audio` | 不生成声音 | 默认生成 |\n| `--watermark` | 添加水印 | 默认不添加 |\n| `--return-last-frame` | 返回尾帧图片 URL | 默认不返回 |\n| `--image-url` | 参考图 URL（`asset://` 格式） | — |\n| `-o, --output-dir` | 输出目录 | `~/Downloads/QoderVideos` |\n| `--prefix` | 文件名前缀 | `video` |\n| `--no-download` | 仅提交不等待 | — |\n| `--task-id` | 查询已有任务 | — |\n\n---\n\n## 使用场景\n\n### 场景一：社交媒体内容创作\n\n**角色**：短视频博主 / 小红书运营\n\n**需求**：快速生成竖屏（9:16）视频素材，用于抖音/小红书/视频号发布\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"美妆产品展示，柔和的灯光，产品缓缓旋转\" --ratio 9:16\n```\n\n**预期收益**：降低素材制作成本，从数小时缩短到几分钟\n\n---\n\n### 场景二：产品功能演示\n\n**角色**：产品经理 / 创业者\n\n**需求**：快速生成产品概念视频，用于提案、路演或展示\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一款智能手表在桌面上展示，表盘切换不同功能界面\" --resolution 1080p --duration 8\n```\n\n**预期收益**：无需专业视频制作能力，文案即视频\n\n---\n\n### 场景三：品牌内容运营\n\n**角色**：内容运营 / 市场人员\n\n**需求**：批量生成品牌配景视频，搭配文案制作品牌宣传短片\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"品牌主题色背景，文字渐变浮现，专业大气\" --ratio 16:9 --no-audio\n```\n\n**预期收益**：提升内容产出效率，统一品牌视觉风格\n\n---\n\n### 场景四：创意灵感快速验证\n\n**角色**：设计师 / 创意人员\n\n**需求**：将脑中的画面用自然语言快速变成可视化视频，验证创意方向\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"赛博朋克风格的城市夜景，霓虹灯闪烁，雨滴落在镜头上的效果\" --duration 6\n```\n\n**预期收益**：降低创意门槛，想法到视频只需一行命令\n\n---\n\n### 场景五：教育培训可视化\n\n**角色**：教师 / 培训师\n\n**需求**：将抽象知识点转化为可视化短片，提升教学效果\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"太阳系行星围绕太阳旋转的动画，标注每颗行星的名称\" --duration 10\n```\n\n**预期收益**：无需动画制作技能，知识可视化零门槛\n\n---\n\n## 首次使用\n\n\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一只橘猫在窗台上打哈欠，阳光温暖地照在它的毛上\"\n```\n\n---\n\n## 后续使用\n\n可前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 注册账号获取自己的 API Key，三种配置方式任选其一：\n\n| 配置方式 | 说明 | 命令 |\n|----------|------|------|\n| **环境变量**（推荐） | 设置一次，全局生效 | `export REDFOX_API_KEY=ak_你的密钥` |\n| **命令行参数** | 临时使用，单次生效 | `python3 \"$SKILL_PATH/scripts/videogen.py\" \"prompt\" --api-key ak_你的密钥` |\n| **配置文件** | 持久化存储，跨会话保留 | `mkdir -p ~/.qoder/apis && echo '{\"api_key\":\"ak_你的密钥\"}' > ~/.qoder/apis/redfox.json` |\n\n---\n\n## 一键安装\n\n### 依赖安装\n\n```bash\npip3 install requests\n```\n\n### 环境变量\n\n| 变量名 | 必填 | 说明 |\n|--------|------|------|\n| `REDFOX_API_KEY` | — | redfox.hk 平台的 API 访问密钥 |\n\n---\n\n## 使用指南\n\n### 基础使用\n\n#### 1. 输入提示词生成视频\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一只橘猫在窗台上打哈欠，阳光温暖地照在它的毛上\"\n```\n\n脚本会自动提交任务、轮询等待（约 3-15 分钟），完成后下载到 `~/Downloads/QoderVideos/`。\n\n#### 2. 查看结果\n\n生成成功后会显示视频信息和文件路径：\n\n```\n[✓] Video ready: 5s, 720p, 16:9\n[✓] Token usage: 108900\n[→] Downloading video: video.mp4\n[✓] Done!\n  /Users/you/Downloads/QoderVideos/video.mp4 (2.5 MB)\n```\n\n### 高级使用\n\n#### 竖屏短视频（适配抖音/小红书）\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"时尚都市夜景，霓虹灯闪烁\" --ratio 9:16\n```\n\n#### 高清长视频\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"海浪拍打岩石的慢动作\" --resolution 1080p --duration 10\n```\n\n#### 使用预置虚拟人像\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一位年轻女性在图书馆安静阅读\" --image-url \"asset://female_student_01\"\n```\n\n更多预置虚拟人像 ID 请参考火山方舟「素材&虚拟人像库」文档。\n\n#### 任务管理\n\n```bash\n# 仅提交任务，返回 taskId 后立即退出\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"复杂场景\" --no-download\n\n# 稍后用 taskId 查询结果\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"ignored\" --task-id vg_abc123def456\n```\n\n#### 多段连续视频生成\n\n```bash\n# 1. 生成第一段，获取尾帧\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"开场画面\" --return-last-frame\n\n# 2. 将返回的 lastFrameUrl 作为下一段的首帧\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"转场到第二个场景\" --image-url \"上一步的lastFrameUrl\"\n```\n\n### 命令速查\n\n| 命令 | 功能 |\n|------|------|\n| `python3 videogen.py \"提示词\"` | 基础文生视频 |\n| `--ratio 9:16` | 竖屏比例 |\n| `--resolution 1080p` | 高清分辨率 |\n| `--duration 10` | 指定时长 |\n| `--no-audio` | 静音视频 |\n| `--watermark` | 添加水印 |\n| `--seed 42` | 固定种子可复现 |\n| `--image-url \"asset://...\"` | 引用虚拟人像 |\n| `--no-download` | 仅提交任务 |\n| `--task-id <id>` | 查询已有任务 |\n| `--api-key <key>` | 指定 API Key |\n| `-o ~/Desktop` | 指定输出目录 |\n\n---\n\n## 项目架构\n\n### 目录结构\n\n```\nseedance-video-gen/\n├── SKILL.md              # Skill 定义与文档\n└── scripts/              # 工具脚本\n    └── videogen.py       # 视频生成主程序\n```\n\n### 技术栈\n\n| 组件 | 技术 |\n|------|------|\n| 运行环境 | Python 3.6+ |\n| HTTP 库 | requests |\n| API 平台 | redfox.hk |\n| 底层模型 | 火山方舟 Seedance 2.0 (doubao-seedance-2-0-260128) |\n| 输出格式 | MP4 |\n\n### 核心模块\n\n| 模块 | 职责 |\n|------|------|\n| `get_api_key()` | 三级优先级获取 API Key：CLI > 环境变量 > 配置文件 |\n| `submit_video_task()` | 构建 content 数组，提交视频生成任务 |\n| `poll_video_result()` | 轮询任务状态（queued/running/succeeded/failed/expired），最多 20 分钟 |\n| `download_video()` | 流式下载 MP4 视频，带进度条显示 |\n| `main()` | CLI 入口：参数解析、API Key 校验、双分支（提交/查询）流程 |\n\n### 数据流转\n\n```\n用户输入提示词 → submit_video_task() → redfox.hk API → 火山方舟 Seedance 2.0\n                                                                      ↓\n用户获得 MP4 ← download_video() ← poll_video_result() ← 任务完成回调\n```\n\n---\n\n## 常见问答\n\n### 安装相关问题\n\n**Q1：需要 API Key 吗？**\n\n\n**Q2：配置文件放在哪里？**\n\nA：放在 `~/.qoder/apis/redfox.json`，内容格式为：`{\"api_key\": \"ak_你的密钥\"}`。\n\n**Q3：如何验证 API Key 是否配置成功？**\n\nA：运行 `python3 videogen.py \"测试\" --no-download`，如果能返回 taskId 则配置成功。\n\n---\n\n### 使用相关问题\n\n**Q4：生成一个视频需要多久？**\n\nA：通常 3-15 分钟，复杂场景可能更长。脚本会自动轮询等待，最多等待 20 分钟。\n\n**Q5：支持上传自己的参考图吗？**\n\nA：Seedance 2.0 不支持直接上传含真人人脸的参考图/视频。如需指定人物外观，可在提示词中描述（如\"一位戴眼镜的亚洲女性\"），或使用预置虚拟人像库的 `asset://` URL。更多信息请参考火山方舟「素材&虚拟人像库」文档。\n\n**Q6：支持哪些提示词语言？**\n\nA：中英文均可，API 内部会自动处理。\n\n**Q7：输出文件保存在哪里？**\n\nA：默认保存到 `~/Downloads/QoderVideos/video.mp4`，可通过 `-o` 参数指定目录。\n\n---\n\n### 故障排除\n\n**Q8：任务超时了怎么办？**\n\nA：脚本最多等待 20 分钟。超时后会打印 taskId，你可以稍后通过 `--task-id` 参数重新查询并下载结果。\n\n**Q9：提示\"API request failed\"？**\n\nA：检查网络连接是否正常，确认 redfox.hk 服务可访问。如果持续失败，可能是 API Key 已过期或余额不足。\n\n**Q10：视频下载失败？**\n\nA：确认输出目录有写入权限，磁盘空间充足。如果 OSS 链接过期，可以用 `--task-id` 重新查询获取新的下载链接。\n\n---\n\n### 获取帮助\n\n如有其他问题，可前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 查看平台文档或联系客服。\n\nFile v1.0.3:_meta.json\n\n{\n  \"ownerId\": \"kn73hdehkbe5dwfzckzj8yhcw984t4cc\",\n  \"slug\": \"seedance-video-gen-redfox\",\n  \"version\": \"1.0.3\",\n  \"publishedAt\": 1781246259596\n}\n\nFile v1.0.3:skill-card.md\n\n## Description: <br>\n基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词/描述文案即可生成 MP4 视频。支持文生视频、分辨率/比例/时长控制、预置虚拟人像引用。使用 Seedance 视频生成、AI 视频、text-to-video 时调用此 Skill。 <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[redfox-data](https://clawhub.ai/user/redfox-data) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users, creators, product teams, educators, and developers use this skill to turn Chinese or English text prompts into short MP4 videos through the redfox.hk Seedance 2.0 workflow. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Video prompts and task IDs are sent to redfox.hk during generation and task lookup. <br>\nMitigation: Avoid submitting confidential, regulated, or sensitive prompt content unless redfox.hk processing is acceptable for the intended use. <br>\nRisk: Generated videos are saved locally by default and may include sensitive or unpublished creative material. <br>\nMitigation: Choose an appropriate output directory, protect generated files, and remove local outputs that should not be retained. <br>\nRisk: The built-in public API key may be used unless a key is passed explicitly. <br>\nMitigation: Use the --api-key option when a specific redfox.hk account key must be used for access control, billing, or auditability. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/redfox-data/seedance-video-gen-redfox) <br>\n- [redfox.hk API key settings](https://redfox.hk/settings/api-keys?source=clawhub) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, shell commands, configuration, code, guidance] <br>\n**Output Format:** [Markdown guidance with Python CLI commands; generated runs can save MP4 video files locally.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Supports prompt text, resolution, aspect ratio, duration, seed, audio, watermark, reference asset URL, output directory, task submission, and task lookup options.] <br>\n\n## Skill Version(s): <br>\n1.0.3 (source: server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nArchive v1.0.2: 6 files, 16724 bytes\n\nFiles: README.en.md (4172b), README.md (3824b), scripts/videogen.py (15823b), skill-card.md (2541b), SKILL.md (11956b), _meta.json (144b)\n\nFile v1.0.2:SKILL.md\n\n---\nname: seedance-video-gen\ndescription: 基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词/描述文案即可生成 MP4 视频。支持文生视频、分辨率/比例/时长控制、预置虚拟人像引用。使用 Seedance 视频生成、AI 视频、text-to-video 时调用此 Skill。\n---\n\n# seedance2.0开源版\n\n## 简介\n\nseedance2.0开源版是一款基于火山方舟 **Seedance 2.0** 模型的 AI 视频生成工具。通过 redfox.hk 平台封装了复杂的 ARK API 鉴权流程，**一行命令即可生成视频**。\n\n> **Skill 特色**\n>\n> - 内置公共 API Key，开箱即用，约 **10000 次免费额度**\n> - 无需额外订阅或绑定信用卡\n> - 支持命令行参数化控制分辨率、比例、时长\n> - 文生视频 + 虚拟人像引用双模式\n\n### 为什么用这个 Skill？\n\n- **对开发者**：无需去火山方舟申请白名单、配置 AK/SK、对接 ARK 鉴权，一行命令搞定\n- **对创作者**：不用买会员、不用绑卡订阅，按次消费，用完即走\n- **对所有人**：极低门槛，注册即用，无需自行搭建 API 链路\n\n### 适用对象\n\n社交媒体创作者、产品经理、内容运营人员、AI 爱好者，以及任何需要快速将文案转化为视频的用户。\n\n---\n\n## 功能特性\n\n### 核心功能\n\n- **文生视频**：输入一句中文或英文描述，Seedance 2.0 自动生成带有同步音频的 MP4 视频\n- **参数控制**：支持分辨率（480p/720p/1080p）、画面比例（16:9/9:16 等 7 种）、视频时长（4-15 秒）\n- **虚拟人像**：支持通过 `asset://` 格式引用预置虚拟人像，无需上传真实人脸素材\n- **任务管理**：支持提交任务后获取 taskId，可随时查询任务进度和结果\n- **自动轮询**：脚本自动轮询任务状态（排队中/生成中/已完成），无需手动等待\n\n### 技术亮点\n\n- 底层模型：`doubao-seedance-2-0-260128`\n- 同步音频生成：视频画面与声音同步输出\n- 尾帧提取：支持返回视频最后一帧，用于连续视频生成\n- 随机种子：支持设置 seed 值，结果可复现\n- HTTPS 安全传输：全链路 SSL 验证\n\n### 参数速查\n\n| 参数 | 说明 | 默认值 |\n|------|------|--------|\n| `prompt` | 视频提示词（必填，中英文均可） | — |\n| `--resolution` | 分辨率：`480p` / `720p` / `1080p` | `720p` |\n| `--ratio` | 画面比例：`16:9` / `4:3` / `1:1` / `3:4` / `9:16` / `21:9` / `adaptive` | `16:9` |\n| `--duration` | 视频时长（秒）：4-15 或 -1（智能） | `5` |\n| `--seed` | 随机种子：-1 到 2147483647 | `-1` |\n| `--no-audio` | 不生成声音 | 默认生成 |\n| `--watermark` | 添加水印 | 默认不添加 |\n| `--return-last-frame` | 返回尾帧图片 URL | 默认不返回 |\n| `--image-url` | 参考图 URL（`asset://` 格式） | — |\n| `-o, --output-dir` | 输出目录 | `~/Downloads/QoderVideos` |\n| `--prefix` | 文件名前缀 | `video` |\n| `--no-download` | 仅提交不等待 | — |\n| `--task-id` | 查询已有任务 | — |\n\n---\n\n## 使用场景\n\n### 场景一：社交媒体内容创作\n\n**角色**：短视频博主 / 小红书运营\n\n**需求**：快速生成竖屏（9:16）视频素材，用于抖音/小红书/视频号发布\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"美妆产品展示，柔和的灯光，产品缓缓旋转\" --ratio 9:16\n```\n\n**预期收益**：降低素材制作成本，从数小时缩短到几分钟\n\n---\n\n### 场景二：产品功能演示\n\n**角色**：产品经理 / 创业者\n\n**需求**：快速生成产品概念视频，用于提案、路演或展示\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一款智能手表在桌面上展示，表盘切换不同功能界面\" --resolution 1080p --duration 8\n```\n\n**预期收益**：无需专业视频制作能力，文案即视频\n\n---\n\n### 场景三：品牌内容运营\n\n**角色**：内容运营 / 市场人员\n\n**需求**：批量生成品牌配景视频，搭配文案制作品牌宣传短片\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"品牌主题色背景，文字渐变浮现，专业大气\" --ratio 16:9 --no-audio\n```\n\n**预期收益**：提升内容产出效率，统一品牌视觉风格\n\n---\n\n### 场景四：创意灵感快速验证\n\n**角色**：设计师 / 创意人员\n\n**需求**：将脑中的画面用自然语言快速变成可视化视频，验证创意方向\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"赛博朋克风格的城市夜景，霓虹灯闪烁，雨滴落在镜头上的效果\" --duration 6\n```\n\n**预期收益**：降低创意门槛，想法到视频只需一行命令\n\n---\n\n### 场景五：教育培训可视化\n\n**角色**：教师 / 培训师\n\n**需求**：将抽象知识点转化为可视化短片，提升教学效果\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"太阳系行星围绕太阳旋转的动画，标注每颗行星的名称\" --duration 10\n```\n\n**预期收益**：无需动画制作技能，知识可视化零门槛\n\n---\n\n## 首次使用\n\n**开箱即用 — 无需任何配置**\n\n脚本内置公共 API Key，提供约 **10000 次免费额度**。直接运行命令即可开始生成视频。\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一只橘猫在窗台上打哈欠，阳光温暖地照在它的毛上\"\n```\n\n---\n\n## 后续使用\n\n公共 Key 额度用完后，前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 注册账号获取自己的 API Key，三种配置方式任选其一：\n\n| 配置方式 | 说明 | 命令 |\n|----------|------|------|\n| **环境变量**（推荐） | 设置一次，全局生效 | `export REDFOX_API_KEY=ak_你的密钥` |\n| **命令行参数** | 临时使用，单次生效 | `python3 \"$SKILL_PATH/scripts/videogen.py\" \"prompt\" --api-key ak_你的密钥` |\n| **配置文件** | 持久化存储，跨会话保留 | `mkdir -p ~/.qoder/apis && echo '{\"api_key\":\"ak_你的密钥\"}' > ~/.qoder/apis/redfox.json` |\n\n---\n\n## 一键安装\n\n### 依赖安装\n\n```bash\npip3 install requests\n```\n\n### 环境变量\n\n| 变量名 | 必填 | 说明 |\n|--------|------|------|\n| `REDFOX_API_KEY` | — | redfox.hk 平台的 API 访问密钥（首次使用无需配置） |\n\n---\n\n## 使用指南\n\n### 基础使用\n\n#### 1. 输入提示词生成视频\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一只橘猫在窗台上打哈欠，阳光温暖地照在它的毛上\"\n```\n\n脚本会自动提交任务、轮询等待（约 3-15 分钟），完成后下载到 `~/Downloads/QoderVideos/`。\n\n#### 2. 查看结果\n\n生成成功后会显示视频信息和文件路径：\n\n```\n[✓] Video ready: 5s, 720p, 16:9\n[✓] Token usage: 108900\n[→] Downloading video: video.mp4\n[✓] Done!\n  /Users/you/Downloads/QoderVideos/video.mp4 (2.5 MB)\n```\n\n### 高级使用\n\n#### 竖屏短视频（适配抖音/小红书）\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"时尚都市夜景，霓虹灯闪烁\" --ratio 9:16\n```\n\n#### 高清长视频\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"海浪拍打岩石的慢动作\" --resolution 1080p --duration 10\n```\n\n#### 使用预置虚拟人像\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一位年轻女性在图书馆安静阅读\" --image-url \"asset://female_student_01\"\n```\n\n更多预置虚拟人像 ID 请参考火山方舟「素材&虚拟人像库」文档。\n\n#### 任务管理\n\n```bash\n# 仅提交任务，返回 taskId 后立即退出\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"复杂场景\" --no-download\n\n# 稍后用 taskId 查询结果\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"ignored\" --task-id vg_abc123def456\n```\n\n#### 多段连续视频生成\n\n```bash\n# 1. 生成第一段，获取尾帧\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"开场画面\" --return-last-frame\n\n# 2. 将返回的 lastFrameUrl 作为下一段的首帧\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"转场到第二个场景\" --image-url \"上一步的lastFrameUrl\"\n```\n\n### 命令速查\n\n| 命令 | 功能 |\n|------|------|\n| `python3 videogen.py \"提示词\"` | 基础文生视频 |\n| `--ratio 9:16` | 竖屏比例 |\n| `--resolution 1080p` | 高清分辨率 |\n| `--duration 10` | 指定时长 |\n| `--no-audio` | 静音视频 |\n| `--watermark` | 添加水印 |\n| `--seed 42` | 固定种子可复现 |\n| `--image-url \"asset://...\"` | 引用虚拟人像 |\n| `--no-download` | 仅提交任务 |\n| `--task-id <id>` | 查询已有任务 |\n| `--api-key <key>` | 指定 API Key |\n| `-o ~/Desktop` | 指定输出目录 |\n\n---\n\n## 项目架构\n\n### 目录结构\n\n```\nseedance-video-gen/\n├── SKILL.md              # Skill 定义与文档\n└── scripts/              # 工具脚本\n    └── videogen.py       # 视频生成主程序\n```\n\n### 技术栈\n\n| 组件 | 技术 |\n|------|------|\n| 运行环境 | Python 3.6+ |\n| HTTP 库 | requests |\n| API 平台 | redfox.hk |\n| 底层模型 | 火山方舟 Seedance 2.0 (doubao-seedance-2-0-260128) |\n| 输出格式 | MP4 |\n\n### 核心模块\n\n| 模块 | 职责 |\n|------|------|\n| `get_api_key()` | 三级优先级获取 API Key：CLI > 环境变量 > 配置文件 |\n| `submit_video_task()` | 构建 content 数组，提交视频生成任务 |\n| `poll_video_result()` | 轮询任务状态（queued/running/succeeded/failed/expired），最多 20 分钟 |\n| `download_video()` | 流式下载 MP4 视频，带进度条显示 |\n| `main()` | CLI 入口：参数解析、API Key 校验、双分支（提交/查询）流程 |\n\n### 数据流转\n\n```\n用户输入提示词 → submit_video_task() → redfox.hk API → 火山方舟 Seedance 2.0\n                                                                      ↓\n用户获得 MP4 ← download_video() ← poll_video_result() ← 任务完成回调\n```\n\n---\n\n## 常见问答\n\n### 安装相关问题\n\n**Q1：需要 API Key 吗？**\n\nA：**无需配置，开箱即用。** 脚本内置公共 API Key，约 10000 次免费额度。额度用完后，前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 注册获取个人 Key，通过环境变量、命令行参数或配置文件配置即可。详见上方「后续使用」章节。\n\n**Q2：配置文件放在哪里？**\n\nA：放在 `~/.qoder/apis/redfox.json`，内容格式为：`{\"api_key\": \"ak_你的密钥\"}`。\n\n**Q3：如何验证 API Key 是否配置成功？**\n\nA：运行 `python3 videogen.py \"测试\" --no-download`，如果能返回 taskId 则配置成功。\n\n---\n\n### 使用相关问题\n\n**Q4：生成一个视频需要多久？**\n\nA：通常 3-15 分钟，复杂场景可能更长。脚本会自动轮询等待，最多等待 20 分钟。\n\n**Q5：支持上传自己的参考图吗？**\n\nA：Seedance 2.0 不支持直接上传含真人人脸的参考图/视频。如需指定人物外观，可在提示词中描述（如\"一位戴眼镜的亚洲女性\"），或使用预置虚拟人像库的 `asset://` URL。更多信息请参考火山方舟「素材&虚拟人像库」文档。\n\n**Q6：支持哪些提示词语言？**\n\nA：中英文均可，API 内部会自动处理。\n\n**Q7：输出文件保存在哪里？**\n\nA：默认保存到 `~/Downloads/QoderVideos/video.mp4`，可通过 `-o` 参数指定目录。\n\n---\n\n### 故障排除\n\n**Q8：任务超时了怎么办？**\n\nA：脚本最多等待 20 分钟。超时后会打印 taskId，你可以稍后通过 `--task-id` 参数重新查询并下载结果。\n\n**Q9：提示\"API request failed\"？**\n\nA：检查网络连接是否正常，确认 redfox.hk 服务可访问。如果持续失败，可能是 API Key 已过期或余额不足。\n\n**Q10：视频下载失败？**\n\nA：确认输出目录有写入权限，磁盘空间充足。如果 OSS 链接过期，可以用 `--task-id` 重新查询获取新的下载链接。\n\n---\n\n### 获取帮助\n\n如有其他问题，可前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 查看平台文档或联系客服。\n\nFile v1.0.2:README.md\n\n# Seedance 视频生成 / seedance-video-gen\n\n---\n\n## 简介\n\n基于火山方舟 **Seedance 2.0** 模型的 AI 视频生成工具，输入文字描述即可生成带同步音频的 MP4 视频，内置免费额度，一行命令搞定。\n\n**核心价值**\n\n- 内置公共 API Key，约 **10000 次免费额度**，开箱即用，无需绑卡\n- 支持文生视频 + 虚拟人像引用双模式\n- 可控分辨率（480p/720p/1080p）、画面比例（7 种）、视频时长（4-15 秒）\n- 同步音频生成，视频画面与声音一体化输出\n\n**适用对象**\n\n- 🎬 短视频博主 — 竖屏视频素材快速生成，适配抖音/小红书\n- 🧑‍💼 产品经理 — 产品概念视频零制作门槛\n- 📢 内容运营 — 批量生成品牌配景视频\n- 🎨 创意人员 — 一行命令将想法变成视频\n\n---\n\n## 功能特性\n\n### 核心功能\n\n- **文生视频**：输入中英文描述，自动生成带同步音频的 MP4 视频\n- **参数控制**：分辨率（480p/720p/1080p）、画面比例（16:9/9:16/4:3/1:1/3:4/21:9/adaptive）、时长（4-15 秒）\n- **虚拟人像引用**：通过 `asset://` 格式引用预置虚拟人像，无需上传真实人脸素材\n- **任务管理**：支持异步提交 + taskId 查询\n- **自动轮询**：脚本自动轮询任务状态（排队中/生成中/已完成）\n- **尾帧提取**：支持返回视频最后一帧，用于连续视频生成\n\n### 特色亮点\n\n- 同步音频生成，视频自带声音，无需后期配音\n- 预置虚拟人像库，无需真人素材即可生成人物视频\n- 尾帧提取支持多段连续视频拼接\n- 内置免费额度，零配置即用\n\n---\n\n## 密钥获取与安全说明\n\n- 本技能需要使用环境变量：`REDFOX_API_KEY`。\n- `REDFOX_API_KEY` 由 [红狐 hub](https://redfox.hk/settings/api-keys?source=clawhub) (`https://redfox.hk`)提供。\n- 请前往 [红狐 hub](https://redfox.hk?source=clawhub) 注册账号，获取 `REDFOX_API_KEY`。\n- 配置设备环境变量 `REDFOX_API_KEY` 后使用本技能。\n- 在提供密钥前，请先确认密钥来源、可用范围、有效期及是否支持重置/撤销。\n- 禁止在代码、提示词、日志或输出文件中硬编码/明文暴露密钥。\n\n---\n\n## 使用指南\n\n直接用自然语言描述需求，无需记忆命令。\n\n### 常用说法速查\n\n| 意图 | 示例话术 | 效果 |\n| ---- | -------- | ---- |\n| 基础生成 | \"一只橘猫在窗台上打哈欠，阳光温暖\" | 生成一段 5 秒视频 |\n| 竖屏短视频 | \"时尚都市夜景，霓虹灯闪烁，竖屏\" | 9:16 竖屏视频 |\n| 高清长视频 | \"海浪拍打岩石的慢动作，1080p，8秒\" | 1080p 高清 8 秒视频 |\n| 静音视频 | \"品牌主题背景，文字渐变浮现，静音\" | 无音频视频 |\n| 虚拟人像 | \"一位年轻女性在图书馆安静阅读\" | 引用虚拟人像生成 |\n| 仅提交任务 | \"复杂场景，先提交不等待\" | 返回 taskId，稍后查询 |\n\n### 输出示例\n\n```\n[✓] Video ready: 5s, 720p, 16:9\n[✓] Token usage: 108900\n[→] Downloading video: video.mp4\n[✓] Done!\n  /Users/you/Downloads/QoderVideos/video.mp4 (2.5 MB)\n```\n\n---\n\n## 使用场景\n\n| 场景 | 角色 | 示例问法 | 收益 |\n| ---- | ---- | -------- | ---- |\n| 社交媒体内容 | 短视频博主 / 运营 | \"美妆产品展示，柔和灯光，竖屏\" | 素材制作从数小时缩短到几分钟 |\n| 产品功能演示 | 产品经理 | \"智能手表展示，切换不同功能界面，1080p\" | 无需专业视频制作能力 |\n| 品牌运营 | 内容运营 / 市场 | \"品牌主题背景，文字渐变，静音\" | 统一品牌视觉风格 |\n| 创意验证 | 设计师 | \"赛博朋克城市夜景，霓虹灯闪烁\" | 想法到视频一行命令 |\n| 教育可视化 | 教师 | \"太阳系行星旋转动画，10秒\" | 知识可视化零门槛 |\n\nFile v1.0.2:_meta.json\n\n{\n  \"ownerId\": \"kn73hdehkbe5dwfzckzj8yhcw984t4cc\",\n  \"slug\": \"seedance-video-gen-redfox\",\n  \"version\": \"1.0.2\",\n  \"publishedAt\": 1780987194288\n}\n\nFile v1.0.2:README.en.md\n\n# Seedance Video Generation / seedance-video-gen\n\n---\n\n## Introduction\n\nAn AI video generation tool powered by Volcano Engine's **Seedance 2.0** model. Input a text description to generate MP4 videos with synchronized audio. Built-in free quota — one command to create videos.\n\n**Core Value**\n\n- Built-in public API Key with approximately **10,000 free uses** — no card or subscription required\n- Text-to-video + virtual avatar dual mode\n- Controllable resolution (480p/720p/1080p), aspect ratio (7 options), and duration (4-15 seconds)\n- Synchronized audio generation — video and sound delivered as one\n\n**Who Is It For**\n\n- 🎬 Short video creators — portrait video assets for TikTok/Xiaohongshu\n- 🧑‍💼 Product managers — product concept videos with zero production barrier\n- 📢 Content operators — batch-generate branded background videos\n- 🎨 Creatives — turn ideas into video with a single command\n\n---\n\n## Features\n\n### Core Features\n\n- **Text-to-video**: input a Chinese or English description to auto-generate MP4 with synchronized audio\n- **Parameter control**: resolution (480p/720p/1080p), aspect ratio (16:9/9:16/4:3/1:1/3:4/21:9/adaptive), duration (4-15 seconds)\n- **Virtual avatar**: reference preset avatars via `asset://` format — no real face data needed\n- **Task management**: async submission + taskId query\n- **Auto polling**: script auto-polls task status (queued/generating/completed)\n- **Last frame extraction**: return the last frame for sequential video generation\n\n### Highlights\n\n- Synchronized audio — videos come with sound, no post-production dubbing needed\n- Preset virtual avatar library — generate human videos without real footage\n- Last frame extraction for multi-segment continuous video stitching\n- Built-in free quota — zero configuration, ready to use\n\n---\n\n## API Key Acquisition & Security\n\n- This skill requires the environment variable: `REDFOX_API_KEY`.\n- `REDFOX_API_KEY` is provided by [RedFoxHub](https://redfox.hk/settings/api-keys?source=clawhub) (`https://redfox.hk`).\n- Please register at [RedFoxHub](https://redfox.hk?source=clawhub) to obtain your `REDFOX_API_KEY`.\n- Configure the `REDFOX_API_KEY` environment variable on your device before using this skill.\n- Before providing a key, verify its source, scope of use, validity period, and whether it supports reset/revocation.\n- Do not hardcode or expose keys in plain text in code, prompts, logs, or output files.\n\n---\n\n## Usage Guide\n\nSimply describe what you need in natural language — no commands to memorize.\n\n### Quick Reference\n\n| Intent | Example | Result |\n| ------ | ------- | ------ |\n| Basic generation | \"an orange cat yawning on the windowsill, warm sunlight\" | Generate a 5-second video |\n| Portrait short video | \"fashionable city nightscape, neon lights, portrait mode\" | 9:16 portrait video |\n| HD long video | \"waves crashing on rocks in slow motion, 1080p, 8 seconds\" | 1080p HD 8-second video |\n| Silent video | \"brand-themed background, text fading in, silent\" | Video without audio |\n| Virtual avatar | \"a young woman reading quietly in the library\" | Generate with virtual avatar |\n| Submit only | \"complex scene, submit without waiting\" | Return taskId, query later |\n\n### Output Example\n\n```\n[✓] Video ready: 5s, 720p, 16:9\n[✓] Token usage: 108900\n[→] Downloading video: video.mp4\n[✓] Done!\n  /Users/you/Downloads/QoderVideos/video.mp4 (2.5 MB)\n```\n\n---\n\n## Use Cases\n\n| Scenario | Role | Example Prompt | Benefit |\n| -------- | ---- | -------------- | ------- |\n| Social media content | Short video creator | \"beauty product showcase, soft lighting, portrait\" | Production time from hours to minutes |\n| Product demo | Product manager | \"smartwatch showcasing different UI screens, 1080p\" | No video production skills needed |\n| Brand operations | Content / Marketing | \"brand-themed background, text animation, silent\" | Unified brand visual style |\n| Creative validation | Designer | \"cyberpunk city nightscape, neon lights\" | Idea to video in one command |\n| Education visualization | Teacher | \"solar system planets orbiting the sun, 10 seconds\" | Knowledge visualization with zero barrier |\n\nFile v1.0.2:skill-card.md\n\n## Description: <br>\n基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词/描述文案即可生成 MP4 视频。支持文生视频、分辨率/比例/时长控制、预置虚拟人像引用。 <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[redfox-data](https://clawhub.ai/user/redfox-data) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal creators, product managers, educators, content operators, and developers use this skill to turn text prompts into short MP4 videos with controlled resolution, aspect ratio, duration, audio, and optional virtual-avatar references. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Video prompts and referenced media are sent to a third-party RedFox/Seedance service. <br>\nMitigation: Use the skill only with prompts and media that are appropriate to share with that service. <br>\nRisk: The skill uses an API key and may also read it from a local configuration file. <br>\nMitigation: Prefer REDFOX_API_KEY or a protected secret store; restrict permissions on any local config file and avoid shared machines. <br>\nRisk: Generation jobs may consume quota or become billable when using a personal API key. <br>\nMitigation: Confirm the request and account terms before submitting generation jobs. <br>\nRisk: Generated videos are downloaded to local storage. <br>\nMitigation: Choose an appropriate output directory and manage generated media according to local privacy and retention requirements. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/redfox-data/seedance-video-gen-redfox) <br>\n- [RedFoxHub API keys](https://redfox.hk/settings/api-keys?source=clawhub) <br>\n- [RedFoxHub](https://redfox.hk?source=clawhub) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Shell commands, Files, Guidance, Configuration] <br>\n**Output Format:** [Markdown guidance with shell commands; generated video files are MP4] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [The script can return task IDs, status messages, token usage, local file paths, and optional last-frame URLs.] <br>\n\n## Skill Version(s): <br>\n1.0.2 (source: server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nArchive v1.0.1: 6 files, 17264 bytes\n\nFiles: README.en.md (4777b), README.md (4338b), scripts/videogen.py (16701b), skill-card.md (2667b), SKILL.md (11430b), _meta.json (144b)\n\nFile v1.0.1:SKILL.md\n\n---\nname: seedance-video-gen\ndescription: 基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词/描述文案即可生成 MP4 视频。支持文生视频、分辨率/比例/时长控制、预置虚拟人像引用。使用 Seedance 视频生成、AI 视频、text-to-video 时调用此 Skill。\n---\n\n# seedance2.0开源版\n\n## 简介\n\nseedance2.0开源版是一款基于火山方舟 **Seedance 2.0** 模型的 AI 视频生成工具。通过 redfox.hk 平台封装了复杂的 ARK API 鉴权流程，**一行命令即可生成视频**。\n\n### 为什么用这个 Skill？\n\n- **对开发者**：无需去火山方舟申请白名单、配置 AK/SK、对接 ARK 鉴权，一行命令搞定\n- **对创作者**：不用买会员、不用绑卡订阅，按次消费，用完即走\n- **对所有人**：极低门槛，注册即用，无需自行搭建 API 链路\n\n### 适用对象\n\n社交媒体创作者、产品经理、内容运营人员、AI 爱好者，以及任何需要快速将文案转化为视频的用户。\n\n---\n\n## 功能特性\n\n### 核心功能\n\n- **文生视频**：输入一句中文或英文描述，Seedance 2.0 自动生成带有同步音频的 MP4 视频\n- **参数控制**：支持分辨率（480p/720p/1080p）、画面比例（16:9/9:16 等 7 种）、视频时长（4-15 秒）\n- **虚拟人像**：支持通过 `asset://` 格式引用预置虚拟人像，无需上传真实人脸素材\n- **任务管理**：支持提交任务后获取 taskId，可随时查询任务进度和结果\n- **自动轮询**：脚本自动轮询任务状态（排队中/生成中/已完成），无需手动等待\n\n### 技术亮点\n\n- 底层模型：`doubao-seedance-2-0-260128`\n- 同步音频生成：视频画面与声音同步输出\n- 尾帧提取：支持返回视频最后一帧，用于连续视频生成\n- 随机种子：支持设置 seed 值，结果可复现\n- HTTPS 安全传输：全链路 SSL 验证\n\n### 参数速查\n\n| 参数 | 说明 | 默认值 |\n|------|------|--------|\n| `prompt` | 视频提示词（必填，中英文均可） | — |\n| `--resolution` | 分辨率：`480p` / `720p` / `1080p` | `720p` |\n| `--ratio` | 画面比例：`16:9` / `4:3` / `1:1` / `3:4` / `9:16` / `21:9` / `adaptive` | `16:9` |\n| `--duration` | 视频时长（秒）：4-15 或 -1（智能） | `5` |\n| `--seed` | 随机种子：-1 到 2147483647 | `-1` |\n| `--no-audio` | 不生成声音 | 默认生成 |\n| `--watermark` | 添加水印 | 默认不添加 |\n| `--return-last-frame` | 返回尾帧图片 URL | 默认不返回 |\n| `--image-url` | 参考图 URL（`asset://` 格式） | — |\n| `-o, --output-dir` | 输出目录 | `~/Downloads/QoderVideos` |\n| `--prefix` | 文件名前缀 | `video` |\n| `--no-download` | 仅提交不等待 | — |\n| `--task-id` | 查询已有任务 | — |\n\n---\n\n## 使用场景\n\n### 场景一：社交媒体内容创作\n\n**角色**：短视频博主 / 小红书运营\n\n**需求**：快速生成竖屏（9:16）视频素材，用于抖音/小红书/视频号发布\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"美妆产品展示，柔和的灯光，产品缓缓旋转\" --ratio 9:16\n```\n\n**预期收益**：降低素材制作成本，从数小时缩短到几分钟\n\n---\n\n### 场景二：产品功能演示\n\n**角色**：产品经理 / 创业者\n\n**需求**：快速生成产品概念视频，用于提案、路演或展示\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一款智能手表在桌面上展示，表盘切换不同功能界面\" --resolution 1080p --duration 8\n```\n\n**预期收益**：无需专业视频制作能力，文案即视频\n\n---\n\n### 场景三：品牌内容运营\n\n**角色**：内容运营 / 市场人员\n\n**需求**：批量生成品牌配景视频，搭配文案制作品牌宣传短片\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"品牌主题色背景，文字渐变浮现，专业大气\" --ratio 16:9 --no-audio\n```\n\n**预期收益**：提升内容产出效率，统一品牌视觉风格\n\n---\n\n### 场景四：创意灵感快速验证\n\n**角色**：设计师 / 创意人员\n\n**需求**：将脑中的画面用自然语言快速变成可视化视频，验证创意方向\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"赛博朋克风格的城市夜景，霓虹灯闪烁，雨滴落在镜头上的效果\" --duration 6\n```\n\n**预期收益**：降低创意门槛，想法到视频只需一行命令\n\n---\n\n### 场景五：教育培训可视化\n\n**角色**：教师 / 培训师\n\n**需求**：将抽象知识点转化为可视化短片，提升教学效果\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"太阳系行星围绕太阳旋转的动画，标注每颗行星的名称\" --duration 10\n```\n\n**预期收益**：无需动画制作技能，知识可视化零门槛\n\n---\n\n## 一键安装\n\n### 前置条件\n\n- Python 3.6+\n- 一个 redfox.hk 账号及其 API Key（前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 注册获取）\n\n### 依赖安装\n\n```bash\npip3 install requests\n```\n\n### API Key 配置（三选一）\n\n**方式一：环境变量（推荐）**\n\n设置一次 API Key，即可使用 Skill：\n\n```bash\nexport REDFOX_API_KEY=ak_你的密钥\n```\n\n**方式二：命令行参数**\n\n临时使用，单次生效：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"提示词\" --api-key ak_你的密钥\n```\n\n**方式三：配置文件**\n\n持久化存储，跨会话保留：\n\n```bash\nmkdir -p ~/.qoder/apis\necho '{\"api_key\":\"ak_你的密钥\"}' > ~/.qoder/apis/redfox.json\n```\n\n### 环境变量\n\n| 变量名 | 必填 | 说明 |\n|--------|------|------|\n| `REDFOX_API_KEY` | 是 | redfox.hk 平台的 API 访问密钥 |\n\n---\n\n## 使用指南\n\n### 基础使用\n\n#### 1. 配置 API Key\n\n按照上方\"一键安装\"中的任意一种方式配置你的 API Key。\n\n#### 2. 输入提示词生成视频\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一只橘猫在窗台上打哈欠，阳光温暖地照在它的毛上\"\n```\n\n脚本会自动提交任务、轮询等待（约 3-15 分钟），完成后下载到 `~/Downloads/QoderVideos/`。\n\n#### 3. 查看结果\n\n生成成功后会显示视频信息和文件路径：\n\n```\n[✓] Video ready: 5s, 720p, 16:9\n[✓] Token usage: 108900\n[→] Downloading video: video.mp4\n[✓] Done!\n  /Users/you/Downloads/QoderVideos/video.mp4 (2.5 MB)\n```\n\n### 高级使用\n\n#### 竖屏短视频（适配抖音/小红书）\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"时尚都市夜景，霓虹灯闪烁\" --ratio 9:16\n```\n\n#### 高清长视频\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"海浪拍打岩石的慢动作\" --resolution 1080p --duration 10\n```\n\n#### 使用预置虚拟人像\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一位年轻女性在图书馆安静阅读\" --image-url \"asset://female_student_01\"\n```\n\n更多预置虚拟人像 ID 请参考火山方舟「素材&虚拟人像库」文档。\n\n#### 任务管理\n\n```bash\n# 仅提交任务，返回 taskId 后立即退出\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"复杂场景\" --no-download\n\n# 稍后用 taskId 查询结果\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"ignored\" --task-id vg_abc123def456\n```\n\n#### 多段连续视频生成\n\n```bash\n# 1. 生成第一段，获取尾帧\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"开场画面\" --return-last-frame\n\n# 2. 将返回的 lastFrameUrl 作为下一段的首帧\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"转场到第二个场景\" --image-url \"上一步的lastFrameUrl\"\n```\n\n### 命令速查\n\n| 命令 | 功能 |\n|------|------|\n| `python3 videogen.py \"提示词\"` | 基础文生视频 |\n| `--ratio 9:16` | 竖屏比例 |\n| `--resolution 1080p` | 高清分辨率 |\n| `--duration 10` | 指定时长 |\n| `--no-audio` | 静音视频 |\n| `--watermark` | 添加水印 |\n| `--seed 42` | 固定种子可复现 |\n| `--image-url \"asset://...\"` | 引用虚拟人像 |\n| `--no-download` | 仅提交任务 |\n| `--task-id <id>` | 查询已有任务 |\n| `--api-key <key>` | 指定 API Key |\n| `-o ~/Desktop` | 指定输出目录 |\n\n---\n\n## 项目架构\n\n### 目录结构\n\n```\nseedance-video-gen/\n├── SKILL.md              # Skill 定义与文档\n└── scripts/              # 工具脚本\n    └── videogen.py       # 视频生成主程序\n```\n\n### 技术栈\n\n| 组件 | 技术 |\n|------|------|\n| 运行环境 | Python 3.6+ |\n| HTTP 库 | requests |\n| API 平台 | redfox.hk |\n| 底层模型 | 火山方舟 Seedance 2.0 (doubao-seedance-2-0-260128) |\n| 输出格式 | MP4 |\n\n### 核心模块\n\n| 模块 | 职责 |\n|------|------|\n| `get_api_key()` | 三级优先级获取 API Key：CLI > 环境变量 > 配置文件 |\n| `submit_video_task()` | 构建 content 数组，提交视频生成任务 |\n| `poll_video_result()` | 轮询任务状态（queued/running/succeeded/failed/expired），最多 20 分钟 |\n| `download_video()` | 流式下载 MP4 视频，带进度条显示 |\n| `main()` | CLI 入口：参数解析、API Key 校验、双分支（提交/查询）流程 |\n\n### 数据流转\n\n```\n用户输入提示词 → submit_video_task() → redfox.hk API → 火山方舟 Seedance 2.0\n                                                                      ↓\n用户获得 MP4 ← download_video() ← poll_video_result() ← 任务完成回调\n```\n\n---\n\n## 常见问答\n\n### 安装相关问题\n\n**Q1：提示\"未配置 API Key\"怎么办？**\n\nA：你需要先前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 注册账号获取 API Key，然后通过环境变量、命令行参数或配置文件三种方式之一配置。详见上方「一键安装」章节。\n\n**Q2：配置文件放在哪里？**\n\nA：放在 `~/.qoder/apis/redfox.json`，内容格式为：`{\"api_key\": \"ak_你的密钥\"}`。\n\n**Q3：如何验证 API Key 是否配置成功？**\n\nA：运行 `python3 videogen.py \"测试\" --no-download`，如果能返回 taskId 则配置成功。\n\n---\n\n### 使用相关问题\n\n**Q4：生成一个视频需要多久？**\n\nA：通常 3-15 分钟，复杂场景可能更长。脚本会自动轮询等待，最多等待 20 分钟。\n\n**Q5：支持上传自己的参考图吗？**\n\nA：Seedance 2.0 不支持直接上传含真人人脸的参考图/视频。如需指定人物外观，可在提示词中描述（如\"一位戴眼镜的亚洲女性\"），或使用预置虚拟人像库的 `asset://` URL。更多信息请参考火山方舟「素材&虚拟人像库」文档。\n\n**Q6：支持哪些提示词语言？**\n\nA：中英文均可，API 内部会自动处理。\n\n**Q7：输出文件保存在哪里？**\n\nA：默认保存到 `~/Downloads/QoderVideos/video.mp4`，可通过 `-o` 参数指定目录。\n\n---\n\n### 故障排除\n\n**Q8：任务超时了怎么办？**\n\nA：脚本最多等待 20 分钟。超时后会打印 taskId，你可以稍后通过 `--task-id` 参数重新查询并下载结果。\n\n**Q9：提示\"API request failed\"？**\n\nA：检查网络连接是否正常，确认 redfox.hk 服务可访问。如果持续失败，可能是 API Key 已过期或余额不足。\n\n**Q10：视频下载失败？**\n\nA：确认输出目录有写入权限，磁盘空间充足。如果 OSS 链接过期，可以用 `--task-id` 重新查询获取新的下载链接。\n\n---\n\n### 获取帮助\n\n如有其他问题，可前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 查看平台文档或联系客服。\n\nFile v1.0.1:README.md\n\n# seedance2.0开源版 / seedance-video-gen\n\n---\n\n## 简介\n\n基于火山方舟 **Seedance 2.0** 模型的 AI 视频生成工具，输入一句描述即可生成带同步音频的 MP4 视频——无需搭建 API、无需申请白名单，一行命令搞定。\n\n**核心价值**\n\n- **零门槛上手**：不用去火山方舟配置 AK/SK、对接 ARK 鉴权，注册 redfox.hk 即可使用。\n- **按需消费**：不买会员、不绑卡订阅，按次计费，用完即走。\n- **全链路封装**：从任务提交、状态轮询到视频下载，一条命令自动完成。\n\n**适用对象**\n\n- 🎬 **短视频博主 / 小红书运营** — 快速生成竖屏素材，降低内容制作成本。\n- 💼 **产品经理 / 创业者** — 文案即视频，无需专业制作能力即可提案展示。\n- 🎨 **设计师 / 创意人员** — 想法到视频一行命令，快速验证创意方向。\n- 📚 **教师 / 培训师** — 知识可视化零门槛，抽象概念变直观短片。\n\n---\n\n## 功能特性\n\n### 核心功能\n\n- **文生视频**：输入一句中文或英文描述，自动生成带同步音频的 MP4 视频。\n- **灵活参数控制**：支持分辨率（480p / 720p / 1080p）、画面比例（7 种可选）、视频时长（4–15 秒）自由组合。\n- **预置虚拟人像**：通过 `asset://` 格式引用预置虚拟人像，无需上传真实人脸素材。\n- **任务自动管理**：提交任务后自动轮询状态（排队中 → 生成中 → 已完成），无需手动等待。\n- **多段连续生成**：支持提取视频尾帧作为下一段首帧，实现场景衔接。\n\n### 特色亮点\n\n- **同步音频**：视频画面与声音同步输出，无需后期配音。\n- **结果可复现**：支持设置随机种子 seed，相同参数可复现同一视频。\n- **全链路 SSL 验证**：HTTPS 安全传输，数据全链路加密。\n\n---\n\n## 密钥获取与安全说明\n\n- 本技能需要使用环境变量：`REDFOX_API_KEY`。\n- `REDFOX_API_KEY` 由 [红狐 hub](https://redfox.hk/settings/api-keys?source=clawhub) (`https://redfox.hk`)提供。\n- 请前往 [红狐 hub](https://redfox.hk?source=clawhub) 注册账号，获取 `REDFOX_API_KEY`。\n- 配置设备环境变量 `REDFOX_API_KEY` 后使用本技能。\n- 在提供密钥前，请先确认密钥来源、可用范围、有效期及是否支持重置/撤销。\n- 禁止在代码、提示词、日志或输出文件中硬编码/明文暴露密钥。\n\n---\n\n## 使用指南\n\n直接用自然语言描述你想生成的视频画面即可，无需记忆固定命令。\n\n### 常用说法速查\n\n| 意图 | 示例话术 | 效果 |\n| --- | --- | --- |\n| 基础生成 | 「帮我生成一段视频：一只橘猫在窗台上打哈欠，阳光温暖」 | 默认 720p、16:9、5 秒视频 |\n| 竖屏短视频 | 「生成竖屏 9:16 的都市夜景视频」 | 自动适配抖音/小红书竖屏比例 |\n| 高清长视频 | 「1080p 海浪慢动作，10 秒」 | 高清分辨率 + 指定时长 |\n| 静音视频 | 「品牌主题背景，不要声音」 | 生成无音频的纯画面视频 |\n| 查询已有任务 | 「查一下之前提交的视频任务好了没」 | 轮询已有任务并下载结果 |\n\n### 输出示例\n\n生成完成后，你将看到类似信息：\n\n```\n[✓] Video ready: 5s, 720p, 16:9\n[✓] Token usage: 108900\n[→] Downloading video: video.mp4\n[✓] Done!\n  ~/Downloads/QoderVideos/video.mp4 (2.5 MB)\n```\n\n视频自动下载至 `~/Downloads/QoderVideos/` 目录，可直接打开播放。\n\n---\n\n## 使用场景\n\n| 场景 | 角色 | 示例问法 | 收益 |\n| --- | --- | --- | --- |\n| 社交媒体素材 | 短视频博主 / 小红书运营 | 「生成竖屏美妆产品展示视频」 | 降低素材制作成本，从数小时缩短到几分钟 |\n| 产品功能演示 | 产品经理 / 创业者 | 「生成智能手表功能展示视频，1080p」 | 无需视频制作能力，文案即视频 |\n| 品牌内容运营 | 内容运营 / 市场人员 | 「生成品牌主题背景视频，静音」 | 提升产出效率，统一品牌视觉 |\n| 创意灵感验证 | 设计师 / 创意人员 | 「赛博朋克城市夜景，霓虹灯闪烁」 | 想法到视频一行命令 |\n| 教育培训可视化 | 教师 / 培训师 | 「太阳系行星旋转动画，10 秒」 | 无需动画技能，知识可视化零门槛 |\n\n---\n\nFile v1.0.1:_meta.json\n\n{\n  \"ownerId\": \"kn73hdehkbe5dwfzckzj8yhcw984t4cc\",\n  \"slug\": \"seedance-video-gen-redfox\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1780572179879\n}\n\nFile v1.0.1:README.en.md\n\n# Seedance Video Generator / seedance-video-gen\n\n---\n\n## Overview\n\nAn AI video generation tool powered by the **Seedance 2.0** model from Volcengine ARK. Simply describe what you want and get an MP4 video with synchronized audio — no API setup, no whitelist application, just one command.\n\n**Core Value**\n\n- **Zero barrier to start**: No need to configure AK/SK or integrate ARK authentication on Volcengine — just sign up at redfox.hk and go.\n- **Pay per use**: No membership, no card binding, no subscription — pay only for what you generate.\n- **End-to-end automation**: From task submission and status polling to video download, everything runs in a single command.\n\n**Intended Users**\n\n- 🎬 **Short-video creators / social media operators** — Quickly generate vertical video assets at a fraction of the production cost.\n- 💼 **Product managers / entrepreneurs** — Turn copy into video for pitches and demos without professional production skills.\n- 🎨 **Designers / creatives** — Go from idea to video in one command to validate creative directions fast.\n- 📚 **Educators / trainers** — Visualize abstract concepts as short clips with zero animation expertise.\n\n---\n\n## Features\n\n### Core Capabilities\n\n- **Text-to-video**: Enter a prompt in Chinese or English and automatically generate an MP4 video with synchronized audio.\n- **Flexible parameter control**: Mix and match resolution (480p / 720p / 1080p), aspect ratio (7 options), and duration (4–15 seconds).\n- **Built-in virtual avatars**: Reference preset virtual avatars via `asset://` URIs — no real face uploads required.\n- **Automatic task management**: After submission, the task status (queued → generating → completed) is polled automatically — no manual waiting.\n- **Multi-clip chaining**: Extract the last frame of one video to use as the first frame of the next for seamless scene transitions.\n\n### Highlights\n\n- **Synchronized audio**: Video and sound are generated together — no post-production dubbing needed.\n- **Reproducible results**: Set a seed value to regenerate the same video with identical parameters.\n- **Full SSL verification**: HTTPS transport with end-to-end encryption for all data.\n\n---\n\n## API Key Acquisition & Security\n\n- This skill requires the environment variable: `REDFOX_API_KEY`.\n- `REDFOX_API_KEY` is issued by [RedFoxHub](https://redfox.hk/settings/api-keys?source=clawhub) (`https://redfox.hk`)\n- Register at [RedFoxHub](https://redfox.hk?source=clawhub) to obtain `REDFOX_API_KEY`.\n- Configure `REDFOX_API_KEY` on your device before using this skill.\n- Before providing your key, confirm its source, scope, validity period, and whether it can be reset or revoked.\n- Do not hard-code or expose keys in plain text in code, prompts, logs, or output files.\n\n---\n\n## Usage Guide\n\nSimply describe the video scene you want in natural language — no fixed commands to memorize.\n\n### Quick Reference\n\n| Intent | Example phrase | Result |\n| --- | --- | --- |\n| Basic generation | \"Generate a video: an orange cat yawning on the windowsill in warm sunlight\" | Default 720p, 16:9, 5-second video |\n| Vertical short clip | \"Generate a 9:16 vertical city night scene video\" | Auto-adapts to TikTok / Xiaohongshu portrait ratio |\n| HD long clip | \"1080p ocean waves in slow motion, 10 seconds\" | High resolution with specified duration |\n| Silent video | \"Brand-themed background, no audio\" | Pure visuals without audio track |\n| Check existing task | \"Check if my previously submitted video task is done\" | Polls the existing task and downloads the result |\n\n### Output Example\n\nOnce generation is complete, you will see something like:\n\n```\n[✓] Video ready: 5s, 720p, 16:9\n[✓] Token usage: 108900\n[→] Downloading video: video.mp4\n[✓] Done!\n  ~/Downloads/QoderVideos/video.mp4 (2.5 MB)\n```\n\nThe video is automatically downloaded to `~/Downloads/QoderVideos/` and ready to play.\n\n---\n\n## Use Cases\n\n| Scenario | Role | Example question | Benefit |\n| --- | --- | --- | --- |\n| Social media assets | Short-video creator / social operator | \"Generate a vertical product showcase video for beauty\" | Cut production cost from hours to minutes |\n| Product demo | Product manager / entrepreneur | \"Generate a smartwatch feature demo video, 1080p\" | No video production skills needed — copy is the video |\n| Brand content ops | Content ops / marketing | \"Generate a brand-themed background video, silent\" | Boost output efficiency with consistent brand visuals |\n| Creative validation | Designer / creative | \"Cyberpunk city at night, neon lights flickering\" | Idea to video in one command |\n| Education visualization | Educator / trainer | \"Solar system planets orbiting the sun, 10 seconds\" | Knowledge visualization with zero animation skills |\n\n---\n\nFile v1.0.1:skill-card.md\n\n## Description: <br>\n基于 Seedance 2.0 模型的 AI 视频生成器，可将中文或英文文本提示转换为带同步音频的 MP4 视频，并支持分辨率、比例、时长、随机种子和预置虚拟人像引用等参数控制。 <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[redfox-data](https://clawhub.ai/user/redfox-data) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nContent creators, marketers, product teams, educators, designers, and developers use this skill to submit text-to-video generation tasks through RedFox, monitor completion, and download generated MP4 clips for creative, demo, education, or social media workflows. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Video prompts and generation settings are sent to redfox.hk/Seedance and may use paid RedFox credits. <br>\nMitigation: Use the skill only when that data sharing and credit usage are acceptable, and review prompts and generation parameters before submission. <br>\nRisk: The skill requires a RedFox API key and can read it from a command-line argument, environment variable, or local config file. <br>\nMitigation: Prefer REDFOX_API_KEY as an environment variable, avoid placing secrets in shell history or plaintext files, and rotate or revoke keys if exposed. <br>\nRisk: Generated videos may be downloaded automatically to ~/Downloads/QoderVideos. <br>\nMitigation: Change the output directory or use --no-download when local video files should not be saved automatically. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/redfox-data/seedance-video-gen-redfox) <br>\n- [RedFox API key settings](https://redfox.hk/settings/api-keys?source=clawhub) <br>\n- [RedFox](https://redfox.hk?source=clawhub) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Shell commands, Configuration, Text, Files] <br>\n**Output Format:** [CLI text output with generated MP4 video files and optional task identifiers or last-frame URLs] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Requires REDFOX_API_KEY. Defaults to saving generated videos under ~/Downloads/QoderVideos unless the output directory is changed, and supports a no-download mode for task submission only.] <br>\n\n## Skill Version(s): <br>\n1.0.1 (source: server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nArchive v1.0.0: 6 files, 17197 bytes\n\nFiles: README.en.md (4775b), README.md (4340b), scripts/videogen.py (16701b), skill-card.md (2577b), SKILL.md (11438b), _meta.json (144b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: seedance-video-gen\ndescription: 基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词/描述文案即可生成 MP4 视频。支持文生视频、分辨率/比例/时长控制、预置虚拟人像引用。使用 Seedance 视频生成、AI 视频、text-to-video 时调用此 Skill。\n---\n\n# Seedance 视频生成器\n\n## 简介\n\nSeedance 视频生成器是一款基于火山方舟 **Seedance 2.0** 模型的 AI 视频生成工具。通过 redfox.hk 平台封装了复杂的 ARK API 鉴权流程，**一行命令即可生成视频**。\n\n### 为什么用这个 Skill？\n\n- **对开发者**：无需去火山方舟申请白名单、配置 AK/SK、对接 ARK 鉴权，一行命令搞定\n- **对创作者**：不用买会员、不用绑卡订阅，按次消费，用完即走\n- **对所有人**：极低门槛，注册即用，无需自行搭建 API 链路\n\n### 适用对象\n\n社交媒体创作者、产品经理、内容运营人员、AI 爱好者，以及任何需要快速将文案转化为视频的用户。\n\n---\n\n## 功能特性\n\n### 核心功能\n\n- **文生视频**：输入一句中文或英文描述，Seedance 2.0 自动生成带有同步音频的 MP4 视频\n- **参数控制**：支持分辨率（480p/720p/1080p）、画面比例（16:9/9:16 等 7 种）、视频时长（4-15 秒）\n- **虚拟人像**：支持通过 `asset://` 格式引用预置虚拟人像，无需上传真实人脸素材\n- **任务管理**：支持提交任务后获取 taskId，可随时查询任务进度和结果\n- **自动轮询**：脚本自动轮询任务状态（排队中/生成中/已完成），无需手动等待\n\n### 技术亮点\n\n- 底层模型：`doubao-seedance-2-0-260128`\n- 同步音频生成：视频画面与声音同步输出\n- 尾帧提取：支持返回视频最后一帧，用于连续视频生成\n- 随机种子：支持设置 seed 值，结果可复现\n- HTTPS 安全传输：全链路 SSL 验证\n\n### 参数速查\n\n| 参数 | 说明 | 默认值 |\n|------|------|--------|\n| `prompt` | 视频提示词（必填，中英文均可） | — |\n| `--resolution` | 分辨率：`480p` / `720p` / `1080p` | `720p` |\n| `--ratio` | 画面比例：`16:9` / `4:3` / `1:1` / `3:4` / `9:16` / `21:9` / `adaptive` | `16:9` |\n| `--duration` | 视频时长（秒）：4-15 或 -1（智能） | `5` |\n| `--seed` | 随机种子：-1 到 2147483647 | `-1` |\n| `--no-audio` | 不生成声音 | 默认生成 |\n| `--watermark` | 添加水印 | 默认不添加 |\n| `--return-last-frame` | 返回尾帧图片 URL | 默认不返回 |\n| `--image-url` | 参考图 URL（`asset://` 格式） | — |\n| `-o, --output-dir` | 输出目录 | `~/Downloads/QoderVideos` |\n| `--prefix` | 文件名前缀 | `video` |\n| `--no-download` | 仅提交不等待 | — |\n| `--task-id` | 查询已有任务 | — |\n\n---\n\n## 使用场景\n\n### 场景一：社交媒体内容创作\n\n**角色**：短视频博主 / 小红书运营\n\n**需求**：快速生成竖屏（9:16）视频素材，用于抖音/小红书/视频号发布\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"美妆产品展示，柔和的灯光，产品缓缓旋转\" --ratio 9:16\n```\n\n**预期收益**：降低素材制作成本，从数小时缩短到几分钟\n\n---\n\n### 场景二：产品功能演示\n\n**角色**：产品经理 / 创业者\n\n**需求**：快速生成产品概念视频，用于提案、路演或展示\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一款智能手表在桌面上展示，表盘切换不同功能界面\" --resolution 1080p --duration 8\n```\n\n**预期收益**：无需专业视频制作能力，文案即视频\n\n---\n\n### 场景三：品牌内容运营\n\n**角色**：内容运营 / 市场人员\n\n**需求**：批量生成品牌配景视频，搭配文案制作品牌宣传短片\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"品牌主题色背景，文字渐变浮现，专业大气\" --ratio 16:9 --no-audio\n```\n\n**预期收益**：提升内容产出效率，统一品牌视觉风格\n\n---\n\n### 场景四：创意灵感快速验证\n\n**角色**：设计师 / 创意人员\n\n**需求**：将脑中的画面用自然语言快速变成可视化视频，验证创意方向\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"赛博朋克风格的城市夜景，霓虹灯闪烁，雨滴落在镜头上的效果\" --duration 6\n```\n\n**预期收益**：降低创意门槛，想法到视频只需一行命令\n\n---\n\n### 场景五：教育培训可视化\n\n**角色**：教师 / 培训师\n\n**需求**：将抽象知识点转化为可视化短片，提升教学效果\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"太阳系行星围绕太阳旋转的动画，标注每颗行星的名称\" --duration 10\n```\n\n**预期收益**：无需动画制作技能，知识可视化零门槛\n\n---\n\n## 一键安装\n\n### 前置条件\n\n- Python 3.6+\n- 一个 redfox.hk 账号及其 API Key（前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 注册获取）\n\n### 依赖安装\n\n```bash\npip3 install requests\n```\n\n### API Key 配置（三选一）\n\n**方式一：环境变量（推荐）**\n\n设置一次 API Key，即可使用 Skill：\n\n```bash\nexport REDFOX_API_KEY=ak_你的密钥\n```\n\n**方式二：命令行参数**\n\n临时使用，单次生效：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"提示词\" --api-key ak_你的密钥\n```\n\n**方式三：配置文件**\n\n持久化存储，跨会话保留：\n\n```bash\nmkdir -p ~/.qoder/apis\necho '{\"api_key\":\"ak_你的密钥\"}' > ~/.qoder/apis/redfox.json\n```\n\n### 环境变量\n\n| 变量名 | 必填 | 说明 |\n|--------|------|------|\n| `REDFOX_API_KEY` | 是 | redfox.hk 平台的 API 访问密钥 |\n\n---\n\n## 使用指南\n\n### 基础使用\n\n#### 1. 配置 API Key\n\n按照上方\"一键安装\"中的任意一种方式配置你的 API Key。\n\n#### 2. 输入提示词生成视频\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一只橘猫在窗台上打哈欠，阳光温暖地照在它的毛上\"\n```\n\n脚本会自动提交任务、轮询等待（约 3-15 分钟），完成后下载到 `~/Downloads/QoderVideos/`。\n\n#### 3. 查看结果\n\n生成成功后会显示视频信息和文件路径：\n\n```\n[✓] Video ready: 5s, 720p, 16:9\n[✓] Token usage: 108900\n[→] Downloading video: video.mp4\n[✓] Done!\n  /Users/you/Downloads/QoderVideos/video.mp4 (2.5 MB)\n```\n\n### 高级使用\n\n#### 竖屏短视频（适配抖音/小红书）\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"时尚都市夜景，霓虹灯闪烁\" --ratio 9:16\n```\n\n#### 高清长视频\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"海浪拍打岩石的慢动作\" --resolution 1080p --duration 10\n```\n\n#### 使用预置虚拟人像\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一位年轻女性在图书馆安静阅读\" --image-url \"asset://female_student_01\"\n```\n\n更多预置虚拟人像 ID 请参考火山方舟「素材&虚拟人像库」文档。\n\n#### 任务管理\n\n```bash\n# 仅提交任务，返回 taskId 后立即退出\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"复杂场景\" --no-download\n\n# 稍后用 taskId 查询结果\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"ignored\" --task-id vg_abc123def456\n```\n\n#### 多段连续视频生成\n\n```bash\n# 1. 生成第一段，获取尾帧\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"开场画面\" --return-last-frame\n\n# 2. 将返回的 lastFrameUrl 作为下一段的首帧\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"转场到第二个场景\" --image-url \"上一步的lastFrameUrl\"\n```\n\n### 命令速查\n\n| 命令 | 功能 |\n|------|------|\n| `python3 videogen.py \"提示词\"` | 基础文生视频 |\n| `--ratio 9:16` | 竖屏比例 |\n| `--resolution 1080p` | 高清分辨率 |\n| `--duration 10` | 指定时长 |\n| `--no-audio` | 静音视频 |\n| `--watermark` | 添加水印 |\n| `--seed 42` | 固定种子可复现 |\n| `--image-url \"asset://...\"` | 引用虚拟人像 |\n| `--no-download` | 仅提交任务 |\n| `--task-id <id>` | 查询已有任务 |\n| `--api-key <key>` | 指定 API Key |\n| `-o ~/Desktop` | 指定输出目录 |\n\n---\n\n## 项目架构\n\n### 目录结构\n\n```\nseedance-video-gen/\n├── SKILL.md              # Skill 定义与文档\n└── scripts/              # 工具脚本\n    └── videogen.py       # 视频生成主程序\n```\n\n### 技术栈\n\n| 组件 | 技术 |\n|------|------|\n| 运行环境 | Python 3.6+ |\n| HTTP 库 | requests |\n| API 平台 | redfox.hk |\n| 底层模型 | 火山方舟 Seedance 2.0 (doubao-seedance-2-0-260128) |\n| 输出格式 | MP4 |\n\n### 核心模块\n\n| 模块 | 职责 |\n|------|------|\n| `get_api_key()` | 三级优先级获取 API Key：CLI > 环境变量 > 配置文件 |\n| `submit_video_task()` | 构建 content 数组，提交视频生成任务 |\n| `poll_video_result()` | 轮询任务状态（queued/running/succeeded/failed/expired），最多 20 分钟 |\n| `download_video()` | 流式下载 MP4 视频，带进度条显示 |\n| `main()` | CLI 入口：参数解析、API Key 校验、双分支（提交/查询）流程 |\n\n### 数据流转\n\n```\n用户输入提示词 → submit_video_task() → redfox.hk API → 火山方舟 Seedance 2.0\n                                                                      ↓\n用户获得 MP4 ← download_video() ← poll_video_result() ← 任务完成回调\n```\n\n---\n\n## 常见问答\n\n### 安装相关问题\n\n**Q1：提示\"未配置 API Key\"怎么办？**\n\nA：你需要先前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 注册账号获取 API Key，然后通过环境变量、命令行参数或配置文件三种方式之一配置。详见上方「一键安装」章节。\n\n**Q2：配置文件放在哪里？**\n\nA：放在 `~/.qoder/apis/redfox.json`，内容格式为：`{\"api_key\": \"ak_你的密钥\"}`。\n\n**Q3：如何验证 API Key 是否配置成功？**\n\nA：运行 `python3 videogen.py \"测试\" --no-download`，如果能返回 taskId 则配置成功。\n\n---\n\n### 使用相关问题\n\n**Q4：生成一个视频需要多久？**\n\nA：通常 3-15 分钟，复杂场景可能更长。脚本会自动轮询等待，最多等待 20 分钟。\n\n**Q5：支持上传自己的参考图吗？**\n\nA：Seedance 2.0 不支持直接上传含真人人脸的参考图/视频。如需指定人物外观，可在提示词中描述（如\"一位戴眼镜的亚洲女性\"），或使用预置虚拟人像库的 `asset://` URL。更多信息请参考火山方舟「素材&虚拟人像库」文档。\n\n**Q6：支持哪些提示词语言？**\n\nA：中英文均可，API 内部会自动处理。\n\n**Q7：输出文件保存在哪里？**\n\nA：默认保存到 `~/Downloads/QoderVideos/video.mp4`，可通过 `-o` 参数指定目录。\n\n---\n\n### 故障排除\n\n**Q8：任务超时了怎么办？**\n\nA：脚本最多等待 20 分钟。超时后会打印 taskId，你可以稍后通过 `--task-id` 参数重新查询并下载结果。\n\n**Q9：提示\"API request failed\"？**\n\nA：检查网络连接是否正常，确认 redfox.hk 服务可访问。如果持续失败，可能是 API Key 已过期或余额不足。\n\n**Q10：视频下载失败？**\n\nA：确认输出目录有写入权限，磁盘空间充足。如果 OSS 链接过期，可以用 `--task-id` 重新查询获取新的下载链接。\n\n---\n\n### 获取帮助\n\n如有其他问题，可前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 查看平台文档或联系客服。\n\nFile v1.0.0:README.md\n\n# Seedance 视频生成器 / seedance-video-gen\n\n---\n\n## 简介\n\n基于火山方舟 **Seedance 2.0** 模型的 AI 视频生成工具，输入一句描述即可生成带同步音频的 MP4 视频——无需搭建 API、无需申请白名单，一行命令搞定。\n\n**核心价值**\n\n- **零门槛上手**：不用去火山方舟配置 AK/SK、对接 ARK 鉴权，注册 redfox.hk 即可使用。\n- **按需消费**：不买会员、不绑卡订阅，按次计费，用完即走。\n- **全链路封装**：从任务提交、状态轮询到视频下载，一条命令自动完成。\n\n**适用对象**\n\n- 🎬 **短视频博主 / 小红书运营** — 快速生成竖屏素材，降低内容制作成本。\n- 💼 **产品经理 / 创业者** — 文案即视频，无需专业制作能力即可提案展示。\n- 🎨 **设计师 / 创意人员** — 想法到视频一行命令，快速验证创意方向。\n- 📚 **教师 / 培训师** — 知识可视化零门槛，抽象概念变直观短片。\n\n---\n\n## 功能特性\n\n### 核心功能\n\n- **文生视频**：输入一句中文或英文描述，自动生成带同步音频的 MP4 视频。\n- **灵活参数控制**：支持分辨率（480p / 720p / 1080p）、画面比例（7 种可选）、视频时长（4–15 秒）自由组合。\n- **预置虚拟人像**：通过 `asset://` 格式引用预置虚拟人像，无需上传真实人脸素材。\n- **任务自动管理**：提交任务后自动轮询状态（排队中 → 生成中 → 已完成），无需手动等待。\n- **多段连续生成**：支持提取视频尾帧作为下一段首帧，实现场景衔接。\n\n### 特色亮点\n\n- **同步音频**：视频画面与声音同步输出，无需后期配音。\n- **结果可复现**：支持设置随机种子 seed，相同参数可复现同一视频。\n- **全链路 SSL 验证**：HTTPS 安全传输，数据全链路加密。\n\n---\n\n## 密钥获取与安全说明\n\n- 本技能需要使用环境变量：`REDFOX_API_KEY`。\n- `REDFOX_API_KEY` 由 [红狐 hub](https://redfox.hk/settings/api-keys?souce=clawhub) (`https://redfox.hk`)提供。\n- 请前往 [红狐 hub](https://redfox.hk?souce=clawhub) 注册账号，获取 `REDFOX_API_KEY`。\n- 配置设备环境变量 `REDFOX_API_KEY` 后使用本技能。\n- 在提供密钥前，请先确认密钥来源、可用范围、有效期及是否支持重置/撤销。\n- 禁止在代码、提示词、日志或输出文件中硬编码/明文暴露密钥。\n\n---\n\n## 使用指南\n\n直接用自然语言描述你想生成的视频画面即可，无需记忆固定命令。\n\n### 常用说法速查\n\n| 意图 | 示例话术 | 效果 |\n| --- | --- | --- |\n| 基础生成 | 「帮我生成一段视频：一只橘猫在窗台上打哈欠，阳光温暖」 | 默认 720p、16:9、5 秒视频 |\n| 竖屏短视频 | 「生成竖屏 9:16 的都市夜景视频」 | 自动适配抖音/小红书竖屏比例 |\n| 高清长视频 | 「1080p 海浪慢动作，10 秒」 | 高清分辨率 + 指定时长 |\n| 静音视频 | 「品牌主题背景，不要声音」 | 生成无音频的纯画面视频 |\n| 查询已有任务 | 「查一下之前提交的视频任务好了没」 | 轮询已有任务并下载结果 |\n\n### 输出示例\n\n生成完成后，你将看到类似信息：\n\n```\n[✓] Video ready: 5s, 720p, 16:9\n[✓] Token usage: 108900\n[→] Downloading video: video.mp4\n[✓] Done!\n  ~/Downloads/QoderVideos/video.mp4 (2.5 MB)\n```\n\n视频自动下载至 `~/Downloads/QoderVideos/` 目录，可直接打开播放。\n\n---\n\n## 使用场景\n\n| 场景 | 角色 | 示例问法 | 收益 |\n| --- | --- | --- | --- |\n| 社交媒体素材 | 短视频博主 / 小红书运营 | 「生成竖屏美妆产品展示视频」 | 降低素材制作成本，从数小时缩短到几分钟 |\n| 产品功能演示 | 产品经理 / 创业者 | 「生成智能手表功能展示视频，1080p」 | 无需视频制作能力，文案即视频 |\n| 品牌内容运营 | 内容运营 / 市场人员 | 「生成品牌主题背景视频，静音」 | 提升产出效率，统一品牌视觉 |\n| 创意灵感验证 | 设计师 / 创意人员 | 「赛博朋克城市夜景，霓虹灯闪烁」 | 想法到视频一行命令 |\n| 教育培训可视化 | 教师 / 培训师 | 「太阳系行星旋转动画，10 秒」 | 无需动画技能，知识可视化零门槛 |\n\n---\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn73hdehkbe5dwfzckzj8yhcw984t4cc\",\n  \"slug\": \"seedance-video-gen-redfox\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1780567025223\n}\n\nFile v1.0.0:README.en.md\n\n# Seedance Video Generator / seedance-video-gen\n\n---\n\n## Overview\n\nAn AI video generation tool powered by the **Seedance 2.0** model from Volcengine ARK. Simply describe what you want and get an MP4 video with synchronized audio — no API setup, no whitelist application, just one command.\n\n**Core Value**\n\n- **Zero barrier to start**: No need to configure AK/SK or integrate ARK authentication on Volcengine — just sign up at redfox.hk and go.\n- **Pay per use**: No membership, no card binding, no subscription — pay only for what you generate.\n- **End-to-end automation**: From task submission and status polling to video download, everything runs in a single command.\n\n**Intended Users**\n\n- 🎬 **Short-video creators / social media operators** — Quickly generate vertical video assets at a fraction of the production cost.\n- 💼 **Product managers / entrepreneurs** — Turn copy into video for pitches and demos without professional production skills.\n- 🎨 **Designers / creatives** — Go from idea to video in one command to validate creative directions fast.\n- 📚 **Educators / trainers** — Visualize abstract concepts as short clips with zero animation expertise.\n\n---\n\n## Features\n\n### Core Capabilities\n\n- **Text-to-video**: Enter a prompt in Chinese or English and automatically generate an MP4 video with synchronized audio.\n- **Flexible parameter control**: Mix and match resolution (480p / 720p / 1080p), aspect ratio (7 options), and duration (4–15 seconds).\n- **Built-in virtual avatars**: Reference preset virtual avatars via `asset://` URIs — no real face uploads required.\n- **Automatic task management**: After submission, the task status (queued → generating → completed) is polled automatically — no manual waiting.\n- **Multi-clip chaining**: Extract the last frame of one video to use as the first frame of the next for seamless scene transitions.\n\n### Highlights\n\n- **Synchronized audio**: Video and sound are generated together — no post-production dubbing needed.\n- **Reproducible results**: Set a seed value to regenerate the same video with identical parameters.\n- **Full SSL verification**: HTTPS transport with end-to-end encryption for all data.\n\n---\n\n## API Key Acquisition & Security\n\n- This skill requires the environment variable: `REDFOX_API_KEY`.\n- `REDFOX_API_KEY` is issued by [RedFoxHub](https://redfox.hk/settings/api-keys?souce=clawhub) (`https://redfox.hk`)\n- Register at [RedFoxHub](https://redfox.hk?souce=clawhub) to obtain `REDFOX_API_KEY`.\n- Configure `REDFOX_API_KEY` on your device before using this skill.\n- Before providing your key, confirm its source, scope, validity period, and whether it can be reset or revoked.\n- Do not hard-code or expose keys in plain text in code, prompts, logs, or output files.\n\n---\n\n## Usage Guide\n\nSimply describe the video scene you want in natural language — no fixed commands to memorize.\n\n### Quick Reference\n\n| Intent | Example phrase | Result |\n| --- | --- | --- |\n| Basic generation | \"Generate a video: an orange cat yawning on the windowsill in warm sunlight\" | Default 720p, 16:9, 5-second video |\n| Vertical short clip | \"Generate a 9:16 vertical city night scene video\" | Auto-adapts to TikTok / Xiaohongshu portrait ratio |\n| HD long clip | \"1080p ocean waves in slow motion, 10 seconds\" | High resolution with specified duration |\n| Silent video | \"Brand-themed background, no audio\" | Pure visuals without audio track |\n| Check existing task | \"Check if my previously submitted video task is done\" | Polls the existing task and downloads the result |\n\n### Output Example\n\nOnce generation is complete, you will see something like:\n\n```\n[✓] Video ready: 5s, 720p, 16:9\n[✓] Token usage: 108900\n[→] Downloading video: video.mp4\n[✓] Done!\n  ~/Downloads/QoderVideos/video.mp4 (2.5 MB)\n```\n\nThe video is automatically downloaded to `~/Downloads/QoderVideos/` and ready to play.\n\n---\n\n## Use Cases\n\n| Scenario | Role | Example question | Benefit |\n| --- | --- | --- | --- |\n| Social media assets | Short-video creator / social operator | \"Generate a vertical product showcase video for beauty\" | Cut production cost from hours to minutes |\n| Product demo | Product manager / entrepreneur | \"Generate a smartwatch feature demo video, 1080p\" | No video production skills needed — copy is the video |\n| Brand content ops | Content ops / marketing | \"Generate a brand-themed background video, silent\" | Boost output efficiency with consistent brand visuals |\n| Creative validation | Designer / creative | \"Cyberpunk city at night, neon lights flickering\" | Idea to video in one command |\n| Education visualization | Educator / trainer | \"Solar system planets orbiting the sun, 10 seconds\" | Knowledge visualization with zero animation skills |\n\n---\n\nFile v1.0.0:skill-card.md\n\n## Description: <br>\n基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词或描述文案即可生成 MP4 视频，并支持分辨率、比例、时长、音频、虚拟人像引用和任务查询控制。 <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[redfox-data](https://clawhub.ai/user/redfox-data) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nCreators, marketers, product managers, designers, educators, and developers use this skill to turn Chinese or English prompts into short Seedance 2.0 videos for social content, product demos, brand assets, creative validation, and instructional visualization. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: The skill requires a RedFox API key and uses paid video generation. <br>\nMitigation: Prefer REDFOX_API_KEY in the environment, avoid storing keys in persistent config when possible, and confirm the key source, scope, validity, and revocation path before use. <br>\nRisk: Video prompts and generation settings are sent to redfox.hk and underlying providers. <br>\nMitigation: Avoid sensitive, private, regulated, or confidential prompts and review provider terms before submitting generation requests. <br>\nRisk: Generated media is downloaded locally and may be opened or shared outside the agent session. <br>\nMitigation: Review the output directory and generated MP4 content before opening, distributing, or relying on the media. <br>\n\n\n## Reference(s): <br>\n- [Seedance 视频生成器 on ClawHub](https://clawhub.ai/redfox-data/seedance-video-gen-redfox) <br>\n- [RedFox API keys](https://redfox.hk/settings/api-keys?source=clawhub) <br>\n- [RedFox](https://redfox.hk?source=clawhub) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [shell commands, configuration, text, files] <br>\n**Output Format:** [Terminal text with downloaded MP4 video files and optional task metadata] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Generated videos are downloaded to a local output directory by default; users can submit without downloading, query an existing task, or request the last-frame URL for clip chaining.] <br>\n\n## Skill Version(s): <br>\n1.0.0 (source: server release metadata) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>","readmeExcerpt":"Skill: seedance2.0开源版 Owner: redfox-data Summary: 基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词/描述文案即可生成 MP4 视频。支持文生视频、分辨率/比例/时长控制、预置虚拟人像引用。使用 Seedance 视频生成、AI 视频、text-to-video 时调用此 Skill。 Tags: latest:1.0.4 Version history: v1.0.4 | 2026-06-17T08:40:51.672Z | user - Added English and Chinese README files for improved documentation and user guidance. - Removed the skill-card.md file to streamline documentation. - Documentation ","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"python3 \"$SKILL_PATH/scripts/videogen.py\" \"美妆产品展示，柔和的灯光，产品缓缓旋转\" --ratio 9:16"},{"language":"bash","snippet":"python3 \"$SKILL_PATH/scripts/videogen.py\" \"一款智能手表在桌面上展示，表盘切换不同功能界面\" --resolution 1080p --duration 8"},{"language":"bash","snippet":"python3 \"$SKILL_PATH/scripts/videogen.py\" \"品牌主题色背景，文字渐变浮现，专业大气\" --ratio 16:9 --no-audio"},{"language":"bash","snippet":"python3 \"$SKILL_PATH/scripts/videogen.py\" \"赛博朋克风格的城市夜景，霓虹灯闪烁，雨滴落在镜头上的效果\" --duration 6"},{"language":"bash","snippet":"python3 \"$SKILL_PATH/scripts/videogen.py\" \"太阳系行星围绕太阳旋转的动画，标注每颗行星的名称\" --duration 10"},{"language":"bash","snippet":"# 设置环境变量\nexport REDFOX_API_KEY=ak_你的密钥\n\n# 运行\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一只橘猫在窗台上打哈欠，阳光温暖地照在它的毛上\""}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: seedance-video-gen\ndescription: 基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词/描述文案即可生成 MP4 视频。支持文生视频、分辨率/比例/时长控制、预置虚拟人像引用。使用 Seedance 视频生成、AI 视频、text-to-video 时调用此 Skill。\n---\n\n# Seedance2.0\n\n## 简介\n\nSeedance2.0是一款基于火山方舟 **Seedance 2.0** 模型的 AI 视频生成工具。通过 redfox.hk 平台封装了复杂的 ARK API 鉴权流程，**一行命令即可生成视频**。\n\n> **Skill 特色**\n>\n> - 支持命令行参数化控制分辨率、比例、时长\n> - 文生视频 + 虚拟人像引用双模式\n\n### 为什么用这个 Skill？\n\n- **对开发者**：无需去火山方舟申请白名单、配置 AK/SK、对接 ARK 鉴权，一行命令搞定\n- **对创作者**：不用买会员、不用绑卡订阅，按次消费，用完即走\n- **对所有人**：极低门槛，注册即用，无需自行搭建 API 链路\n\n### 适用对象\n\n社交媒体创作者、产品经理、内容运营人员、AI 爱好者，以及任何需要快速将文案转化为视频的用户。\n\n---\n\n## 功能特性\n\n### 核心功能\n\n- **文生视频**：输入一句中文或英文描述，Seedance 2.0 自动生成带有同步音频的 MP4 视频\n- **参数控制**：支持分辨率（480p/720p/1080p）、画面比例（16:9/9:16 等 7 种）、视频时长（4-15 秒）\n- **虚拟人像**：支持通过 `asset://` 格式引用预置虚拟人像，无需上传真实人脸素材\n- **任务管理**：支持提交任务后获取 taskId，可随时查询任务进度和结果\n- **自动轮询**：脚本自动轮询任务状态（排队中/生成中/已完成），无需手动等待\n\n### 技术亮点\n\n- 底层模型：`doubao-seedance-2-0-260128`\n- 同步音频生成：视频画面与声音同步输出\n- 尾帧提取：支持返回视频最后一帧，用于连续视频生成\n- 随机种子：支持设置 seed 值，结果可复现\n- HTTPS 安全传输：全链路 SSL 验证\n\n### 参数速查\n\n| 参数 | 说明 | 默认值 |\n|------|------|--------|\n| `prompt` | 视频提示词（必填，中英文均可） | — |\n| `--resolution` | 分辨率：`480p` / `720p` / `1080p` | `720p` |\n| `--ratio` | 画面比例：`16:9` / `4:3` / `1:1` / `3:4` / `9:16` / `21:9` / `adaptive` | `16:9` |\n| `--duration` | 视频时长（秒）：4-15 或 -1（智能） | `5` |\n| `--seed` | 随机种子：-1 到 2147483647 | `-1` |\n| `--no-audio` | 不生成声音 | 默认生成 |\n| `--watermark` | 添加水印 | 默认不添加 |\n| `--return-last-frame` | 返回尾帧图片 URL | 默认不返回 |\n| `--image-url` | 参考图 URL（`asset://` 格式） | — |\n| `-o, --output-dir` | 输出目录 | `~/Downloads/QoderVideos` |\n| `--prefix` | 文件名前缀 | `video` |\n| `--no-download` | 仅提交不等待 | — |\n| `--task-id` | 查询已有任务 | — |\n\n---\n\n## 使用场景\n\n### 场景一：社交媒体内容创作\n\n**角色**：短视频博主 / 小红书运营\n\n**需求**：快速生成竖屏（9:16）视频素材，用于抖音/小红书/视频号发布\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"美妆产品展示，柔和的灯光，产品缓缓旋转\" --ratio 9:16\n```\n\n**预期收益**：降低素材制作成本，从数小时缩短到几分钟\n\n---\n\n### 场景二：产品功能演示\n\n**角色**：产品经理 / 创业者\n\n**需求**：快速生成产品概念视频，用于提案、路演或展示\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一款智能手表在桌面上展示，表盘切换不同功能界面\" --resolution 1080p --duration 8\n```\n\n**预期收益**：无需专业视频制作能力，文案即视频\n\n---\n\n### 场景三：品牌内容运营\n\n**角色**：内容运营 / 市场人员\n\n**需求**：批量生成品牌配景视频，搭配文案制作品牌宣传短片\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"品牌主题色背景，文字渐变浮现，专业大气\" --ratio 16:9 --no-audio\n```\n\n**预期收益**：提升内容产出效率，统一品牌视觉风格\n\n---\n\n### 场景四：创意灵感快速验证\n\n**角色**：设计师 / 创意人员\n\n**需求**：将脑中的画面用自然语言快速变成可视化视频，验证创意方向\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"赛博朋克风格的城市夜景，霓虹灯闪烁，雨滴落在镜头上的效果\" --duration 6\n```\n\n**预期收益**：降低创意门槛，想法到视频只需一行命令\n\n---\n\n### 场景五：教育培训可视化\n\n**角色**：教师 / 培训师\n\n**需求**：将抽象知识点转化为可视化短片，提升教学效果\n\n**使用方式**：\n\n```bash\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"太阳系行星围绕太阳旋转的动画，标注每颗行星的名称\" --duration 10\n```\n\n**预期收益**：无需动画制作技能，知识可视化零门槛\n\n---\n\n## 首次使用\n\n配置 API Key 后即可使用：\n\n```bash\n# 设置环境变量\nexport REDFOX_API_KEY=ak_你的密钥\n\n# 运行\npython3 \"$SKILL_PATH/scripts/videogen.py\" \"一只橘猫在窗台上打哈欠，阳光温暖地照在它的毛上\"\n```\n\n> 前往 [redfox.hk](https://redfox.hk/settings/api-keys?source=clawhub) 注册获取 API Key。\n\n---\n\n## 后续使用\n\n可前往 [redfox.hk](https://redfox.hk"},{"path":"README.md","content":"# Seedance2.0 / seedance-video-gen\n\n---\n\n## 简介\n\n基于火山方舟 Seedance 2.0 模型的 AI 视频生成器，一行命令即可生成 MP4 视频。\n\n**核心价值**\n\n- **文生视频**：输入中文或英文描述，自动生成带同步音频的 MP4 视频\n- **参数可控**：支持分辨率（480p/720p/1080p）、画面比例（7 种）、时长（4-15 秒）\n- **虚拟人像**：支持引用预置虚拟人像，无需上传真实人脸素材\n\n**适用对象**\n\n- 🎬 **短视频创作者** — 快速生成竖屏视频素材，用于抖音/小红书/视频号\n- 📦 **产品经理** — 生成产品概念视频，用于提案或路演展示\n- 🎨 **创意人员** — 将脑中的画面用自然语言快速变成可视化视频\n\n---\n\n## 功能特性\n\n### 核心功能\n\n- **文生视频**：输入提示词，Seedance 2.0 自动生成带同步音频的 MP4\n- **参数控制**：分辨率、画面比例、视频时长均可自定义\n- **虚拟人像**：支持引用预置虚拟人像，无需上传真实人脸素材\n- **自动轮询**：脚本自动等待任务完成，无需手动刷新\n- **任务管理**：支持仅提交任务获取 taskId，稍后查询下载\n\n---\n\n## 密钥获取与安全说明\n\n- 本技能需要使用环境变量：`REDFOX_API_KEY`。\n- `REDFOX_API_KEY` 由 [红狐 hub](https://redfox.hk/settings/api-keys?source=clawhub) (`https://redfox.hk`)提供。\n- 请前往 [红狐 hub](https://redfox.hk?source=github) 注册账号，获取 `REDFOX_API_KEY`。\n- 配置设备环境变量 `REDFOX_API_KEY` 后使用本技能。\n- 在提供密钥前，请先确认密钥来源、可用范围、有效期及是否支持重置/撤销。\n- 禁止在代码、提示词、日志或输出文件中硬编码/明文暴露密钥。\n\n---\n\n## 使用指南\n\n直接用自然语言描述你想要的视频画面即可。\n\n### 常用说法速查\n\n| 意图 | 示例话术 | 效果 |\n|------|---------|------|\n| 文生视频 | 「生成一只橘猫在窗台上打哈欠的视频」 | 提交任务，自动生成 MP4 视频 |\n| 竖屏短视频 | 「生成竖屏的城市夜景视频」 | 9:16 比例，适配抖音/小红书 |\n| 高清长视频 | 「生成 1080p 的风景视频，10 秒」 | 高画质长时长输出 |\n| 查询进度 | 「查询任务 XXX 的视频生成结果」 | 按 taskId 查询并下载已完成视频 |\n\n---\n\n## 使用场景\n\n| 场景 | 角色 | 示例问法 | 收益 |\n|------|------|---------|------|\n| 社交媒体创作 | 短视频博主 | 「生成竖屏美妆产品展示视频」 | 快速产出视频素材，降低制作成本 |\n| 产品演示 | 产品经理 | 「生成智能手表功能演示视频」 | 无需专业制作能力，文案即视频 |\n| 创意验证 | 设计师 | 「生成赛博朋克风格的城市夜景」 | 想法到视频只需一行命令 |\n| 品牌运营 | 内容运营 | 「生成品牌主题背景视频」 | 统一视觉风格，提升产出效率 |"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn73hdehkbe5dwfzckzj8yhcw984t4cc\",\n  \"slug\": \"seedance-video-gen-redfox\",\n  \"version\": \"1.0.4\",\n  \"publishedAt\": 1781685651672\n}"},{"path":"README.en.md","content":"# Seedance2.0 / seedance-video-gen\n\n---\n\n## Overview\n\nAn AI video generator based on the Volcano Engine Seedance 2.0 model. Generate MP4 videos with a single command.\n\n**Core Value**\n\n- **Text-to-Video**: Enter Chinese or English descriptions to auto-generate MP4 videos with synchronized audio\n- **Full Control**: Adjustable resolution (480p/720p/1080p), aspect ratio (7 options), and duration (4-15 seconds)\n- **Virtual Avatars**: Reference preset virtual avatars without uploading real face assets\n\n**Target Users**\n\n- 🎬 **Short Video Creators** — Quickly generate vertical video assets for Douyin/Xiaohongshu/WeChat Channels\n- 📦 **Product Managers** — Generate product concept videos for proposals and demos\n- 🎨 **Creative Professionals** — Turn ideas into visual videos with natural language\n\n---\n\n## Features\n\n### Core Features\n\n- **Text-to-Video**: Enter a prompt and Seedance 2.0 generates an MP4 with synchronized audio\n- **Parameter Control**: Customize resolution, aspect ratio, and video duration\n- **Virtual Avatars**: Reference preset virtual avatars without uploading real face assets\n- **Auto-Polling**: The script automatically waits for task completion, no manual refresh needed\n- **Task Management**: Submit-only mode with taskId for later query and download\n\n---\n\n## API Key Acquisition & Security\n\n- This skill requires the environment variable: `REDFOX_API_KEY`.\n- `REDFOX_API_KEY` is provided by [RedFoxHub](https://redfox.hk/settings/api-keys?source=clawhub) (`https://redfox.hk`).\n- Please visit [RedFoxHub](https://redfox.hk?source=github) to register and obtain your `REDFOX_API_KEY`.\n- Configure the environment variable `REDFOX_API_KEY` on your device before using this skill.\n- Before providing your key, verify its source, available scope, validity period, and whether it supports reset/revocation.\n- Do not hardcode or expose the key in plaintext within code, prompts, logs, or output files.\n\n---\n\n## Usage Guide\n\nSimply describe the video scene you want in natural language.\n\n### Quick Reference\n\n| Intent | Example | Result |\n|--------|---------|--------|\n| Text-to-Video | \"Generate a video of an orange cat yawning on a windowsill\" | Submits task, auto-generates MP4 video |\n| Vertical Short Video | \"Generate a vertical city nightscape video\" | 9:16 aspect ratio for Douyin/Xiaohongshu |\n| HD Long Video | \"Generate a 1080p landscape video, 10 seconds\" | High-quality long-duration output |\n| Query Progress | \"Check the result of video task XXX\" | Query and download completed video by taskId |\n\n---\n\n## Use Cases\n\n| Scenario | Role | Example Prompt | Benefit |\n|----------|------|---------------|---------|\n| Social media creation | Short video creator | \"Generate a vertical cosmetics product demo video\" | Quick video asset production, lower costs |\n| Product demo | Product manager | \"Generate a smartwatch feature demo video\" | No professional skills needed, text-to-video |\n| Creative validation | Designer | \"Generate a cyberpunk city nightscape\" | Fro"},{"path":"skill-card.md","content":"## Description:\n\nAn AI video-generation skill based on Seedance 2.0 that turns Chinese or English prompts into MP4 videos with configurable resolution, aspect ratio, duration, audio, watermarking, task polling, and optional preset virtual avatar references.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[redfox-data](https://clawhub.ai/user/redfox-data)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal creators, product teams, marketers, educators, designers, and developers use this skill to generate short MP4 video assets from natural-language prompts and to query or download existing video-generation tasks.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Video prompts, task parameters, and generated media are sent to redfox.hk and upstream video providers.\n\nMitigation: Avoid sensitive, confidential, regulated, or personal content in prompts and review data-handling requirements before use.\n\nRisk: API keys may be exposed through command-line arguments, plaintext configuration files, logs, or download-session behavior.\n\nMitigation: Prefer REDFOX_API_KEY in the environment, avoid --api-key and plaintext config files for shared systems, rotate exposed keys, and review the download-session issue before higher-trust use.\n\nRisk: Downloaded video filenames are user-configurable and the security evidence calls out filename-prefix concerns.\n\nMitigation: Use simple trusted prefixes, write only to expected output directories, and inspect downloaded files before redistribution.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/redfox-data/skills/seedance-video-gen-redfox)\n- [RedFox API key settings](https://redfox.hk/settings/api-keys?source=clawhub)\n- [RedFoxHub](https://redfox.hk?source=github)\n\n## Skill Output:\n\n**Output Type(s):** [Shell commands, Files, Guidance]\n\n**Output Format:** [CLI status text with downloaded MP4 video files and optional task IDs, token usage, file paths, and last-frame URLs.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [The skill sends prompts and generation parameters to redfox.hk and downloads generated videos locally unless submit-only mode is used.]\n\n## Skill Version(s):\n\n1.0.4 (source: server release evidence)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词/描述文案即可生成 MP4 视频。支持文生视频、分辨率/比例/时长控制、预置虚拟人像引用。使用 Seedance 视频生成、AI 视频、text-to-video 时调用此 Skill。 Skill: seedance2.0开源版 Owner: redfox-data Summary: 基于 Seedance 2.0 模型的 AI 视频生成器，输入关键词/描述文案即可生成 MP4 视频。支持文生视频、分辨率/比例/时长控制、预置虚拟人像引用。使用 Seedance 视频生成、AI 视频、text-to-video 时调用此 Skill。 Tags: latest:1.0.4 Version history: v1.0.4 | 2026-06-17T08:40:51.672Z | user - Added English and Chinese README files for improved documentation and user guidance. - Removed the skill-card.md file to streamline documentation. - Documentation","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":1285,"uniquenessScore":50,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T04:21:08.503Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-11T04:21:08.503Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-11T07:41:11.721Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}