Back to Home
skyinv icon

Seedream_MCP

Verified Safe

by 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

Run Command
python main.py

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens200
Stars0
Forks0
Last Update2026-01-19

Tags

AI Image GenerationMCP ToolCloud StoragePrompt EngineeringPython