Build · MCPInstall
All patterns
Agent pattern

Brief to Storyboard to Template Render

A reviewable agent pattern that turns a structured brief into a storyboard, selects a compatible template, renders only after approval, and records the output state.

Verified 2026-08-05MCP server v1.0.2 / workflow pattern 2026-08-05By iLoveVideoEditor Product Engineering

Brief to Storyboard to Template Render

The reliable agent loop separates intent, composition choice, execution, and review. Each stage produces a small artifact that a human or a later agent can inspect before the next irreversible step.

Input contract

Require a structured brief with audience, duration, aspect ratio, approved claims, visual assets, destination CTA, and review owner. Unknown facts remain explicit gaps; the agent must not turn a plausible guess into a product claim.

Tool sequence

  1. Use list_templates or search_catalog to discover candidates.
  2. Use get_template to read variables and required media before filling anything.
  3. Use get_layer_capabilities when the brief asks for effects or transitions.
  4. Use measure_text for dense copy and reject a layout that cannot fit its bounds.
  5. Produce a storyboard artifact with scenes, copy, media, assumptions, and unresolved review questions.
  6. Wait for approval, then call render_template or render_json with an idempotency key.
  7. Poll with get_render_status, then request get_download_url only for a completed job.

Output and evaluation schema

Store the brief, selected template id and version, variable map, storyboard, render job id, status history, and reviewer decision. Evaluate factual fidelity, asset provenance, text fit, timing, accessibility, and CTA destination separately. A successful API response is an execution result, not a quality or publishing verdict.

Review and redaction

The review gate checks claims, prices, names, media rights, captions, and the final destination. Redact API keys, private source URLs, customer identifiers, and sensitive transcript text from prompts, logs, screenshots, and evaluation fixtures. Keep a sanitized error and the schema path so a failure can be debugged without retaining the secret.

Failure modes and recovery

If template discovery returns no compatible candidate, change the brief or use a lower-level VideoJSON composition; do not silently drop a required scene. If text measurement fails, shorten or restructure the copy. If rendering fails, preserve the job id and status reason, fix the input, and retry with a new review decision rather than looping automatically.

Tested version and next step

This pattern was checked against MCP server v1.0.2 and the tool contract on 2026-08-05. Start with the installation guide, then compare the product video agent example for a concrete brief and review checkpoint.