Seedance video generation MCP server for Polza.ai.
mcp-name: io.github.ivanantigravity-lgtm/seedance-polza-mcp-server
MCP сервер для генерации видео через bytedance/seedance-2 (и другие Seedance-модели) на Polza.ai.
Claude Desktop или Claude CodeuvPOLZA_AI_API_KEY — ключ берётся на polza.ai/dashboard/api-keysПоставить uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
Создай .mcp.json в корне проекта:
{
"mcpServers": {
"seedance-polza": {
"command": "uvx",
"args": ["seedance-polza-mcp-server@latest"],
"env": {
"POLZA_AI_API_KEY": "your-polza-api-key-here"
}
}
}
}
Перезапусти Claude Code.
Файл ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"seedance-polza": {
"command": "uvx",
"args": ["seedance-polza-mcp-server@latest"],
"env": {
"POLZA_AI_API_KEY": "your-polza-api-key-here"
}
}
}
}
Файл: %APPDATA%\Claude\claude_desktop_config.json. Содержимое идентичное.
После перезапуска Claude попроси:
Сделай через seedance короткое видео: закат над океаном, 16:9, 5 секунд
Claude должен вызвать seedance_create_video и дождаться готовности через seedance_wait_for_completion.
seedance_create_video — запустить генерациюseedance_get_status — проверить статус по idseedance_wait_for_completion — ждать polling-ом до готовностиseedance_model_guide — краткая памятка по параметрамbytedance/seedance-28 секунд900 секунд| Переменная | Обязательная | По умолчанию |
|---|---|---|
POLZA_AI_API_KEY | да | — |
POLZA_BASE_URL | нет | https://polza.ai/api/v1 |
SEEDANCE_MODEL | нет | bytedance/seedance-2 |
SEEDANCE_POLL_INTERVAL | нет | 8 |
SEEDANCE_MAX_WAIT | нет | 900 |
LOG_LEVEL | нет | INFO |
Базовые параметры под видео:
promptaspect_ratio (16:9, 9:16, 1:1, 4:3, 3:4, 21:9 и т.д.)resolution (480p, 720p, 1080p)duration (5s, 10s, 15s — зависит от модели)images — референсы для image-to-videovideos — референсы для video-to-videoseedasyncuserФормат images / videos:
{ "type": "url", "data": "https://example.com/file.png" }
или
{ "type": "base64", "data": "data:image/png;base64,..." }
Сервер не делает лишней магии. Он возвращает:
id генерацииstatusmodelusage (в том числе cost_rub)url результата, если видео готовоwarnings / error при проблемахgit clone https://github.com/ivanantigravity-lgtm/seedance-polza-mcp-server.git
cd seedance-polza-mcp-server
uv sync
POLZA_AI_API_KEY=your_key uv run python -m seedance_polza_mcp_server.server
Этот сервер не гоняет live preview и не тратит токены сам по себе.
Генерация запускается только по явному вызову tool.
MIT.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx seedance-polza-mcp-serverMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-ivanantigravity-lgtm-seedance-polza-mcp-server": {
"command": "uvx",
"args": [
"seedance-polza-mcp-server"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referenceio.github.ivanantigravity-lgtm/seedance-polza-mcp-server works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.