seedance-video-generation-by-tokease

Seedance AI video generation: Uses the Seedance 2.0 model and calls the tokease.com API to support text-to-video generation. Use this skill when a user wants to generate, produce, or create videos, AI videos, or text-to-video content.

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 "seedance-video-generation-by-tokease" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e6cbcf4477479a57767b53ce777447edcec47d0c64ef167a274d323cedb8961b. Verify the upstream source and version against https://skillhub.cn/skills/user_92ca4468/seedance-video-generation-by-tokease 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

Seedance AI video generation: Uses the Seedance 2.0 model and calls the tokease.com API to support text-to-video generation. Use this skill when a user wants to generate, produce, or create videos, AI videos, or text-to-video content.

0 Downloads

Introduction source: third_party · user_92ca4468 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: seedance-video-generation
description: "使用 Seedance 2.0 模型生成 AI 视频。支持文生视频,通过 tokease.com API 调用。当用户想要生成/制作/创建视频、AI 视频、文字转视频时使用此技能。"
version: 2.0.0
category: file-generation
argument-hint: "[文字描述或任务 ID]"

Seedance 视频生成

使用 Seedance 2.0 模型,通过 tokease.com API 生成 AI 视频。

快速开始

1. 获取 API Key

访问 tokease.com 注册账号,在 API Keys 页面创建你的 Key。

2. 设置环境变量

export SEEDANCE_API_KEY="你的API-Key"

3. 生成视频

python3 seedance.py create --prompt "一只小猫在阳光下打哈欠" --wait --download ~/Desktop

Python CLI 工具

使用项目中的 seedance.py 命令行工具,支持完整的创建、查询、下载流程。

创建视频任务

# 基础用法:文生视频
python3 seedance.py create --prompt "你的画面描述" --wait --download ~/Desktop

# 指定画幅比例(默认 16:9)
python3 seedance.py create --prompt "竖屏舞蹈视频" --ratio 9:16 --wait --download ~/Desktop

# 指定时长(秒)
python3 seedance.py create --prompt "延时摄影" --duration 8 --wait --download ~/Desktop

# 指定分辨率
python3 seedance.py create --prompt "城市夜景" --resolution 1080p --wait --download ~/Desktop

# 指定随机种子(可复现结果)
python3 seedance.py create --prompt "..." --seed 42 --wait --download ~/Desktop

# 负向提示词(避免出现的内容)
python3 seedance.py create --prompt "晴天草原" --negative-prompt "模糊, 噪点" --wait --download ~/Desktop

查询和管理任务

# 查询任务状态
python3 seedance.py status <TASK_ID>

# 等待任务完成并下载
python3 seedance.py wait <TASK_ID> --download ~/Desktop

# 仅等待(不下载)
python3 seedance.py wait <TASK_ID>

可选参数一览

参数 类型 默认值 说明
--prompt string 必填 视频画面描述
--model string Seedance 2.0/u3 模型 ID
--ratio string - 画幅:16:9, 4:3, 1:1, 3:4, 9:16, 21:9
--duration int - 视频时长(秒)
--resolution string - 分辨率:480p, 720p, 1080p
--seed int - 随机种子,-1 为随机
--negative-prompt string - 负向提示词,描述不想出现的画面
--wait flag - 创建后自动等待任务完成
--download path - 下载目录,如 ~/Desktop
--interval int 15 轮询间隔(秒)

API 格式说明

创建任务

POST https://tokease.com/v1/videos/generations
Authorization: Bearer <SEEDANCE_API_KEY>
Content-Type: application/json

{
  "model": "Seedance 2.0/u3",
  "prompt": "画面描述",
  "ratio": "16:9",
  "duration": 5,
  "resolution": "720p"
}

查询任务

GET https://tokease.com/v1/videos/{task_id}
Authorization: Bearer <SEEDANCE_API_KEY>

返回状态:

  • pending — 排队中
  • running — 生成中(含 progress 百分比)
  • completed — 完成(视频 URL 在 output.video_url)
  • failed — 失败

使用 curl 调用

# 创建任务
curl -s -X POST "https://tokease.com/v1/videos/generations" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $SEEDANCE_API_KEY" \
  -d '{"model": "Seedance 2.0/u3", "prompt": "小猫打哈欠"}'

# 查询状态
curl -s "https://tokease.com/v1/videos/<TASK_ID>" \
  -H "Authorization: Bearer $SEEDANCE_API_KEY"

重要提示

  1. 必须设置 SEEDANCE_API_KEY 环境变量,否则无法调用 API。
  2. API Key 从 tokease.com 注册获取。
  3. 视频生成可能需要数分钟,建议使用 --wait 参数自动等待。
  4. 视频 URL 有时效性,生成后请及时下载。
  5. 如使用 AI 助手(如 WorkBuddy),直接描述想要的画面即可,助手会自动调用此技能。

规则

  1. 调用 API 前必须检查 SEEDANCE_API_KEY 是否已设置。
  2. 默认模型:Seedance 2.0/u3。
  3. 轮询间隔:15 秒。
  4. 生成完成后立即下载视频。
  5. 失败时清晰展示错误信息,提示可能的修复方案。
  6. 始终告知用户任务 ID,以便后续查询。

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 Value85/100

Highlights

  • 提供 AI 视频生成能力,满足内容创作和视频制作需求
  • 支持多种参数配置(画幅、时长、分辨率等),适用性强
Trigger Precision95/100

Highlights

  • 触发词精准完整,覆盖多种变体(生成/制作/创建视频、AI 视频、文字转视频)
  • 边界清晰,不易与其他 Skill 重叠
Structure and Standards95/100

Highlights

  • 文档结构清晰,包含快速开始、CLI 工具、API 说明等完整章节
  • 步骤划分明确,有端到端示例,frontmatter 完整
Execution Reliability95/100

Highlights

  • 工具来源明确(tokease.com API),参数说明完整
  • 覆盖了主要异常处理(API Key 检查、任务状态查询、失败提示等)
Evidence Verifiability (mean of the first four)93/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.

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.

  • tokease.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.