unityclaw-gen-video-seedance2

Generate Seedance 2.0 videos from text prompts and optional image, audio, or video references. Provides control over model, resolution, aspect ratio, and duration. Intended for cinematic clips, image animation, social videos, product motion, music-driven concepts, story shots, and other text-to-video or reference-to-video uses where the result will be downloaded locally.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "unityclaw-gen-video-seedance2" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c39780f9c440f384a2e8551f41397fe483fd744da07cf874edbc03bac5366df9. Verify the upstream source and version against https://skillhub.cn/skills/user_fabd0a58/unityclaw-gen-video-seedance2 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Generate Seedance 2.0 videos from text prompts and optional image, audio, or video references. Provides control over model, resolution, aspect ratio, and duration. Intended for cinematic clips, image animation, social videos, product motion, music-driven concepts, story shots, and other text-to-video or reference-to-video uses where the result will be downloaded locally.

0 Downloads

Introduction source: third_party · user_fabd0a58 · 1.0.0 Reference

SkillPi interpretation

Tasks
Generate Seedance 2.0 videos from text prompts and optional image, audio, or video references, with controllable model, resolution, aspect ratio, and duration. Use for cinematic clips, image animation, social videos, product motion, music-driven concepts, story shots, and other text-to-video or reference-to-video requests where the result should be downloaded locally.
Inputs and outputs
With `--json`, the command emits exactly one JSON object. A successful result contains `success`, `attempts`, `taskId`, `taskFolder`, service `duration`, `outputDir`, selected `settings`, and `files`. Each verified file contains `name`, `contentType`, absolute `localPath`, `bytes`, and an optional `temporaryUrl`. A failed result contains a stable `error.code`, human-readable `error.message`, `error.retryable`, `attempts`, and available task or log information. The process exits non-zero on failure.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: unityclaw-gen-video-seedance2
description: Generate Seedance 2.0 videos from text prompts and optional image, audio, or video references, with controllable model, resolution, aspect ratio, and duration. Use for cinematic clips, image animation, social videos, product motion, music-driven concepts, story shots, and other text-to-video or reference-to-video requests where the result should be downloaded locally.
version: 1.2.5
metadata:
  openclaw:
    requires:
      env:
        - UNITYCLAW_KEY
      bins:
        - node
        - npm
    primaryEnv: UNITYCLAW_KEY
    install:
      - kind: node
        package: "@unityclaw/sdk"
        bins: []

UnityClaw Video (Seedance 2.0)

Generate a Seedance 2.0 video from a prompt with optional reference media. Run the bundled CLI, verify its structured result, and return downloaded local video files to the user.

Agent Workflow

1. Understand the shot

Extract the subject, action, setting, shot size, camera movement, composition, lighting, visual style, pacing, duration, aspect ratio, reference-media roles, and explicit exclusions. Preserve facts and exact text supplied by the user.

Ask a question only when a missing detail would materially change the result. Otherwise make a restrained cinematic choice and proceed. Do not silently add brands, logos, people, dialogue, or sensitive attributes that the user did not request.

2. Build a motion-aware prompt

Write one coherent prompt in this order when the information is available:

[subject and setting], [subject action and temporal progression],
[shot size and composition], [camera movement], [lighting and color],
[visual style and pacing], [continuity requirements], [explicit exclusions]

Describe change over time. Prefer “the camera slowly dollies toward the product while reflections move across the metal” over “a cinematic product video.” Keep the action achievable within the selected duration, and avoid packing multiple unrelated scenes into one short generation.

For image-to-video, state what should move and what should remain stable. For audio reference, describe how motion or cuts should respond to rhythm or mood. For video reference, identify whether it controls motion, composition, timing, or style. Never promise exact identity, lip synchronization, typography, or frame-perfect continuity.

3. Choose settings

Use explicit user choices when present. Otherwise apply these defaults:

Requirement Model Resolution Ratio Duration
Fast draft or motion test doubao-seedance-2-0-fast-260128 480p Match intended channel 4–6 seconds
General-purpose generation doubao-seedance-2-0-fast-260128 720p Match intended channel Auto or 5–8 seconds
Final-quality or detail-priority shot doubao-seedance-2-0-260128 720p Match intended channel 5–10 seconds
Landscape, presentation, or video cover Match quality need 720p 16:9 Auto
Vertical short-form or phone story Match quality need 720p 9:16 5–10 seconds
Square social post Match quality need 720p 1:1 Auto

Default to the fast model, 720p, adaptive, and auto duration. Use 480p for an explicitly disposable preview. Use the standard model when quality matters more than turnaround. Do not select a longer duration merely because it is available.

4. Handle reference media

Accept images, audio, or video as local files or HTTP(S) URLs. Determine the role of every reference and describe that role in the prompt. Preserve repeated --attachment order. Use repeated flags rather than comma-separated values when constructing a new command.

Resolve local paths before execution. Do not replace user-provided local media with unrelated remote content. Do not assume that attaching media grants permission to reproduce a person's likeness, copyrighted character, brand, or music.

5. Execute once

Run scripts/generate.js with --json and an explicit --output-dir. Quote every user-derived shell argument. Video generation can be slow, so retain the default 30-minute timeout unless the caller has a reason to change it.

Allow the CLI to perform its configured transient retry. Do not launch duplicate generation commands concurrently for the same request.

6. Validate and deliver

Parse the JSON response. Accept completion only when success is true and every files entry has an existing local localPath and a positive bytes value. The CLI returns OUTPUT_VALIDATION_ERROR when the service reports success but a video was not downloaded correctly.

Present the local video files and briefly state the selected model, resolution, ratio, and duration. Treat temporaryUrl as diagnostic information rather than the primary deliverable.

7. Iterate deliberately

Retry technical failures only when error.retryable is true; respect the CLI retry limit. Do not retry authentication, invalid settings, missing reference files, or output-validation failures without fixing their cause.

Do not automatically spend another generation on a valid but subjective result. Show the result and use user feedback to change only the relevant motion, camera, composition, pace, or style instructions. For a complex sequence, generate separate focused shots rather than repeatedly asking one prompt to produce a complete edit.

Authorization

Provide the API key through the fixed UNITYCLAW_KEY environment variable. Obtain a key from UnityClaw if needed. The runtime installation declaration installs @unityclaw/sdk; for manual execution, run npm install @unityclaw/sdk when the package is unavailable.

Usage

node scripts/generate.js --prompt "A cinematic drone shot of mountains at sunrise"
node scripts/generate.js --prompt "The illustrated character turns toward camera while the background remains stable" --attachment ./character.png --ratio 9:16 --duration 6
node scripts/generate.js --prompt "Cut motion to the rhythm of the reference track" --attachment ./music.mp3 --model doubao-seedance-2-0-260128 --json --output-dir ./tasks

Parameters

Parameter Short Required Default Description
--prompt -p Yes - Motion-aware video prompt; blank values are rejected
--attachment -a No - Reference image, audio, or video URL/local file; repeat for multiple inputs; comma-separated values remain supported
--model -m No doubao-seedance-2-0-fast-260128 Fast or standard Seedance 2.0 model
--resolution -q No 720p Output resolution: 480p or 720p
--ratio -r No adaptive Output aspect ratio
--duration -d No -1 -1 for auto, or an integer from 4 to 15 seconds
--output-dir - No ./tasks Task output directory; resolved to an absolute path
--timeout - No 1800000 SDK request timeout in milliseconds, from 1,000 to 3,600,000
--retries - No 1 Retry count for transient failures, from 0 to 3
--json - No false Emit one machine-readable JSON result without progress output
--help -h No - Show help

Supported ratios: adaptive, 16:9, 9:16, 1:1, 4:3, 3:4, 21:9.

Output Contract

With --json, the command emits exactly one JSON object. A successful result contains success, attempts, taskId, taskFolder, service duration, outputDir, selected settings, and files. Each verified file contains name, contentType, absolute localPath, bytes, and an optional temporaryUrl.

A failed result contains a stable error.code, human-readable error.message, error.retryable, attempts, and available task or log information. The process exits non-zero on failure.

Resource Index

  • Run scripts/generate.js for Seedance 2.0 video generation.
  • Run node --test scripts/generate.test.mjs for local CLI validation.

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 支持文本到视频及多类型参考媒体生成,覆盖影视、社交、产品、音乐等高频刚需场景
  • 提供可控模型、分辨率、比例和时长,满足不同质量与用途需求
Trigger Precision95/100

Highlights

  • 触发描述完整清晰,涵盖多种输入类型和输出控制参数
  • 边界明确,避免与其他视频生成工具混淆
Structure and Standards94/100

Areas to improve

  • description写错位置 Reported severity: Minor

    顶层 frontmatter 中 description 为空,实际内容位于 skill_body 内部

    Recommendation: 将 description 移至顶层 frontmatter 字段

  • 缺少When to Use显式章节 Reported severity: Minor

    文档未设置显式的 When to Use 章节,但相关信息已分散在 description 和 Usage 中

    Recommendation: 增加独立的 When to Use 章节以提升可读性

Highlights

  • Agent Workflow 分步清晰,包含从理解需求到交付结果的完整闭环
  • 参数表格完整,提供默认值、取值范围和详细说明
Execution Reliability93/100

Highlights

  • 工具来源明确,依赖 @unityclaw/sdk 并通过 npm 安装
  • 具备输出验证机制,确保视频文件正确下载后才返回成功
  • 支持重试和超时配置,提升执行鲁棒性
Evidence Verifiability (mean of the first four)94/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 87
  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 87
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • unityclaw.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.