Free prompt quality gates
check_video_promptsFREE deterministic quality gates for video-generation prompts written against a screenplay (no LLM on the server — pattern matching and set comparison only; findings are reported, nothing is blocked). Submit the SAME screenplay plus up to 10 finished prompt texts (≤20k chars each). VIOLATIONS (objective locks): DIALOGUE_DRIFT — a DIALOGUE line attributed to a registered screenplay character whose text is not found verbatim (whitespace/punctuation-insensitive), i.e. rewritten, trimmed or hallucinated dialogue; STRUCTURE_MISSING_CUTOUT / _CUTIN / HANDOFF_MISMATCH — scaffold-format prompts ([SHOT n] markers) must carry CUT-OUT last-frame and CUT-IN first-frame states with the next shot repeating the previous verbatim; STRUCTURE_DUPLICATES_SHARED — a SHARED line restated inside a shot block (shot blocks carry only private fields). ADVISORIES (disable with advisories=false): BARE_EYELINE ("looks at X" with no screen-space direction), LITERARY_RHETORIC (metaphors a renderer cannot draw), EMPTY_NEGATIVE ("no weirdness"-style), CONFLICT_PAIRS (locked vs handheld, single-shot vs hard cuts, on-twos vs smooth), PLACEHOLDER_LEFT, CHAR_LIMIT (yours, or the style preset's recommended one), STYLE_CONSISTENCY (banned vocabulary of your chosen preset, or two medium families mixed). Free-form prompts without [SHOT] markers skip structure gates (reported honestly). Free — no key needed, works without one. 免费确定性质量门:台词逐字锁、结构切点两态锁(violation)+ 视线/修辞/冲突/风格自洽启发(advisory),只报告不拦截。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_video_prompts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The screenplay the prompts were written from (required when input_format="text") | |
| style | No | The style preset you built with (enables its banned-vocabulary and recommended-limit advisories) | |
| blocks | No | Typed blocks (the screenplay the prompts were written from) | |
| prompts | No | The finished prompt(s), 1-10 items (from build_video_prompts scaffolds or free-form) | |
| advisories | No | Run advisory gates too (default true; false = violations only) | |
| char_limit | No | Optional character limit per prompt (advisory; default: the style preset recommendation, or none) | |
| request_id | No | Echoed back for tracing (this tool is free — no idempotency semantics needed) | |
| input_format | No | text (default): line-based screenplay text. blocks: typed blocks (e.g. from format_screenplay). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| tool | No | ||
| state | No | ||
| style | No | ||
| reason | No | ||
| totals | No | ||
| message | No | ||
| prompts | No | ||
| recovery | No | ||
| conflicts | No | ||
| advisories | No | ||
| request_id | No | ||
| screenplay | No | ||
| diagnostics | No | ||
| gates_version | No | ||
| contract_version | No | ||
| style_template_version | No |