VideoToken MCP Server
# VideoToken MCP Server
[](./LICENSE)
[](https://nodejs.org)
A zero-dependency **Model Context Protocol (MCP)** server for **[VideoToken](https://video-token.cc)** — the unified AI video generation API for **Seedance 2.5**, **Seedance 2.0**, **Dreamina**, and **Alibaba Wan 3.0**.
Let **Claude Code**, **Claude Desktop**, **Cursor**, **Windsurf**, or **Antigravity** inspect live USD video pricing, estimate batch generation costs, generate 480p–1080p AI videos, poll async tasks, and download MP4 outputs directly from your editor.
---
## Live USD Pricing & Official Discounts
> Live rates are always publicly verifiable at [`GET https://video-token.cc/api/pricing`](https://video-token.cc/api/pricing) and side-by-side at **[video-token.cc/compare](https://video-token.cc/compare)**.
### Per-Second Video Models (Value & Alibaba Wan 3.0)
| Model | Public Model ID | 480p / sec | 720p / sec | 1080p / sec | 5s 720p Clip | Discount vs Official |
| :--- | :--- | :---: | :---: | :---: | :---: | :--- |
| **Seedance 2.5 Value** | `dreamina-seedance-2-5-cheap` | `$0.0485` | `$0.0818` | — | **`$0.41`** | **60% OFF (4折)** · Up to 82% off fal.ai |
| **Seedance 2.5 Flash Value** | `dreamina-seedance-2-5-flash-cheap` | `$0.0303` | `$0.0485` | — | **`$0.24`** | **60% OFF (4折)** |
| **Seedance 2.0 Value** | `dreamina-seedance-2-0-cheap` | `$0.0303` | `$0.0485` | — | **`$0.24`** | **60% OFF (4折)** |
| **Alibaba Wan 3.0** | `wan3.0-video` | `$0.0205` | `$0.0409` | `$0.0818` | **`$0.20`** | **55% OFF (4.5折 vs Alibaba Cloud)** |
| **Alibaba Wan 3.0 Prime** | `wan3.0-video-prime` | `$0.0409` | `$0.0818` | `$0.1636` | **`$0.41`** | **40% OFF (6折 vs Alibaba Cloud)** |
### Official Token-Billed Seedance Models (1080p / 4K / Ark v3)
| Model | Public Model ID | 480p / 720p (USD / 1M Output Tokens) | 1080p (USD / 1M Output Tokens) | BytePlus Official Rate | Discount vs Official |
| :--- | :--- | :---: | :---: | :---: | :--- |
| **Doubao Seedance 2.5** | `doubao-seedance-2-5-260628` | `$7.64` (`$4.58` w/ ref video) | `$8.40` (`$5.02` w/ ref video) | `$10.70` / `$11.70` | **~28% OFF (7.14–7.18折)** |
| **Doubao Seedance 2.5 Flash** | `doubao-seedance-2-5-flash-261115` | `$5.02` (`$3.05` w/ ref video) | — | `$7.00` | **~28% OFF (7.1–7.2折)** |
| **Doubao Seedance 2.0** | `doubao-seedance-2-0-260128` | `$5.02` (`$3.05` w/ ref video) | `$5.56` (`$3.38` w/ ref video) | `$7.00` / `$7.70` | **~28% OFF (7.1–7.2折)** |
| **Dreamina Seedance 2.5 Official** | `dreamina-seedance-2-5` | `$7.81` (`$4.67` w/ ref video) | `$8.54` (`$5.11` w/ ref video) | `$10.70` / `$11.70` | **27% OFF (7.3折)** |
- Pay-as-you-go USD billing · Automatic reservation refund on failed or timed-out tasks · Browser **[Online Studio](https://video-token.cc/studio)** sharing the same balance.
---
## Quick Setup (Claude Code / Cursor / Claude Desktop)
1. Get an API key at **[https://video-token.cc/keys](https://video-token.cc/keys)** *(Note: `list_video_models` and `estimate_video_cost` work even without an API key)*.
2. Add the server to your MCP config:
```json
{
"mcpServers": {
"videotoken": {
"command": "npx",
"args": ["-y", "videotoken-mcp-server"],
"env": {
"VIDEOTOKEN_API_KEY": "YOUR_VIDEOTOKEN_API_KEY"
}
}
}
}
```
Or run locally from a cloned repo:
```json
{
"mcpServers": {
"videotoken": {
"command": "node",
"args": ["/path/to/videotoken-mcp-server/bin/videotoken-mcp.mjs"],
"env": {
"VIDEOTOKEN_API_KEY": "YOUR_VIDEOTOKEN_API_KEY"
}
}
}
}
```
---
## Available MCP Tools
| Tool | Auth Required | Description |
| :--- | :---: | :--- |
| `list_video_models` | No | Fetch live published video models and USD rate cards from `/api/pricing`. |
| `estimate_video_cost` | No | Estimate exact USD cost per clip and total batch cost by model, resolution, and duration. |
| `generate_video` | Yes | Submit an async video generation job (`POST /v1/videos`, NewAPI JSON, or Ark v3) with automatic `Idempotency-Key`. |
| `get_video_task` | Yes | Poll task status and retrieve completed output URLs. |
| `download_video` | Yes | Download a completed MP4 file directly to a local path. |
---
## Standalone Code Examples
- Python quickstart (Seedance 2.5): [`examples/seedance_quickstart.py`](./examples/seedance_quickstart.py)
- Node.js quickstart (Alibaba Wan 3.0): [`examples/wan3_quickstart.mjs`](./examples/wan3_quickstart.mjs)
## Links
- Website & Online Studio: [https://video-token.cc](https://video-token.cc) · [https://video-token.cc/studio](https://video-token.cc/studio)
- Live Models & Pricing: [https://video-token.cc/models](https://video-token.cc/models)
- Pricing Comparison vs fal.ai / WaveSpeed / Kie.ai: [https://video-token.cc/compare](https://video-token.cc/compare)
- Full API Documentation: [https://video-token.cc/docs](https://video-token.cc/docs)
- LLM Reference: [https://video-token.cc/llms.txt](https://video-token.cc/llms.txt)
TDQS
Scored across 5 tools
Each tool maps to a distinct stage of the video lifecycle: discover models, price a generation, submit a task, poll a task, and download the result. There is no meaningful overlap; even estimate_video_cost and generate_video are cleanly separated by intent (quoting vs. execution).
All names follow a consistent verb_noun snake_case pattern (list_video_models, estimate_video_cost, generate_video, get_video_task, download_video). Verb choice is precise and predictable, so an agent can infer call order from the names alone.
Five tools is well-scoped for a focused video-generation service, with each tool earning its place in the workflow. Nothing feels redundant or padded.
The discover → price → generate → poll → download pipeline is fully covered, which is the core user journey. Minor gaps remain: no cancel/delete task and no list-my-tasks/history operation, which agents may want for cleanup or batch retrieval.