# generate_video

Generate a short-form demo video (Instagram Reel / TikTok / YouTube Shorts) from a text prompt.

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

## Facts

- Tool: `generate_video`
- Server: DemoStudio (`@demostudio/mcp-server`) — https://policylayer.com/tools/demostudio.md
- Install: `npx -y @demostudio/mcp-server`
- Homepage: https://github.com/32bitsret/demostudio-mcp-server
- Risk category: Write (Medium 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 Medium

This tool creates a new video asset based on a text prompt. It is a Write operation (content creation) with no indication of code execution, financial transactions, or irreversible deletion. The blast radius is medium because an AI agent could generate large volumes of video content or inappropriate material, but effects are reversible (videos can be deleted).

From the tool's own definition: "'Generate a short-form demo video' from a text prompt — creates new media content"

## Use case

AI agents use generate_video to create or update resources in DemoStudio, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your DemoStudio environment.

## Recommended policy (PolicyLayer)

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

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

## Other tools on DemoStudio (3)

- `create_schedule` — Execute — https://policylayer.com/tools/demostudio/create-schedule.md
- `get_video_status` — Read — https://policylayer.com/tools/demostudio/get-video-status.md
- `list_capabilities` — Read — https://policylayer.com/tools/demostudio/list-capabilities.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=demostudio · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/demostudio
