Skip to content
Agentmart
Submit a tool

byted-ind-ecom-prompt-to-video

使用 Seedance 2.0 根据提示词与参考素材生成视频。用户要把文本/参考图/参考视频变成视频时使用。

Skill by bytedanceOfficial

IndexedApache-2.0★ 473
Write a review

Chalk Labs

Need help deploying byted-ind-ecom-prompt-to-video?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/bytedance-byted-ind-ecom-prompt-to-video

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

使用 Seedance 2.0 根据提示词与参考素材生成视频。用户要把文本/参考图/参考视频变成视频时使用。

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/byted-ind-ecom-prompt-to-video

What's inside

Skill name
byted-ind-ecom-prompt-to-video
Description
使用 Seedance 2.0 根据提示词与参考素材生成视频。用户要把文本/参考图/参考视频变成视频时使用。
License
Apache-2.0
Instructions
77 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (5)

  • SKILL.md
  • requirements.txt
  • config.py · scripts/
  • generate.py · scripts/
  • tos_client.py · scripts/

SKILL.md (first lines)

# Seedance 2.0 文生视频/参考生成视频(byted-ind-ecom-prompt-to-video)

本 skill 用于调用火山方舟上的 Seedance 2.0 视频生成能力,支持:

- 文生视频(仅 prompt)
- 图生视频(首帧/首尾帧)
- 多参考生成(参考图片最多 9 张、参考视频最多 3 个)

## 使用方式

在 skill 目录下执行 `scripts/generate.py`。

### 参数

- `--prompt`:视频文本提示词
- `--first_frame`:首帧图片(URL 或本地路径)
- `--last_frame`:尾帧图片(URL 或本地路径)
- `--reference_images`:参考图片(URL 或本地路径,最多 9 张)
- `--reference_videos`:参考视频(URL 或本地路径,最多 3 个)
- `--resolution`:分辨率(如 `720p`、`1080p`)
- `--ratio`:画幅(如 `16:9`、`9:16`、`1:1`、`adaptive`)
- `--duration`:时长(秒)

### 示例

**文生视频:**

```bash
python3 scripts/generate.py --prompt "A cute cat playing with a ball of yarn in a sunny room" --ratio 16:9 --duration 5
```

**图生视频(首帧):**

```bash
python3 scripts/generate.py --prompt "The cat jumps" --first_frame "/path/to/cat.jpg" --ratio 16:9 --duration 5
```

**多参考图片:**

```bash
python3 scripts/generate.py --prompt "A scenic landscape" --reference_images "/path/to/img1.jpg" "/path/to/img2.jpg" --ratio 16:9
```

## 本地素材处理逻辑(重要)

- **本地图片**:
  - 在“可用 TOS”时会先上传到 TOS,再使用公网 URL 参与生成。
  - 若无可用 TOS,则自动转为 `data:<mime>;base64,...` 形式提交。
- **本地参考视频**:建议直接提供公网 URL;如提供本地视频,需要可用 TOS 才能先上传转为公网 URL。
- **视频输出**:
  - 若可用 TOS,会尝试将生成视频转存到 TOS 并输出 TOS URL。
  - 否则直接返回模型原始视频 URL(通常有时效,建议尽快下载或转存)。

## 环境变量

最低必需:

- `ARK_API_KEY`
- `SEEDANCE_EP_ID`
- `ARK_BASE_URL`(可选,默认 `https://ark.cn-beijing.volces.com/api/v3`)

如需启用 TOS 上传/转存:

- `VOLC_ACCESS_KEY`
- `VOLC_SECRET_KEY`
- `TOS_ENDPOINT`
- `TOS_REGION`
- `TOS_BUCKET`
- `TOS_UPLOAD_ENABLED`(可选,默认 `true`)

## 输出

脚本会轮询任务直到结束,并在终端输出:

- `Final Video URL: <url>`

From bytedance/agentkit-samples, Apache-2.0.

Signals

Stars
473
Forks
101
Open issues
14
Last commit (this folder)
May 28, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get byted-ind-ecom-prompt-to-video running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying byted-ind-ecom-prompt-to-video?

CallGet help
Cite this page

byted-ind-ecom-prompt-to-video skill. Agent Mart. https://agentmart.dev/skills/bytedance-byted-ind-ecom-prompt-to-video (last updated 2026-10-24)