Seedance 2.0: Integrating Seedance 2.0 for Text-to-Video Generation in Agents

Preface

When creating short video prototypes in environments like Cursor or Claude Code, a common approach is to manually write Volcano Engine Ark requests, poll for task completion, and then save the files to disk. Parameters (duration, aspect ratio, resolution, model tier) and prompt templates are often scattered throughout the scripts, meaning that making a single change requires modifying code in multiple places.

Below, we introduce the community skill on SkillHub: seedance2-0 (@user_1da200f4/seedance2-0, current version 1.0.4). It encapsulates Seedance 2.0 capabilities into Agent-readable SKILL.md files and executable scripts, configures keys via environment variables, and defines the parameter fields that must be collected from the user before generation.

What is this

seedance2-0 is positioned as an AI video generation skill based on ByteDance’s Seedance 2.0. The official description states that it supports text-to-image and text-to-video, and provides rapid generation encapsulation.

  • Coordinate: @user_1da200f4/seedance2-0
  • Source: SkillHub Community (community)
  • Category: design-media
  • Publisher: user_1da200f4
  • Tags: requires_api_key=true (API key must be configured before use)

The SkillHub page currently displays: Rating 100000, Downloads 1300 (Data subject to SkillHub).

Official Entries:

  • API Index: https://api.skillhub.cn/user_1da200f4/seedance2-0
  • Skill Page: https://www.skillhub.cn/skills/user_1da200f4/seedance2-0

Core Features

The following capabilities are derived from the SKILL.md and implementation scripts within the skill package, which can be cross-referenced with the documentation after installation.

  1. Rapid Generation: Encapsulates Ark API calls and supports configurable combinations of prompt templates for common scenarios (e.g., promotion, event trailers, vlogs, science popularization, marketing).
  2. Configurable Parameters: Model tiers (pro / fast / lite), duration (5s / 10s / 15s), aspect ratio (9:16 / 16:9 / 1:1), resolution (720p / 1080p), etc.
  3. Result Persistence: Downloads the video to the local machine after generation and generates a temporary access link (behavior described in the skill documentation).
  4. Agent Workflow Constraints: When a user requests video generation, the agent must first confirm the four input parameters—“video content, duration, aspect ratio, resolution”—using a fixed template before executing the generation.

The default model ID is doubao-seedance-2-0-260128; fast and lite correspond to other model identifiers configured within the skill.

Installation and Activation

1. Install SkillHub CLI (if not already installed)

First, check if the CLI is available:

command -v skillhub && skillhub --version

If not installed, follow the SkillHub installation documentation to perform a complete installation (including default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

Documentation: https://skillhub.cn/install/skillhub.md

2. Install seedance2-0 to the current Agent’s skills directory

When installing, you must use --dir to point to the skills directory recognized by your current client; otherwise, if installed to the default ./skills/, the Agent may not load it.

skillhub install seedance2-0 --namespace user_1da200f4 --dir <your skills directory>

Common Paths (from SkillHub installation instructions):

Client skills Directory
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

Alternatively, you can ask the Agent in the conversation to install @user_1da200f4/seedance2-0 following https://skillhub.cn/install/skillhub.md.

3. Configure Environment and Dependencies

The skill reads Volcano Engine Ark configuration via environment variables:

  • ARK_API_KEY: Volcano Engine API Key (obtained from console)
  • ARK_BASE_URL: Defaults to https://ark.cn-beijing.volces.com/api/v3

You can write the above variables into a .env file in the skill directory (implementation scripts load via dotenv).

The skill’s package.json declares the OpenClaw-side installation step as bun install and the entry point as bun seedance2.0.ts. If your environment runs scripts directly, you need bun installed on your local machine and must execute the dependency installation within the skill directory.

After installing or updating skills, restart or refresh the Agent according to your client’s instructions so the new skill is recognized.

Typical Usage

Natural language examples provided in the skill documentation:

Use seedance to generate a video, prompt: ...

Before generation, the Agent should guide the user to complete the parameters using the following template:

Video Content: XXX
Duration: 5s/10s/15s
Aspect Ratio: 9:16/16:9/1:1
Resolution: 720p/1080p

Optional extensions include: Model selection (pro / fast / lite), and fields supported by the skill implementation such as reference images, reference videos, and reference audio (see SeedanceOptions in seedance2.0.ts).

Command Line (Skill Bundle Scripts)

In the installed skill directory, you can run the main script via bun (package.json points start / help to seedance2.0.ts):

bun install
bun seedance2.0.ts --help

Specific CLI parameters are subject to the --help output; ensure ARK_API_KEY is set before calling.

Applicable Scenarios and Notes

Who is it for

  • Developers or creators who have already activated Seedance 2.0 capabilities on Volcano Engine Ark and wish to complete the “collect parameters → call API → download results” loop within an Agent conversation.
  • Those who need to reuse built-in prompt templates (promotion, events, vlogs, etc.) for rapid production, rather than writing HTTP clients from scratch every time.

Limitations and Notes

  1. Key Configuration Required: If ARK_API_KEY is not set, the script will exit with an error; the SkillHub tag also indicates requires_api_key=true.
  2. Compliance and Review: The skill requires adherence to content safety (pornography, terrorism, sensitive content, etc.) and copyright constraints (unauthorized IPs, public figures, copyrighted music, etc.). Prompts and materials should be self-checked before generation.
  3. Community Skill: The source is community. Before integration, it is recommended to check the version and description on SkillHub, and evaluate it against your own security standards in an intranet/production environment.
  4. Introduction vs. Implementation Focus: The store description mentions text-to-image; however, the current SKILL.md focuses mainly on text-to-video workflows and parameter templates. Details regarding text-to-image are subject to the documentation and script capabilities after installation.

Conclusion

seedance2-0 encapsulates Seedance 2.0 video generation into an Agent Skill: it unifies environment variables, default models, and the pre-generation parameter list, reducing the repetitive labor of manually writing Ark calls. If you want to try Seedance 2.0 in environments like Cursor, you can install @user_1da200f4/seedance2-0 from SkillHub, configure ARK_API_KEY, and initiate generation using the skill templates.

Official URL: https://www.skillhub.cn/skills/user_1da200f4/seedance2-0

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye