# generate_video

使用豆包 Seedance 模型生成视频 支持功能: - 文生视频: 使用文本提示词生成视频 - 图生视频: 使用首帧图片和提示词生成视频 - 参考图生视频: 使用参考图片增强视频风格一致性 参数说明: - prompt: 视频描述文本 (必需，最大 500 字符) - model: 模型选择 (可选，默认: ${DEFAULT_VIDEO_MODEL}) * doubao-seedance-1.0-pro: 专业版，高质量视频生成 * doubao-seedance-1.0-pro-fast: 专业版快速生成 * doubao-seedance-1.0-lite-t2v: 轻量版，快速生成 - video_duration: 视频时长 (可选，默认 5) 支持的时长: 3, 4, 5, 6 - fps: 冔率 (可选，默认 24) 支持的帧率: 24, 30 - resolution: 分辨率 (可选，默认 1080p) 支持的分辨率: 480p, 720p, 1080p - first_frame_image_url: 首帧图片 URL (可选，用于图生视频) - ref_image_urls: 参考图片 URL 数组 (可选) - req_key: 请求标识 (可选) 返回: 任务 ID，需要使用 query_video_task 查询结果

Agent View of the PolicyLayer registry record for `generate_video`. HTML page: https://policylayer.com/tools/156554395-doubao-image-video-mcp/generate-video

## Facts

- Tool: `generate_video`
- Server: Doubao Image/Video Generation MCP Server (`156554395/doubao-image-video-mcp`) — https://policylayer.com/tools/156554395-doubao-image-video-mcp.md
- Homepage: https://github.com/156554395/doubao-image-video-mcp
- Risk category: Execute (High risk)
- Registry record: grade B, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "generate_video",
    "arguments": {}
  }
}
```

## Why generate_video is rated High

This tool triggers an external video generation operation via Volcano Engine's API. It initiates an asynchronous task (returning a task ID) that consumes compute resources and potentially incurs API costs. The effects depend on the provided arguments (prompt, model, resolution, etc.), classifying it as Execute. Severity is high due to potential API cost abuse and resource consumption at scale.

From the tool's own definition: "使用豆包 Seedance 模型生成视频 ... 返回: 任务 ID，需要使用 query_video_task 查询结果"

## Use case

AI agents invoke generate_video to trigger actions in Doubao Image/Video Generation MCP Server. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Doubao Image/Video Generation MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "generate_video": {
      "limits": [
        {
          "counter": "generate_video_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Doubao Image/Video Generation MCP Server (2)

- `query_video_task` — Read — https://policylayer.com/tools/156554395-doubao-image-video-mcp/query-video-task.md
- `generate_image` — Write — https://policylayer.com/tools/156554395-doubao-image-video-mcp/generate-image.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=156554395-doubao-image-video-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/156554395-doubao-image-video-mcp
