Skip to main content

CLI for Volcengine Doubao Seedance video generation, with a companion Claude Code SKILL

Project description

seedance-cli

CLI for Volcengine Doubao Seedance video generation (doubao-seedance-2-0 and friends), with an accompanying SKILL for Claude Code / AI agents.

Install

# Recommended:
uv tool install zjandrew-seedance-cli

# Or with pipx:
pipx install zjandrew-seedance-cli

# Companion SKILL:
npx skills add zjandrew/seedance-cli -g -y

The PyPI distribution is named zjandrew-seedance-cli because the bare seedance-cli name was already taken. After install you still invoke it as seedance-cli (the binary name is unchanged).

Local development:

git clone https://github.com/zjandrew/seedance-cli.git
cd seedance-cli
uv sync --all-extras
uv run seedance-cli --version

Configure

# Interactive wizard (creates ~/.seedance-cli/config.json, chmod 600):
seedance-cli config init

# Or env vars:
export ARK_API_KEY=...
export SEEDANCE_ENDPOINT=https://ark.cn-beijing.volces.com/api/v3   # optional

# Or programmatic:
seedance-cli config set api_key ...
seedance-cli config set endpoint https://...

Priority: CLI flag > env var > config file > built-in default.

Multiple profiles

seedance-cli config list
seedance-cli config add prod
seedance-cli config use prod
seedance-cli --profile prod generate -p "..."

Usage

# Text → video
seedance-cli generate -p "a tabby cat yawning at the camera" --ratio 16:9 --duration 5 --out cat.mp4

# Image → video (first frame)
seedance-cli generate -p "girl smiles" --image start.png --duration 5 --out smile.mp4

# First + last frame
seedance-cli generate -p "360-degree pan" \
  --image first.png:first_frame --image last.png:last_frame \
  --duration 5 --out pan.mp4

# Multimodal reference (seedance 2.0)
seedance-cli generate -p "..." --image a.png --image b.png --image c.png --out combo.mp4

# Video edit / extend (seedance 2.0)
seedance-cli generate -p "repaint walls blue" --video orig.mp4 --duration 5 --out edited.mp4

# Async + polling
seedance-cli generate -p "..." --async
seedance-cli task list --status running --status queued
seedance-cli task get cgt-2026-... --wait --out result.mp4

# Dry run (prints the request body, no API call)
seedance-cli generate -p "..." --dry-run

SKILL

skills/seedance/SKILL.md ships in this repo. Install for Claude Code:

npx skills add zjandrew/seedance-cli -g -y

Exit codes

Code Meaning
0 success
2 INVALID_INPUT / CONFIG_MISSING
3 IO_ERROR
4 ARK_API_ERROR
5 NETWORK_ERROR
6 TASK_FAILED
7 TASK_EXPIRED
8 POLL_TIMEOUT
9 POLL_CANCELLED (Ctrl-C)
10 INTERNAL

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zjandrew_seedance_cli-1.0.1.tar.gz (138.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zjandrew_seedance_cli-1.0.1-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file zjandrew_seedance_cli-1.0.1.tar.gz.

File metadata

  • Download URL: zjandrew_seedance_cli-1.0.1.tar.gz
  • Upload date:
  • Size: 138.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for zjandrew_seedance_cli-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f7a24298f6651b38c72155b7eaec3df190150fd3f29f36121951a586189cbd34
MD5 90090fac21ab1ed3788f1cd99dfefac1
BLAKE2b-256 b7da2a55dffdf705b5628315132f1f3abcf07809894d33c730eaf339ccbf02f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for zjandrew_seedance_cli-1.0.1.tar.gz:

Publisher: release.yml on zjandrew/seedance-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zjandrew_seedance_cli-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for zjandrew_seedance_cli-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 704ce9dcc7e6d1bb0b086e22c5bc8516151b564a4c1ec67834d1ccb2c9e07a3c
MD5 69de9ae4b2cddc59369cf811a51f858a
BLAKE2b-256 7b88be7035b0ebc07a816654def00b3ef1ec1f7d78a70aa4796509bfcf53ff4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for zjandrew_seedance_cli-1.0.1-py3-none-any.whl:

Publisher: release.yml on zjandrew/seedance-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page