videos_generate
Generate a short video (5-10s) from a text prompt using BytePlus Seedance. Optionally accepts up to 12 image file IDs from the user's attached files (visible in the [ATTACHMENTS] block) as reference_file_ids for style and composition. Returns immediately with a job_id; the video is delivered back...
This record as markdown: /tools/io-github-saloprj-dialogbrain/videos-generate.md
What videos_generate does on Dialogbrain
AI agents invoke videos_generate to trigger actions in Dialogbrain. 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
seed | integer | — | Random seed for reproducibility (0-2147483647). Omit for random. |
model | string | — | Video model. Recommended: 'wan2.6-i2v-flash' (default, cheap, 720p/1080p, optional audio), 'wan2.6-i2v' (premium, always-on audio), 'wan2.6-t2v' (text-only inpu |
style | string | — | Style preset. Seedance models only. OMIT for no style preset. |
prompt | string | Yes | Text description of the video to generate (3-4000 chars). |
duration | integer | — | Output video duration in seconds. Single-clip: 5 or 10. Long-form (chained, i2v models only): 15, 20, 30, 45, or 60. Long-form videos are silent (no audio in v1 |
shot_type | string | — | Shot mode: 'single' (continuous) or 'multi' (scene cuts). wan2.6-t2v only. OMIT to use the model default. |
resolution | string | — | Output resolution. '720p' is the safe default; '1080p' is wan2.6 only; '480p' is wan2.2-i2v-flash only. Per-model support enforced by validation. |
aspect_ratio | string | — | Output aspect ratio. Wan supports '16:9', '9:16', '1:1'; Seedance also supports '4:3', '3:4', '21:9'. Per-model support enforced by validation. |
camera_motion | string | — | Camera motion preset. Seedance models only. OMIT for no camera motion. |
generate_audio | boolean | — | Whether the model should produce native audio. For wan2.6-i2v-flash this doubles the per-second rate (e.g., 720p+audio is $0.05/s vs $0.025/s silent) — set Fals |
negative_prompt | string | — | Optional text describing what to AVOID in the output. Honored by Wan and Seedance models. |
reference_file_ids | array | — | Optional list of up to 12 image file_ids to use as visual references (style, composition). Files must be image MIME types (image/png, image/jpeg, image/webp, im |
Parameters from the server's own tool schema.
Why videos_generate is rated High
This tool triggers an external computation pipeline (BytePlus Seedance) and uploads user files to a third-party CDN, constituting an external operation with side effects beyond simple data reads or writes. It is not destructive or financial, but it executes an external process and exfiltrates data to a third-party service, placing it firmly in Execute.
From the tool's definition 'Generate a short video from a text prompt using BytePlus Seedance' — triggers an external AI video generation job; 'Returns immediately with a job_id; the video is delivered back via continuation when the job completes'; 'reference images are temporarily…
Risk signalsHigh parameter count (12 properties)
Attacks that exploit this kind of access
The rule that runs videos_generate safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Dialogbrain, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For videos_generate, this is the rule to start with:
videos_generate stays usable, but rate-capped: a runaway agent can't fire it dozens of times a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Dialogbrain, apply this rule, and every videos_generate call is checked against it from then on.
Questions about videos_generate
Generate a short video (5-10s) from a text prompt using BytePlus Seedance. Optionally accepts up to 12 image file IDs from the user's attached files (visible in the [ATTACHMENTS] block) as reference_file_ids for style and composition. Returns immediately with a job_id; the video is delivered back via continuation when the job completes (~30-90s for fast model, ~2-5min for pro). Reference images are temporarily re-hosted on a third-party CDN (imgbb) for the duration of generation and deleted on completion — don't submit confidential references. Gated behind a workspace opt-in flag. It is categorised as a Execute tool in the Dialogbrain MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
videos_generate accepts 12 parameters: seed, model, style, prompt, duration, shot_type, resolution, aspect_ratio, camera_motion, generate_audio, negative_prompt, reference_file_ids. Required: prompt. The full parameter table on this page comes from the server's own tool schema.
Register the Dialogbrain MCP server in PolicyLayer and add a rule for videos_generate: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Dialogbrain. Nothing to install.
videos_generate is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the videos_generate rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for videos_generate. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
videos_generate is provided by the Dialogbrain MCP server (https://api.dialogbrain.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Dialogbrain, and thousands of servers like it.
Across the catalogue