Skip to main content
  • 漫剧生成 MCP 工具

    输入一段漫剧剧本,自动拆分成镜,调用智谱 CogVideoX 生成每个分镜的视频片段,返回各分镜视频下载地址。可作为 MCP 服务端接入任意支持 MCP 的 Agent(LangChain、Dify、Cline、Cherry Studio 等)。

    功能

    • 输入剧本 → 自动分镜 → 逐镜生成视频
    • 支持 DeepSeek 智能分镜(未配置时自动降级为兜底拆分)
    • 视频生成基于智谱 CogVideoX(cogvideox-3)
    • 异步任务模式:提交 → 轮询 → 返回视频 URL

    环境变量

    变量 必填 说明
    SEEDANCE_API_KEY 智谱开放平台 API Key(open.bigmodel.cn)
    SEEDANCE_BASE_URL 智谱接口地址:https://open.bigmodel.cn/api/paas/v4
    SEEDANCE_MODEL 模型名,默认 cogvideox-3
    OPENAI_API_KEY DeepSeek 分镜用
    OPENAI_BASE_URL DeepSeek 地址:https://api.deepseek.com/v1

    使用

    pip install <包名>
    

    配置到支持 MCP 的客户端(如 Cherry Studio / Cline):

    {
      "mcpServers": {
        "drama-mcp": {
          "command": "uvx",
          "args": ["<包名>"]
        }
      }
    }
    

    工具

    • generate_drama(script, shot_count):输入剧本和分镜数(默认 3),返回每个分镜的视频下载地址(JSON)。

    说明

    • 每个分镜最长 15 秒,长视频需拆多个分镜。
    • 生成的视频 URL 带时效,拿到后请尽快保存。

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cogvideox_drama_mcp-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cogvideox_drama_mcp-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file cogvideox_drama_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: cogvideox_drama_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.11

File hashes

Hashes for cogvideox_drama_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9c4b41686842f8b82732aa3100cdbd444bf402eca0388940badd391a0c91d847
MD5 7f799851b805a99f927e68d57cdc90ab
BLAKE2b-256 2f8253dc152ec263e314b62594a6d9739a9e5ab15e887fe2e3b4905779eb3eb2

See more details on using hashes here.

File details

Details for the file cogvideox_drama_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cogvideox_drama_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 042d11410e9f47eaa8ff89875ebc056f730dd4b5cadd86910c85e3f46cf45f20
MD5 38c4589113253f2a6eaee53c8d6125b4
BLAKE2b-256 bbd7c9d2b7dad425462622dcf50894ce0b23551a4bb2fdd4b2161efa48f9cf29

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page