Seedance by Ace Data Cloud — CLI
Install the Ace integration
This integration is maintained by Ace Data Cloud and uses your Ace API key. It is not an official client published by the model owner. Check the PyPI package and its AceDataCloud repository before installing.
python -m pip install seedance-cli
seedance --help
seedance models
The commands above show local help/reference information and do not submit a generation. Follow Quick Start below to copy your General application key and generate a video. Generation follows your account's current service access, balance and pricing; check the terminal outcome and returned media link before submitting another request.
中文首次使用指南 · Service-name package directory
A command-line tool for AI video generation using Seedance through the AceDataCloud API.
Generate AI videos directly from your terminal — no MCP client required.
Features
- Video Generation — Generate videos from text prompts with multiple models
- Image-to-Video — Create videos from reference images
- Multiple Models — Seedance 2.5 plus the Seedance 2.0 series ( doubao-seedance-2-0-fast-260128, doubao-seedance-2-0-mini-260615) plus doubao-seedance-1-5-pro-251215, doubao-seedance-1-0-pro-250528, doubao-seedance-1-0-pro-fast-251015, doubao-seedance-1-0-lite-t2v-250428, doubao-seedance-1-0-lite-i2v-250428
- Task Management — Query tasks, batch query, wait with polling
- Rich Output — Beautiful terminal tables and panels via Rich
- JSON Mode — Machine-readable output with
--jsonfor piping
Quick Start
1. Get API Token
- Open Applications and sign in or register.
- Find General application, or choose Initialize General Application if needed. Check service/model access, balance and current pricing.
- In General application → API KEY, click the copy button marked 1 below. Use only the raw token, without spaces, quotes or
Bearer. Aplatform-...management token cannot replace it.
See the detailed key guide (English). Never put the key in prompts or Git commits.
2. Generate a video
After installing above, run this synchronous request (no --async or callback):
export ACEDATACLOUD_API_TOKEN=your_token_here
seedance generate "A white ceramic coffee mug on a glossy marble countertop with soft morning window light. The camera slowly orbits 360 degrees around the mug, steam gently rising." \
--model doubao-seedance-2-0-fast-260128 \
--resolution 720p --aspect-ratio 16:9 --duration 5 --json
{
"success": true,
"task_id": "9777f36b-4f44-47ff-962d-45cd2f7aeaa8",
"trace_id": "ce5da2ca-6695-4459-9d2c-2ef9f86db752",
"data": {
"task_id": "7e4e1773-510a-4a73-9ab4-98dd1a0b2a7f",
"status": "succeeded",
"model": "doubao-seedance-2-0-fast-260128",
"duration": 5,
"resolution": "720p",
"ratio": "16:9",
"video_url": "https://cdn.acedata.cloud/assets/examples/seedance/036f24ed-a9b1-49b3-92c4-30049a3bc152-102bf9f98e35.mp4"
}
}
This is the documented result from the generation guide (English); your IDs and video URL will differ. When data.status is succeeded, open or download data.video_url. Save the top-level task_id for any later lookup, not data.task_id. A timeout or disconnected client does not prove generation failed; do not blindly resubmit.
Optional separate key
For independently revocable credentials, open General application → Keys / Manage Keys → Create. Name the key and review expiration, usage limits and allowed APIs; enable generation as well as any task queries you need. Copy the token and store it securely. This is optional, not a prerequisite for the Quickstart.
Commands
| Command | Description |
|---|---|
seedance generate <prompt> |
Generate a video from a text prompt |
seedance image-to-video <prompt> -i <url> |
Generate a video from reference image(s) |
seedance task <task_id> |
Query a single task status |
seedance tasks <id1> <id2>... |
Query multiple tasks at once |
seedance wait <task_id> |
Wait for task completion with polling |
seedance models |
List available Seedance models |
seedance config |
Show current configuration |
seedance aspect-ratios |
List available aspect ratios |
seedance resolutions |
List available output resolutions |
Global Options
--token TEXT API token (or set ACEDATACLOUD_API_TOKEN env var)
--version Show version
--help Show help message
Most commands support:
--json Output raw JSON (for piping/scripting)
--model TEXT Seedance model version (default: doubao-seedance-2-0-260128)
--aspect-ratio TEXT Aspect ratio (16:9, 9:16, 1:1, 4:3, 3:4, 21:9, adaptive)
--resolution TEXT Output resolution (480p, 720p, 1080p, 4k)
--duration INT Duration in seconds (-1 for auto, up to 15 for 2.0 or 30 for 2.5). Mutually exclusive with --frames.
--frames INT Frame count (29–289, must satisfy 25+4n). Mutually exclusive with --duration.
--seed INT Random seed for reproducible generation (-1 for random).
--camerafixed BOOL Fix the camera position (true/false).
--watermark BOOL Add a watermark to the output (true/false).
--generate-audio BOOL Generate audio (true/false). Supported by doubao-seedance-1-5-pro-251215 and Seedance 2.x.
--return-last-frame BOOL Return the last frame of the video (true/false).
--tool-json TEXT Seedance 2.5 web_search tool object as JSON (one maximum).
--priority INT Seedance 2.5 task priority (0–9).
--safety-identifier TEXT Stable anonymous end-user identifier (maximum 64 characters).
--execution-expires-after INT Task timeout in seconds (3600–259200).
--callback-url TEXT Webhook callback URL.
--first-frame-url TEXT Reference image URL for the first frame.
--last-frame-url TEXT Reference image URL for the last frame.
--reference-image-url TEXT Additional reference image URL(s) (repeatable).
--audio-url TEXT Reference audio URL.
--video-url TEXT Reference video URL.
Available Models
| Model | Version | Notes |
|---|---|---|
doubao-seedance-1-5-pro-251215 |
V1.5 Pro | Newest 1.x, supports audio generation |
doubao-seedance-1-0-pro-250528 |
V1.0 Pro | Standard quality |
doubao-seedance-1-0-pro-fast-251015 |
V1.0 Fast | Faster generation |
doubao-seedance-1-0-lite-t2v-250428 |
V1.0 Lite T2V | Lightweight text-to-video |
doubao-seedance-1-0-lite-i2v-250428 |
V1.0 Lite I2V | Lightweight image-to-video |
doubao-seedance-2-5-260628 |
V2.5 | Latest flagship, up to 30s, edit/extend |
doubao-seedance-2-0-260128 |
V2.0 Standard (default) | 4–15s; 480p / 720p / 1080p / 4K |
doubao-seedance-2-0-fast-260128 |
V2.0 Fast | Fast prompt/reference iteration; 4–15s; 480p / 720p |
doubao-seedance-2-0-mini-260615 |
V2.0 Mini | Budget-oriented batch previews; 4–15s; 480p / 720p |
All three 2.0 models support text generation, first/last-frame control and image, video and audio references. See the Seedance generation guide (English) and current pricing. CLI defaults are unchanged.
Configuration
Environment Variables
| Variable | Description | Default |
|---|---|---|
ACEDATACLOUD_API_TOKEN |
API token from AceDataCloud | Required |
ACEDATACLOUD_API_BASE_URL |
API base URL | https://api.acedata.cloud |
SEEDANCE_DEFAULT_MODEL |
Default model | doubao-seedance-2-0-260128 |
SEEDANCE_REQUEST_TIMEOUT |
Timeout in seconds | 1800 |
Development
Setup Development Environment
git clone https://github.com/AceDataCloud/SeedanceCli.git
cd SeedanceCli
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev,test]"
Run Tests
pytest
pytest --cov=seedance_cli
pytest tests/test_integration.py -m integration
Code Quality
ruff format .
ruff check .
mypy seedance_cli
Docker
docker pull ghcr.io/acedatacloud/seedance-cli:latest
docker run --rm -e ACEDATACLOUD_API_TOKEN=your_token \
ghcr.io/acedatacloud/seedance-cli generate "A test video"
Project Structure
SeedanceCli/
├── seedance_cli/ # Main package
│ ├── __init__.py
│ ├── __main__.py # python -m seedance_cli entry point
│ ├── main.py # CLI entry point
│ ├── core/ # Core modules
│ │ ├── client.py # HTTP client for Seedance API
│ │ ├── config.py # Configuration management
│ │ ├── exceptions.py # Custom exceptions
│ │ └── output.py # Rich terminal formatting
│ └── commands/ # CLI command groups
│ ├── video.py # Video generation commands
│ ├── task.py # Task management commands
│ └── info.py # Info & utility commands
├── tests/ # Test suite
├── .github/workflows/ # CI/CD (lint, test, publish to PyPI)
├── Dockerfile # Container image
├── deploy/ # Kubernetes deployment configs
├── .env.example # Environment template
├── pyproject.toml # Project configuration
└── README.md
Seedance CLI vs MCP Seedance
| Feature | Seedance CLI | MCP Seedance |
|---|---|---|
| Interface | Terminal commands | MCP protocol |
| Usage | Direct shell, scripts, CI/CD | Claude, VS Code, MCP clients |
| Output | Rich tables / JSON | Structured MCP responses |
| Automation | Shell scripts, piping | AI agent workflows |
| Install | pip install seedance-cli |
pip install mcp-seedance |
Both tools use the same AceDataCloud API and share the same API token.
Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing) - Open a Pull Request
Development Requirements
- Python 3.10+
- Dependencies:
pip install -e ".[all]" - Lint:
ruff check . && ruff format --check . - Test:
pytest
License
This project is licensed under the MIT License — see the LICENSE file for details.
Metadata
Release files for seedance-cli 2026.11.30.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| seedance_cli-2026.11.30.0.tar.gz | 24.9 kB | Without provenance | Details for seedance_cli-2026.11.30.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| seedance_cli-2026.11.30.0-py3-none-any.whl | Python 3 | none | any | Details for seedance_cli-2026.11.30.0-py3-none-any.whl |
Total release size: 44.3 kB
Release files / seedance_cli-2026.11.30.0.tar.gz
| Download URL | seedance_cli-2026.11.30.0.tar.gz |
|---|---|
| Size | 24.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
727330b655c1221c59d826ae5af6a1395b86ce837c2d11b6a7f890b5b7a2a739
|
|
BLAKE2b-256 checksum How to use checksums |
1e2b6d484236e21d72c9f174347ff9ec0b8dca6ccdd4f0bd67fc47eb5b5ae217
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / seedance_cli-2026.11.30.0-py3-none-any.whl
| Download URL | seedance_cli-2026.11.30.0-py3-none-any.whl |
|---|---|
| Size | 19.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc1d976ebfe721740ccf5806c757b7d7d419325be5ac48cabf6467d6a2f9c895
|
|
BLAKE2b-256 checksum How to use checksums |
36264f46100b73f1fb7a19e3aeb12889666a19a9d1d4f1e0adb843076581408a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for seedance-cli 2026.11.30.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.