yikart/aitoearn

video-generationyikart/aitoearn / skills/doubao-skill-aitoearn/skills/video-generation/SKILL.md

Generate, edit, or extend videos with Seedance models via list_video_generation_models and generate_video; optimizes prompts per model's conventions.

  • SKILL.md 已保存
  • 英文来源资料
  • 安装与运行未实测
先判断是否解决你的问题

video-generation 是什么?

Generate, edit, or extend videos with Seedance models via list_video_generation_models and generate_video; optimizes prompts per model's conventions. Use when user asks to create, edit, extend, or storyboard a video, or mentions seedance / text-to-video / image-to-video / video-to-video.

以上为来源原文,中文用途说明尚待整理。

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 video-generation,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 video-generation

请在 Codex 的当前工作环境中安装并检查 video-generation 这个 Skill。

项目身份:yikart/aitoearn / video-generation
来源:https://github.com/yikart/aitoearn/blob/11dd1957d0c69ae2b27a0b8a47acdf6675715558/skills/doubao-skill-aitoearn/skills/video-generation/SKILL.md
已定位的源文件:skills/doubao-skill-aitoearn/skills/video-generation/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-23T04:29:48.865Z
中文使用说明
尚待整理,保留英文来源内容
安装与任务测试
本站未执行安装或任务测试
来源复核
已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料

skills/doubao-skill-aitoearn/skills/video-generation/SKILL.md · 抓取时间 2026-11-23T04:29:48.865Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Generate, edit, or extend videos with Seedance models via list_video_generation_models and generate_video; optimizes prompts per model's conventions. Use when user asks to create, edit, extend, or storyboard a video, or mentions seedance / text-to-video / image-to-video / video-to-video.

查看源文件章节 / Source sections
  • 原文:Video Generation
  • 原文:Tools
  • 原文:When to use
  • 原文:When not to use
  • 原文:Decision tree
  • 工作流程 / Workflow
  • 原文:References
原文:Video Generation

> **System prompt — read `references/system-prompt.md` first and follow it for the whole task.** > Three layers form one contract: `system-prompt.md` governs role and behavioural limits → this file governs tools and model routing → `seedance-*-guide.md` governs how the Prompt is compiled. Generate, edit, or extend videos with `list_video_generation_models` and `generate_video`. The catalog is the source of truth for every video model. For Seedance families, use `references/seedance-2-0-guide.md` (default model is Seedance 2.0 Mini at 480p); use `references/seedance-2-5-guide.md` only when routed to 2.5. For other families, use only catalog capabilities and the user's intent; do not transfer Seedance-only prompt conventions.

原文:Tools

- `list_video_generation_models`: call first — before routing. Select the returned `id`; inspect `family`, `modes`, `input.frames`, `input.references`, `output`, and `billing`. The metadata fields are flat; there is no nested `metadata` object. The preferred default is `doubao-seedance-2-0-mini-260615` with `output.resolution: '480p'` and `output.duration: 4` (4 seconds) when listed. - `generate_video` (v2): `prompt` required; `model` optional (omit to use `doubao-seedance-2-0-mini-260615`; its `output.resolution` defaults to `480p` and `output.duration` defaults to `4`); `mode` is `generate`, `edit`, or `extend`; optional `frames: {first, last}`, `references: {images, videos, audios}`, `output: {resolution, aspectRatio, duration, outputFormat, seed, watermark}`, `options`, and `groupId`. - `frames.first` / `frames.last` are first/last frame anchors (not ordinary references); `references.images` are ordinary reference images. Do not mix anchors with references. - `output.duration: -1` lets the model choose the duration. Use it only when the catalog shows `supportsAutoDuration`. - `output.outputFormat` accepts `mp4` or `mov`; send it only for Seedance 2.5. - `options.omniReferenceTaskType` accepts `auto`, `reference`, `edit`, or `extend`; send it only for Seedance 2.5. If omitted, the adapter derives `edit` / `extend` from `mode` and `reference` when reference media is present. - Seedance 2.5 `edit`: require at least one reference video, `output.aspectRatio: 'adaptive'`, and `output.duration: -1`. - Seedance 2.5 `extend`: require at least one reference video and `output.aspectRatio: 'adaptive'`. - Seedance 2.5 first-frame / first-last-frame: require `output.aspectRatio: 'adaptive'`. - Async tool: `submit` creates the task, `resolveResult` polls `status` / `videoUrl` / `coverUrl`. Wait for completion before reporting. - Credit estimate runs automatically; if the user must confirm, wait. Do not retry a rejected cost. Do not call other video APIs, CLIs, or local scripts.

原文:When to use

- Text-to-video, image-to-video, multi-reference video generation - Video editing (replace / add / remove elements or sound) - Video extension (forward / backward continuation) - First-frame / first-last-frame controlled generation, keyframe / storyboard generation

原文:When not to use

- Static image generation — use `image-creation` instead - SVG / vector icons, diagrams, or deterministic code-native output - Polling task status outside the `generate_video` async lifecycle

原文:Decision tree

1. **Intent**: generation / editing / extension / first-last-frame? Editing keywords: `编辑/修改/替换/增加/删除`; extension keywords: `延长/延续/续写/向前/向后`. Replication keywords: `复制/仿拍/同款` — route to reference-based generation (`mode: generate`, uploaded video in `references.videos`), never `edit` / `extend`; if what "复制" means stays ambiguous (remake the content vs only reuse motion/pace), ask one merged clarifying question per the guide's 最少澄清 rule. 2. **Model routing**: choose from the complete catalog. Default to Seedance 2.0 Mini (`doubao-seedance-2-0-mini-260615`) at 480p (cheapest; multi-image ≤9 / multi-video ≤3 / multi-audio ≤3 references, first/last frames). If the catalog does not list Mini, use another Seedance 2.0 Mini at 480p or the cheapest available 480p model. Keep Mini at 720p when the user requests 720p. Need 1080p / 4K → Seedance 2.0 standard. Duration > 15s, references beyond 2.0 limits (图 >9 / 视频 >3 / 音频 >3), timestamps, precise edit / seamless extend / keyframes / storyboard / whitebox / multi-view → 2.5. For edit / extend, select a model whose catalog `modes` includes the requested mode; do not assume the default Mini supports it. See `references/model-comparison.md`. **Default-confirmation rule**: the default config is Seedance 2.0 Mini at 480p with duration 4s; use it directly whenever it fits the request. Whenever the routing above would select a non-default model, resolution, aspect ratio, or duration, first tell the user in one or two sentences why the default cannot serve their request and which model/config you plan to use, then wait for their explicit confirmation; never switch to a non-default config silently. If the user already specified that model/config in their own request, their choice stands and no extra confirmation is needed. If the user declines, fall back to the closest default-compatible option or ask what they prefer. 3. **Input state**: classify per the Seedance guide (2.0 Mini at 480p by default, 2.5 when escalated) — 纯文生 / 需要参考但未提供素材 / 素材可读取 / 无法读取 / 规格预检. Hard limits (30 图, 10 视频/30s, 10 音频/30s, 合计 50) are 2.5 ceilings; for 2.0 Mini use the model's own `input` limits from the catalog (图 9 / 视频 3 / 音频 3, 视频音频总 15s). Use `probe_

本段为节选,完整内容见源文件。

工作流程 / Workflow

1. Call `list_video_generation_models` and pick `model` from `id`, plus a supported `mode` and `output` (`resolution`/`aspectRatio`/`duration`/`outputFormat`). When the user has no model or resolution preference, use the default Seedance 2.0 Mini at 480p. When the user has no duration preference, set `duration: 4`; use `duration: -1` only when the model metadata shows `supportsAutoDuration`; use `outputFormat: 'mov'` only for Seedance 2.5 when the user needs a professional intermediate. Frame capability is indicated by `input.frames`; ordinary media limits live under `input.references`. 2. Collect prompt, constraints / avoid list, and input media URLs. Label every image / video / audio role; enforce hard limits from `input` constraints; note stability guidance (1–8 img subjects, 1–5 av subjects 5–10 s). When you need to check provided material against the hard limits yourself, use the matching Volcengine probe once (video: `probe_video_metadata`; audio-only: `probe_audio_metadata`; image: `probe_image_metadata`). Do not probe the same URL twice; `generate_video` also validates input server-side. 3. Run the 8-step workflow per `seedance-2-0-guide.md` (default; `镜头1/2/3` instead of timestamps) or per `seedance-2-5-guide.md` when routed to 2.5 (timestamp control, free aspect ratio, multi-view): ① parse goal (story contract + dialogue ledger + required-entity list) → ② compile long text → ③ two-pass material understanding → ④ duty mapping + `【未采用素材】` → ⑤ confidence routing → ⑥ sole task + aspect-ratio gate (`请注意这不是视频编辑。` only on gate trigger) → ⑦ param rules → ⑧ template purification. 4. Select template family: base / reference / multi-material / long-video / editing (sole master + range closure + motion-slot) / extension (boundary anchoring + single continuous instance) / keyframe (`@图片N作为首帧。` verbatim) / storyboard (≤15) / whitebox / emotion-camera-audio. 5. Compose the prompt per template — replace all `<占位符>`. Do not write `output.aspectRatio` / `output.duration` / `output.resolution` into the prompt. Do not auto-add quality/watermark/subtitle constraints unless user requested. For `复制/仿拍/同款` requests, use the guide's 带参考素材的生成 template: state the uploaded video'

本段为节选,完整内容见源文件。

文件 SHA256:9be75ae111172c0ddd31b048d69a1c54754ccb39c4b827577c2211670dbcbcce

仓库许可证记录:MIT;repository-license-recorded-scope-unverified,查看来源。

SKILL.md原文description · 2026-11-23T04:29:48.865Z

Generate, edit, or extend videos with Seedance models via list_video_generation_models and generate_video; optimizes prompts per model's conventions. Use when user asks to create, edit, extend, or storyboard a video, or mentions seedance / text-to-video / image-to-video / video-to-video.

查看历史简介来源

历史收录数据

来源仓库yikart/aitoearn
Skill源路径skills/doubao-skill-aitoearn/skills/video-generation/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源