MCP server that wraps the Doubao generation API.
Project description
Doubao MCP Server
MCP server that exposes tools for creating and querying Doubao generation tasks via the
doubao-seedance-1-0-pro-250528 model.
Prerequisites
- Python 3.10+
- Conda environment
doubao-mcp(or any environment with the dependencies installed) - Doubao Ark API key exported as
ARK_API_KEY
Installation
conda activate doubao-mcp
pip install -e .
Running the server
-
Set the API key before launching:
$env:ARK_API_KEY = "<your_api_key>"
-
Start the MCP server (stdio):
doubao-mcp-serveror run the module directly:
python -m doubao_mcp.server
Tool reference
create_viceo
| Parameter | Type | Description |
|---|---|---|
text |
str | Required text prompt describing the video storyline. |
ratio |
str? | Optional ratio (for example 16:9). |
resolution |
str? | Optional resolution such as 720p or 1080p. |
duration |
int? | Optional duration in seconds. |
frames_per_second |
int? | Optional frame rate. |
seed |
int? | Optional deterministic seed. |
Returns a structured payload containing the task id, the exact request JSON (only documented fields are sent), the raw Doubao response, plus formatted_request/formatted_response strings for easy viewing.
get_video_result
| Parameter | Type | Description |
|---|---|---|
task_id |
str | Doubao task id returned by create_viceo. |
Returns both the raw JSON payload from GET https://ark.cn-beijing.volces.com/api/v3/contents/generations/tasks/<task_id> and a formatted_response string.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file doubao_mcp-0.1.1.tar.gz.
File metadata
- Download URL: doubao_mcp-0.1.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac6b1dc71807a5779dcd48928d2d8ba508972f12784ef6c0d3c38c55b601dad3
|
|
| MD5 |
05f5b5e16909c503fc3f284a1a806ede
|
|
| BLAKE2b-256 |
df191a40b53077744917a26d03ca055bdc50a967422512719ca1d7229faedb20
|
File details
Details for the file doubao_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: doubao_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9e8fe6851e83c24b90b305a163e70ad47415741a31452e8bb25f51322b4d91a
|
|
| MD5 |
80226149c77299cb56dd18d62a3fe0de
|
|
| BLAKE2b-256 |
868cc1eeed12697c147c169f642b7384ec6eb650be55efd38425c9e876c7a91b
|