SeedreamMCP
SeedreamMCP
ByteDanceのSeedreamモデルをAceDataCloud API経由で利用し、AI画像生成および編集を行うためのModel Context Protocol (MCP)サーバーです。
Claude、VS Code、またはMCP互換クライアントから直接AI画像を生成・編集できます。
機能
テキストからの画像生成 — テキストプロンプト(中国語および英語)から高品質な画像を生成
画像編集 — AIを使用して既存の画像を編集(スタイル変換、背景変更、バーチャル試着)
複数モデル — Seedream v5.0(フラッグシップ)、v4.5、v4.0、v3.0 T2I、SeedEdit v3.0 I2I
マルチ解像度 — 1K、2K、3K、4K、アダプティブ、およびカスタムサイズ
シード値制御 — シードパラメータによる再現可能な結果(v3モデル)
シーケンシャル生成 — 関連画像を連続して生成(v4.5/v4.0)
ストリーミング — プログレッシブな画像配信(v4.5/v4.0)
タスク追跡 — 生成の進捗状況の監視と結果の取得
Related MCP server: Doubao Image/Video Generation MCP Server
ツールリファレンス
ツール | 説明 |
| ByteDanceのSeedreamモデルを使用してテキストプロンプトからAI画像を生成します。 |
| ByteDanceのSeedream/SeedEditモデルを使用して既存の画像を編集または修正します。 |
| Seedreamの画像生成または編集タスクのステータスと結果を照会します。 |
| 複数のSeedream画像タスクを一度に照会します。 |
| 利用可能なすべてのSeedreamモデルとその機能および価格を一覧表示します。 |
| Seedreamで利用可能なすべての画像サイズと解像度オプションを一覧表示します。 |
クイックスタート
1. APIトークンの取得
AceDataCloudプラットフォームにサインアップします
APIドキュメントページに移動します
**「Acquire」**をクリックしてAPIトークンを取得します
以下の使用のためにトークンをコピーします
2. ホスト型サーバーの使用(推奨)
AceDataCloudは管理されたMCPサーバーをホストしており、ローカルインストールは不要です。
エンドポイント: https://seedream.mcp.acedata.cloud/mcp
すべてのリクエストにはBearerトークンが必要です。ステップ1で取得したAPIトークンを使用してください。
Claude.ai
Claude.aiでOAuthを使用して直接接続します(APIトークンは不要です):
Claude.aiの設定 → 統合 → その他を追加に移動します
サーバーURLを入力します:
https://seedream.mcp.acedata.cloud/mcpOAuthログインフローを完了します
会話内でツールを使用し始めます
Claude Desktop
設定ファイル(macOSの場合は ~/Library/Application Support/Claude/claude_desktop_config.json)に追加します:
{
"mcpServers": {
"seedream": {
"type": "streamable-http",
"url": "https://seedream.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Cursor / Windsurf
MCP設定(.cursor/mcp.json または .windsurf/mcp.json)に追加します:
{
"mcpServers": {
"seedream": {
"type": "streamable-http",
"url": "https://seedream.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}VS Code (Copilot)
VS CodeのMCP設定(.vscode/mcp.json)に追加します:
{
"servers": {
"seedream": {
"type": "streamable-http",
"url": "https://seedream.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}または、VS Code用のAce Data Cloud MCP拡張機能をインストールしてください。15個のMCPサーバーすべてがワンクリックでセットアップされます。
JetBrains IDEs
**設定 → ツール → AI Assistant → Model Context Protocol (MCP)**に移動します
追加 → HTTPをクリックします
以下を貼り付けます:
{
"mcpServers": {
"seedream": {
"url": "https://seedream.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Claude Code
Claude CodeはMCPサーバーをネイティブでサポートしています:
claude mcp add seedream --transport http https://seedream.mcp.acedata.cloud/mcp \
-h "Authorization: Bearer YOUR_API_TOKEN"または、プロジェクトの .mcp.json に追加します:
{
"mcpServers": {
"seedream": {
"type": "streamable-http",
"url": "https://seedream.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Cline
ClineのMCP設定(.cline/mcp_settings.json)に追加します:
{
"mcpServers": {
"seedream": {
"type": "streamable-http",
"url": "https://seedream.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Amazon Q Developer
MCP設定に追加します:
{
"mcpServers": {
"seedream": {
"type": "streamable-http",
"url": "https://seedream.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Roo Code
Roo CodeのMCP設定に追加します:
{
"mcpServers": {
"seedream": {
"type": "streamable-http",
"url": "https://seedream.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Continue.dev
.continue/config.yaml に追加します:
mcpServers:
- name: seedream
type: streamable-http
url: https://seedream.mcp.acedata.cloud/mcp
headers:
Authorization: "Bearer YOUR_API_TOKEN"Zed
Zedの設定(~/.config/zed/settings.json)に追加します:
{
"language_models": {
"mcp_servers": {
"seedream": {
"url": "https://seedream.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
}cURLテスト
# Health check (no auth required)
curl https://seedream.mcp.acedata.cloud/health
# MCP initialize
curl -X POST https://seedream.mcp.acedata.cloud/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'3. ローカルでの実行(代替手段)
自身のマシンでサーバーを実行したい場合:
# Install from PyPI
pip install mcp-seedream-pro
# or
uvx mcp-seedream-pro
# Set your API token
export ACEDATACLOUD_API_TOKEN="your_token_here"
# Run (stdio mode for Claude Desktop / local clients)
mcp-seedream-pro
# Run (HTTP mode for remote access)
mcp-seedream-pro --transport http --port 8000Claude Desktop (ローカル)
{
"mcpServers": {
"seedream": {
"command": "uvx",
"args": ["mcp-seedream-pro"],
"env": {
"ACEDATACLOUD_API_TOKEN": "your_token_here"
}
}
}
}Docker (セルフホスト)
docker pull ghcr.io/acedatacloud/mcp-seedream-pro:latest
docker run -p 8000:8000 ghcr.io/acedatacloud/mcp-seedream-pro:latestクライアントは独自のBearerトークンで接続します。サーバーは各リクエストの Authorization ヘッダーからトークンを抽出します。
利用可能なツール
画像生成および編集
ツール | 説明 |
| テキストプロンプトから画像を生成 |
| AIを使用して既存の画像を編集または修正 |
タスク管理
ツール | 説明 |
| 単一のタスクのステータスと結果を照会 |
| 複数のタスクを一度に照会 |
情報
ツール | 説明 |
| 利用可能なモデルと機能を一覧表示 |
| 利用可能な画像サイズオプションを一覧表示 |
利用可能なモデル
モデル | バージョン | タイプ | 最適な用途 | 価格 |
| v5.0 | テキストから画像 | 最高品質、最新フラッグシップ、ウェブ検索 | ~$0.040/画像 |
| v4.5 | テキストから画像 | 前フラッグシップ、高品質 | ~$0.037/画像 |
| v4.0 | テキストから画像 | コスパ重視、タスク向け | ~$0.030/画像 |
| v3.0 | テキストから画像 | 再現可能な結果 | ~$0.038/画像 |
| v3.0 | 画像から画像 | 画像編集 | ~$0.046/画像 |
使用例
プロンプトからの画像生成
User: Create a photorealistic image of a cat in a garden
Claude: I'll generate that image for you.
[Calls seedream_generate_image with detailed prompt]
→ Returns task_id and image URL画像編集
User: Change the background of this photo to a beach
[Provides image URL]
Claude: I'll edit that image for you.
[Calls seedream_edit_image with image URL and edit description]中国語プロンプトのサポート
User: 生成一幅中国山水画,有远山、流水和古松
Claude: 好的,我来为您生成这幅山水画。
[Calls seedream_generate_image with Chinese prompt]再現可能な生成
User: Generate a landscape and make sure I can recreate the exact same image later
Claude: I'll use the v3 model with a fixed seed.
[Calls seedream_generate_image with model=doubao-seedream-3-0-t2i-250415, seed=42]設定
環境変数
変数 | 説明 | デフォルト |
| AceDataCloudのAPIトークン | 必須 |
| APIベースURL |
|
| OAuthクライアントID(ホストモード) | — |
| プラットフォームベースURL |
|
| リクエストタイムアウト(秒) |
|
| ログレベル |
|
コマンドラインオプション
mcp-seedream-pro --help
Options:
--version Show version
--transport Transport mode: stdio (default) or http
--port Port for HTTP transport (default: 8000)開発
開発環境のセットアップ
# Clone repository
git clone https://github.com/AceDataCloud/SeedreamMCP.git
cd SeedreamMCP
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # or `.venv\Scripts\activate` on Windows
# Install with dev dependencies
pip install -e ".[dev,test]"テストの実行
# Run unit tests
pytest
# Run with coverage
pytest --cov=core --cov=tools
# Run integration tests (requires API token)
pytest -m integrationコード品質
# Format code
ruff format .
# Lint code
ruff check .
# Type check
mypy core tools main.pyビルドと公開
# Install build dependencies
pip install -e ".[release]"
# Build package
python -m build
# Upload to PyPI
twine upload dist/*プロジェクト構造
SeedreamMCP/
├── core/ # Core modules
│ ├── __init__.py
│ ├── client.py # HTTP client for Seedream API
│ ├── config.py # Configuration management
│ ├── exceptions.py # Custom exceptions
│ ├── server.py # MCP server initialization
│ ├── types.py # Type definitions
│ └── utils.py # Utility functions
├── tools/ # MCP tool definitions
│ ├── __init__.py
│ ├── image_tools.py # Image generation/editing tools
│ ├── task_tools.py # Task query tools
│ └── info_tools.py # Model & size info tools
├── prompts/ # MCP prompt templates
│ └── __init__.py
├── tests/ # Test suite
│ ├── conftest.py
│ ├── test_config.py
│ └── test_utils.py
├── deploy/ # Deployment configs
│ ├── run.sh
│ └── production/
│ ├── deployment.yaml
│ ├── ingress.yaml
│ └── service.yaml
├── .github/ # GitHub Actions workflows
│ ├── dependabot.yml
│ └── workflows/
│ ├── ci.yaml
│ ├── claude.yml
│ ├── deploy.yaml
│ └── publish.yml
├── .env.example # Environment template
├── .gitignore
├── .ruff.toml # Ruff linter config
├── CHANGELOG.md
├── Dockerfile # Docker image for HTTP mode
├── docker-compose.yaml # Docker Compose config
├── LICENSE
├── main.py # Entry point
├── pyproject.toml # Project configuration
└── README.mdAPIリファレンス
このサーバーはAceDataCloud Seedream APIをラップしています:
Seedream Images API — 画像生成および編集
Seedream Tasks API — タスク照会
ユースケース
AIアート制作 — 見事なアートワーク、イラスト、デジタルアートの生成
商品写真 — プロフェッショナルな商品シーン構成の作成
コンテンツ制作 — ブログ、SNS、マーケティング用画像の生成
バーチャル試着 — さまざまなモデルでの衣服の視覚化
スタイル変換 — 写真を異なるアートスタイルに変換
ゲームデザイン — コンセプトアート、キャラクターデザイン、環境デザイン
Eコマース — 商品モックアップ、ライフスタイルショット、バナー画像
ライセンス
MIT License - 詳細はLICENSEファイルを参照してください。
リンク
Available Tools
7 toolsseedream_decompose_imageDecompose an image with SeedreamBDestructiveInspect
Decompose one image into a base image and up to 16 editable transparent layers.
Inputs: image (required), size, prompt, watermark, +2 more. Returns: result
seedream_edit_imageEdit an image with SeedreamADestructiveInspect
Edit or modify existing images using ByteDance's Seedream/SeedEdit model.
This tool modifies existing images based on text instructions. It can change
styles, backgrounds, attributes, clothing, and more. Supports single or
multiple image inputs.
Use this when:
- You want to modify or transform an existing image
- You need to change style, background, colors, or attributes
- You want to apply artistic transformations (watercolor, oil painting, etc.)
- You need virtual try-on (clothing on person)
- You want to place objects in different scenes
Common use cases:
- Style transfer: "Convert to anime style", "Make it look like a pencil sketch"
- Background change: "Replace background with a sunset beach"
- Attribute edit: "Change hair color to blonde", "Add sunglasses"
- Virtual try-on: Provide person image + clothing image
- Scene composition: Place products in realistic environments
Returns:
JSON with task_id, trace_id, success status, and edited image data
including image URLs.
Inputs: image (required), prompt (required), size, model, +9 more. Returns: result
seedream_generate_imageGenerate a Seedream imageADestructiveInspect
Generate an AI image from a text prompt using ByteDance's Seedream model.
This tool creates high-quality images from text descriptions using ByteDance's
Seedream models (powered by Doubao). Supports multiple model versions with different
capabilities and quality levels.
Use this when:
- You want to generate a new image from scratch based on a text description
- You need high-quality AI-generated images (photos, illustrations, art)
- You want to create images with specific styles, compositions, or themes
Do NOT use this when:
- You want to edit or modify an existing image (use seedream_edit_image instead)
- You need to combine multiple images (use seedream_edit_image instead)
Model selection guide:
- v5.0 Lite (doubao-seedream-5-0-lite-260128): Image sets, streaming, and web search
- v4.5 (doubao-seedream-4-5-251128): Previous flagship, great quality and detail
- v4.0 (doubao-seedream-4-0-250828): Stable and cost-effective, great for most tasks
Returns:
JSON with task_id, trace_id, success status, and generated image data
including image URLs.
Inputs: prompt (required), size, model, tools, +7 more. Returns: result
seedream_get_taskGet Seedream task resultARead-onlyIdempotentInspect
Query the status and result of a Seedream image generation or edit task.
Use this to check if a generation/edit is complete and retrieve the resulting
image URLs and metadata.
Use this when:
- You want to check if an image generation has completed
- You need to retrieve image URLs from a previous generation
- You want to get the full details of a generated/edited image
Returns:
Task status and image information including URLs, prompts, and metadata.
Inputs: task_id (required). Returns: result
seedream_get_tasks_batchGet Seedream task results in batchARead-onlyIdempotentInspect
Query multiple Seedream image tasks at once.
Efficiently check the status of multiple tasks in a single request.
More efficient than calling seedream_get_task multiple times.
Use this when:
- You have multiple pending generations to check
- You want to get status of several images at once
- You're tracking a batch of generations
Returns:
Status and image information for all queried tasks.
Inputs: task_ids (required). Returns: result
seedream_list_modelsList Seedream modelsARead-onlyIdempotentInspect
List all available Seedream models with their capabilities and pricing.
Use this when:
- User asks what models are available
- You need to help choose the right model for a task
- You want to compare model capabilities
Returns:
Formatted table of all Seedream models with descriptions.
Inputs: no named parameters. Returns: result
seedream_list_sizesList Seedream image sizesARead-onlyIdempotentInspect
List all available image sizes and resolution options for Seedream.
Use this when:
- User asks about available image sizes
- You need to help choose the right resolution
- You want to understand size options
Returns:
Formatted list of all size options with descriptions.
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct action on a distinct resource: create (generate), modify (edit), split into layers (decompose), poll one task (get_task), poll many (get_tasks_batch), and metadata lookups (list_models, list_sizes). The generate/edit descriptions even include explicit 'Do NOT use this when...' cross-references, so misselection risk is minimal.
All seven tools follow the same `seedream_<verb>_<noun>` snake_case pattern, and the verbs are semantically consistent (generate/edit/decompose for mutations, get/list for reads). No style mixing or vagueness.
Seven tools is tight and well-scoped for an async image-generation service: two creation paths, one advanced decompose, two polling tools, and two metadata lookups. Nothing appears redundant or bolted on.
The core lifecycle (submit generate/edit, poll single or batch, discover models and sizes, decompose) is fully covered. Minor gaps remain: no task cancellation, no delete/cleanup, and no way to list recent or in-flight tasks without already knowing task IDs.
Maintenance
Related MCP Connectors
Generate images and videos with 200+ AI models (GPT-Image-2, Seedance, Veo, Kling) via one API.
AI video, images, music & SFX: Seedance 2.5, Veo 3.1, Kling 3.0, Nano Banana Pro, 20+ models.
Generate AI images and videos with Seedance, Kling, Veo, Sora, Nano Banana and more, one balance.
Generate images, video, music, voice and 3D through one API. 30 tools, 200+ models.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI image generation using Volcano Engine's Seedream 4.0 API with text-to-image, image-to-image, multi-image fusion capabilities, built-in prompt templates, and automatic cloud storage integration.19MIT
- AlicenseAqualityDmaintenanceEnables AI image generation using Doubao Seedream models and video generation using Doubao Seedance models through Volcano Engine's API, supporting text-to-image, image-to-image, text-to-video, and task status queries.326 npm4MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI-powered image generation using Volcano Engine's SeeDream 4.0 model. Supports custom sizes, reference images, and automatic prompt generation without complex prompting.7 npmMIT
- AlicenseAqualityBmaintenanceByteDance Seedance AI video generation with text-to-video, image-to-video, multiple models (1.5 Pro/1.0 Pro/Lite), synchronized audio, and flexible resolutions up to 1080p.725MIT