Seedream_MCP
Verified Safeby skyinv
Overview
An enhanced tool for AI image generation, offering text-to-image, image-to-image, merging, and grouping, with integrated cloud storage and prompt templating.
Installation
python main.pyEnvironment Variables
- ARK_API_KEY
- ARK_BASE_URL
- SEEDREAM_MODEL_ID
- SEEDREAM_DEFAULT_SIZE
- SEEDREAM_DEFAULT_WATERMARK
- SEEDREAM_TIMEOUT
- SEEDREAM_API_TIMEOUT
- SEEDREAM_MAX_RETRIES
- LOG_LEVEL
- LOG_FILE
- SEEDREAM_AUTO_SAVE_ENABLED
- SEEDREAM_AUTO_SAVE_BASE_DIR
- SEEDREAM_AUTO_SAVE_DOWNLOAD_TIMEOUT
- SEEDREAM_AUTO_SAVE_MAX_RETRIES
- SEEDREAM_AUTO_SAVE_MAX_FILE_SIZE
- SEEDREAM_AUTO_SAVE_MAX_CONCURRENT
- SEEDREAM_AUTO_SAVE_DATE_FOLDER
- SEEDREAM_AUTO_SAVE_CLEANUP_DAYS
- QINIU_ACCESS_KEY
- QINIU_SECRET_KEY
- QINIU_BUCKET_NAME
- QINIU_DOMAIN
Security Notes
The project demonstrates good security practices by externalizing API keys (ARK_API_KEY, QINIU_ACCESS_KEY, QINIU_SECRET_KEY) into .env files and explicitly validating `ARK_API_KEY` to prevent use of placeholders. Path traversal and file size limits are implemented for local file operations (reading input images, saving generated images), reducing local file system risks. The `FileManager` includes checks for unsafe paths. No usage of `eval` or obvious obfuscation was found. The core functionality involves making HTTP requests to external AI APIs and cloud storage, which are standard operations for such a tool.
Similar Servers
z-image-studio
Z-Image Studio is a local toolkit for high-quality text-to-image generation using the Z-Image-Turbo model, providing CLI, Web UI, and MCP server interfaces with hardware optimizations.
imgenx
AI image and video generation and processing, functioning as a command-line tool or MCP server.
image-gen-mcp-server
This repository functions as a landing page and documentation for an AI image generation plugin that unifies multiple AI image providers through a single interface for Claude Code users.
Comfy-MCP
Automates text-to-image generation using ComfyUI workflows, enabling seamless integration with MCP-compatible AI agents like Claude and Gemini.