@starreel/mcp 0.1.177 → 0.1.196

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,8 +2,8 @@
2
2
  "get_capabilities_guide": "★Capability map (free · local · offline · no credits). **Call this first when you are new to this server, when a client asks “what can you do / where should we start”, or when you are unsure which tool fits the client’s materials**. Returns: entry_points(client has novel / mature script / wants external AI rewrite / finished storyboard table / own assets / voice sample / song / product / existing final cut to revise / wants to edit locally / multilingual → which tools to use and which path to avoid), pipeline(10-step production line, tools per step, free vs paid, review gates), review_gates(three free hard-gate rules), qa_tools(pick diagnostics and fixes by symptom), optional_boosts(optional enhancements and timing), billing(quote confirmation and free families), common_requests(client wording → action), local_postproduction(★full workflow when client wants to download shots to **their own computer** for color grading / third-party AI post / editing / scoring / subtitle burn-in / transition optimization / narration patch: phase order, execution location, per-shot/per-line audio checks, acceptance criteria), model_guide(★tested pros/cons, prices, selection steps and recommended combinations for image models and video engines—read before project model selection or when client asks “which model is better / why are hands bad / how to save money”), action_film(★workflow for action / fight / skill-demo films: asset images follow the rewrite backbone while storyboards use your own table, first frame freezes at wind-up, group adjacent action shots, trim draggy tails, engine tests and cost reference—read before action films or “can this reference video be made”). Pass section to fetch one part only. ★Tool descriptions answer “what does this tool do”; this tool answers “when should I use which tool”. If a client gives a finished storyboard table but you run set_script→rewrite_script and turn it into prose, you skipped this map.",
3
3
  "list_project_options": "List all project creation options: project type(short drama/ad/MV/brand film), aspect ratio, video resolution, video engine(Seedance 2.5/MiniMax H3, with price and capability differences), with Chinese/English labels + descriptions + defaults. Call before create_drama, let the user choose, then pass keys to create_drama. Free.",
4
4
  "create_drama": "Create a new short-drama project shell. ★Strongly recommended: set base project settings at creation—project_type/setting_brief(worldview · ERA LOCK)/ethnicity/aspect ratio/resolution, plus consistency anchors(cinematography_prompt/art_bible/visual_lock). All are free and form the foundation for full-pipeline consistency; creating an empty shell with title only will derail later generations and cause paid rework. Automatically creates N empty episodes from total_episodes, returns drama_id and episode_id per episode. Free.",
5
- "set_script": "Set the **original script** (content) for an episode. This is the input for AI rewriting, not the final shootable draft. Free. Put synopsis/outline/self-written finished draft here; after setting it you **must call rewrite_script for AI rewriting**—do not skip rewriting and paste the draft directly into edit_rewritten_script (it will be rejected). ★★【Execution-mode master guide·read before starting】For dramas with a confirmed opening plan, first call get_production_plan and read autopilot: professional mode (pro, or autopilot.enabled=false, or plan not confirmed) → every later “tell the customer; proceed only after customer agrees” is literal; one-click (auto)/hybrid (custom) **managed stages** → do not ask the customer: proceed in order by get_pipeline_status next_action, self-confirm quotes within the hard budget cap, and after each layer still run review_* + agent QC; the review/QC returned autopilot.next_step tells you how to proceed for that layer (whitelisted error with auto_acknowledge:true / self-fix round number / pause and ask customer), follow it; for choices follow autopilot.default_decisions; autopilot.never_auto_actions (mode=replace, delete assets, overwrite customer-uploaded images, allow_era_ref_conflict, voice cloning, delivery acceptance) always require customer approval in every mode. ★In managed stages, re-generating frames for the same shot (generate_shot_frame) is capped at 3 rounds, re-generating videos (regenerate_shot_video / edit_video_shot) capped at 3 times; at the cap the platform returns 409 AUTOPILOT_SHOT_REGEN_LIMIT (no charge)—do not bypass with another tool; stop and ask the customer: if they agree to more, quote normally and pass customer_approved_more_regens:true when generating (grants another cap); if they accept the current result, continue, and pass acknowledge_review:true on the next paid call to record confirmation. 402 BUDGET_WOULD_EXCEED / 409 MODEL_UNAVAILABLE / 409 AUTOPILOT_SHOT_REGEN_LIMIT / 400 AUTOPILOT_MUST_ASK with must_ask_customer=true / non-empty pending_questions → pause and ask the customer **once with a consolidated summary** of get_autopilot_log pending_questions; customer-controlled stages follow professional-mode asking. After final cut, deliver to customer using get_autopilot_log report. ★Three-tier execution strategy (do not mix the tiers when asking the customer): ①【Basic project settings·free·mandatory foundation·set when creating the drama; do not create an empty shell】project_type/setting_brief (worldview·ERA LOCK)/ethnicity/aspect ratio and resolution, plus consistency anchors cinematography_prompt (cinematography DNA)·art_bible (art bible)·visual_lock (visual lock)—all free, the foundation driving full-chain consistency; if not set, all later generation drifts and rework costs money. Set directly with create_drama/update_project_settings. ★visual_lock/art_bible should only contain frame-level/world-level locks (camera language·environment·art tone·forbidden elements), **never pin clothing/hairstyle/appearance details for specific characters**—the only source of truth for character appearance is the character profiles from extract_assets (change via update_character); writing both inevitably conflicts: character sheets vs profiles, concept images vs visual lock, consistency gates reject by character sheet → concept images/shot frames get **structurally rejected repeatedly**, no number of rerolls will pass, pure wasted spend. ★★【Era contract·free·mandatory before image generation for non-modern subjects】The worldview in setting_brief is **free text**, only provides background and cannot constrain images; the real override stronger than visual lock is the **structured era contract**: use set_era_contract to set the episode tier (modern/republican/historical/fantasy), get_era_contract to read current value. **Unset means empty**—the platform can only stack words in prompts; modern objects appearing in ancient images, scene images rendered in the wrong era, are mostly caused by this being empty. ★Xianxia/fantasy/wonderland types **must use fantasy, not historical**: historical demands evidence-based realism and will mark glowing aura, floating terrain, non-human forms as “not era-compliant”, pulling images toward realistic antiquity. For a single scene exception (e.g. modern flashback in a fantasy world), use update_scene era_contract to override; scene-level overrides episode-level. ★★【Per-stage review protocol·all free·main line preventing waste, not optional】After each stage output, review first, tell the customer the conclusion verbatim, then proceed. **Five hard gates (failing causes 400 rejection; ④⑤ and agent QC below)**: ① after rewritten draft → review_script (before extract_assets / generate_storyboards); ② after storyboards → review_storyboards (before generate_frames); ③ after shot images → review_frames (before generate_videos). Each review returns review_token; pass it to downstream paid tools. Explain findings one by one to customer (code=issue type·shots=hit shot numbers·action=which tool to fix with); after fixing per action, **review again** before proceeding. If content changes after review → token invalidates automatically; re-review once (free). error blocks by default; only if the customer is explicitly informed and insists may you pass acknowledge_review:true (acknowledge_review only means the customer personally agreed; every execution mode requires explicit customer agreement, including managed). Managed stages may use auto_acknowledge:true only for whitelisted heuristic errors (see 【Execution-mode master guide】). **Soft guidance (non-blocking but strongly recommended, also free)**: before image/video generation run run_precheck (finds shots vendors will reject, prevents wasted spend)—★**for whole-drama scan, first run run_drama_precheck** (drama-level summary·free·read-only): get issue counts per episode and attention (which episodes to fix first), prioritize accordingly, then run run_precheck on those episodes for details; do not blindly scan episode by episode. Note not_covered—the drama-level scan skips the only lint requiring images; “0 drama issues” ≠ “everything checked”. ★After issues are found, do not blindly edit yourself: plan_precheck_fix lets the platform compute proposals → apply_precheck_fix commits selected ones (for managed=accept all according to execution mode: professional mode / unconfirmed plan / customer-controlled current stage → tell customer and proceed only after agreement; do not decide for them; managed current stage → do not ask, follow get_production_plan autopilot.default_decisions, platform records in get_autopilot_log); after storyboards run get_health_report; after character sheets are done use get_characters to verify every on-screen character has image/sheet; after frames use get_storyboards to inspect frame_status and fail_reason/fail_hint (fix failed shots before continuing; do not make videos from bad frames); after videos inspect video_status similarly; before final cut use get_pipeline_status to confirm no missing shots. ★**Never generate all the way through blindly**: pushing generate calls without review amplifies issues at every layer and can waste the whole episode; every image/video rework is charged. Reviews are all free; catching issues costs nothing. ★Changing clothing edits structured bindings: update_shot active_wardrobe_id (whole shot) / appearance_wardrobes (per character in multi-character shots), can override or clear—text description changes do not change clothes, and the customer need not edit on the website. ②【Production mainline·in order, no skipping·★storyboard before assets】set_script→rewrite_script→★review_script→extract_assets→storyboards (storyboard first·pure-text shot breakdown)→★review_storyboards→★Script discipline (endpoint-enforced, cannot be bypassed): all raw material (synopsis/outline/finished draft) goes in set_script, **must pass rewrite_script to produce the AI rewritten draft**—pasting a self-written script directly into edit_rewritten_script to bypass rewriting will be rejected with 400 (without a rewritten draft there is nothing to edit); extract_assets also requires the rewritten draft. All post-rewrite edits must use AI-output structured formats: script edits via edit_rewritten_script (polish/correct), character profiles via update_character, storyboards via update_shot/replace_shot_dialogue—do not replace the whole script again or write a second truth source in settings; conflicting truth sources are the #1 consistency accident. ★★**After one successful rewrite, do not rerun rewrite_script**: it restarts from the whole original, discards all current fixes, and the new version is not guaranteed to preserve fixed parts (three-version tests oscillate). To fix, use edit_rewritten_script targeted edits (get_script full text → change only those scenes, copy all else verbatim → submit whole text), free, instant, deterministic; if rerun by mistake, use get_script(include_previous=1) to recover the previous version. generate_portraits_and_sheets (character sheets + turnaround sheets·build after storyboards: first use delete_character to delete on-screen characters that **do not appear in any episode of the whole drama and are not planned for later episodes** before image generation—characters are drama-level; after deletion, every episode’s frame assembly will no longer include them; you cannot judge by this episode’s storyboards alone, keep if unsure (one character sheet costs far less than losing an identity anchor in a later episode); this step generates images for **all undeleted on-screen characters**, regardless of storyboard binding, and charges for all kept characters; off-screen voice characters (char_type=voiceover narrator/phone voice) do not get images and have no storyboard binding, **do not delete them**, dubbing still needs them)→★generate_color_script (color script·unified grading)→assign_voices (assign voice colors; if narrator/character library has no suitable voice → design_voice by description, then set_character_voice after sample confirmation)→★quote_scene_images+generate_scene_images (empty scene plates·mandatory before frames)→frames (default only first frames)→★tail_frame_plan (free·which shots need independent last frames)→frames(frame_type=last_frame)→★chain_frames (seams·dry_run:true first)→★review_frames→videos→generate_tts→compose; ★★【Do not skip seams·after last frames complete, before review_frames】After first/last frames are ready, call chain_frames(dry_run:true, free) to see the platform seam plan and estimated_points (copy free, reframe costs one image per seam), tell customer and after confirmation execute without dry_run; already chained seams are excluded from the plan, repeated calls do not double-charge. ★After execution, reframe is **async image generation**: use get_jobs to watch the first_frame generation rows for shots in the plan, wait until all pending/processing finish (for failed, inspect error_msg; use chain_shot_from for a single seam), then run review_frames—while the old first frame remains, get_storyboards frame_status is still ready and cannot show whether the new image is generating or failed. After get_jobs is clear, use get_storyboards to verify seam_state: replacement images rejected during promotion are not kept in get_jobs, that seam remains unchained (review_frames also reports seam_unchained); reconnect per its action. If you review before it lands, you review the old first frame; the token invalidates when the new first frame lands. Episodes with per-shot/batch frame generation usually were not auto-chained (get_storyboards seam_state=unchained means this); skipping it does not error—the cost is discontinuity between shots and jump cuts in final cut. ★★【Do not skip last frames·frame generation is two-pass】generate_frames defaults to first frames only. About 30% of shots have **end state ≠ start state** (large camera move/object released/state change); these need an independent last frame, and the criterion is platform-side, not guessable from storyboard text—therefore after first frames finish you must call the free tail_frame_plan once for the per-shot list, then fill with frame_type=last_frame (shots_needing_last_frame in generate_frames response is this number; if not 0, do not go directly to review_frames). Skipping does not error or block—the cost is those videos having only the first frame as anchor, leaving end state to the model: action incomplete, large camera moves end by returning to start composition. Production tests: in 32 episodes, 30 generated only first frames; 23 of those proceeded all the way through video. ★★【When last frames are blocked by TERMINAL_DESC_GATE: edit text, do not retry】For shots reporting “this shot is marked as state change but nowhere says what it looks like at the end”, use update_shot to write **what the image looks like at the end** into that shot’s last_frame_prompt, then regenerate the last frame. ★Better: **avoid hitting it**—before last frames, call get_storyboards and list all terminal_desc_missing=true shots for the episode at once (free), fill their last_frame_prompt first, then generate; zero rejections needed. Per-shot also possible via get_shot_prompts same field, but do not do that for dozens of shots. Retrying without the description is ineffective—the vendor prompt has no terminal-state segment, so it still draws the first-frame pose and will fail terminal review again, with normal charges each time (production test: last-frame success 9.4% without terminal text, 40.2% with it). Only for shots that truly “almost do not change” use generate_shot_frame allow_missing_terminal. ★★【Do not skip empty scene plates·third parties often miss this】Scene images are **background anchors**: every shot frame in the same scene anchors to them. Frames can still be generated without plates, with no error and no block—the cost is **the first shot of every scene has no background anchor at all** (platform fallback is “if missing image is discovered, generate one in background”; that generated plate is used by later shots in the same scene, but the triggering first shot cannot wait for it), and the first shot is often the tone-setting shot; backgrounds also drift among later shots. They pair with character sheets: character sheets anchor people, scene images anchor environments; whichever is missing drifts. Progress self-check: generate_scene_images step in get_pipeline_status (completed/total); review_storyboards also reports scene_plate_missing before frames. ★★【Do not skip turnaround sheets·character sheet ≠ turnaround sheet】A character sheet is a single-person single-image identity anchor; a turnaround sheet is a multi-view turnaround generated by the platform from the character sheet, the root consistency anchor for shot frames/videos (angle changes·lighting changes·clothing mostly depend on it). Frames can still be generated with only character sheets, no error—the cost is characters drift when angle changes and clothing differs every shot. Use generate_portraits_and_sheets for one-click two-step (each call advances one step; after character sheets are complete, call again to generate turnaround sheets), or call generate_character_sheets after character sheets. Progress self-check: get_pipeline_status generate_character_sheets step (completed/total, portrait_only=characters with only character sheets). ★Customer-provided images: character sheets must be single person, single image, single angle, no text; scene images must be empty scenes with no people and no overlay text—set_character_portrait/upload_scene_image auto-check and reject noncompliance with 422. ★Do not build character images/prop sheets/motion templates before storyboards—storyboards are pure text and need no images; the cast is finalized after storyboards, so delete non-appearing characters first to save (motion templates also must be after storyboards). Paid steps follow current quote confirmation flow. Ads additionally need add_product+generate_product_sheet; MV uses set_mv_lyrics→generate_mv_story→generate_mv_script (if no existing song: after set_mv_lyrics first suggest_mv_song_styles→quote_mv_song→generate_mv_song→get_mv_song→select_mv_song). ★★【④⑤ two new hard gates + agent personal QC】④ asset layer: after character sheets/turnaround sheets/scene images/prop images → review_assets (before generate_frames / generate_shot_frame; its token is asset_review_token and is passed together with the storyboard-layer review_token); ⑤ video and audio layer: after videos/dubbing/music → review_videos (before compose_episode); after final cut run review_final_cut. ★After every layer review you must also **personally QC**: follow returned agent_qc, inspect assets one by one (download images, sample video frames, read text), answer the checklist, submit via submit_qc_report; for grayscale dramas, without the report the review_token cannot enter the next step; report issues block by default like errors. The platform judges existence; you judge likeness and correctness. ★★【Single-shot path is also gated】generate_shot_frame must also pass storyboard-layer review_token; regenerate_shot_video must also pass shot-image-layer review_token—do not expect per-shot tools to bypass reviews (a tested workflow generated all 25 shots by single-shot frames without any gate; all final-cut rework cost real credits). Generating frames does **not** invalidate storyboard-layer token (fingerprint only looks at storyboard content); only changing storyboard content—update_shot / import / add-delete shots / change character bindings—requires one free quick re-review. Generating one shot’s frame invalidates the **shot-image-layer** token; before regenerate_shot_video for the next shot, run review_frames once. ★★【For native-audio dramas, lock voices before batch videos】When use_clip_audio=true (default), each shot’s voice is sampled separately by the video vendor; without locking, it will drift and later unification requires per-shot video regeneration. If customer-authorized source audio exists → clone_voice+set_character_voice before generate_videos; otherwise → for each speaking character first use single-shot quote_regenerate_shot_video→regenerate_shot_video to generate one shot with longer dialogue (generate_videos has no per-shot parameters and only batch-fills missing videos; single-shot regeneration also works for shots with no video yet), use set_voice_anchor_from_shot to choose that voice line, then generate remaining shots. get_pipeline_status native_voice_anchor lists unanchored_speakers still unlocked and stale_shots generated before locking that need regeneration. ★Worldview concept image = mandatory by default (improves whole-drama consistency; many third-party platforms miss this): after storyboards, call generate_world_concept by default, still following quote confirmation (tell customer estimated credits, confirm before charging)—do not silently charge, and do not skip. ★★【Color script】generate_color_script unifies grading across the whole film, done after storyboards and before frames; text step has no quote_* and is postpaid by usage. Progress self-check: get_pipeline_status generate_color_script; review_storyboards reports color-script gaps. ★Motion templates are optional experimental: call generate_motion_templates (motion template extraction) only when the customer explicitly requests it, after storyboards; text step postpaid by usage. First/last frames do not inject motion templates by default; missing templates do not need backfill and do not block images/videos/final cut. Video templates may be cropped; no delivery or gain is guaranteed. ★Scene Bible (detailed scene settings) order is **after scene images are generated**—complete it based on finished scene images (no MCP tool yet; do on official site); do not do Scene Bible before scene images. ★Audio defaults to video native audio (use_clip_audio on by default; skip TTS and use AI video’s built-in audio): when creating/updating a drama, the AI should proactively tell the customer “Default uses video native audio; if TTS dubbing is needed set use_clip_audio to false” and let them choose. ★Default image model is ChatGPT Image 2.5 Flare (gpt-image-2.5-flare·unified whole-drama style): set image_model in create_drama/update_project_settings; omitted means this default; options: gpt-image-2.5-sunburst (same price·more accurate Chinese glyphs/details)/gemini-3.1-flash-image (Nano Banana 2·71 credits)/gemini-3-pro-image (Nano Banana Pro·more detailed·175 credits)/gemini-3.1-flash-lite-image (Nano Banana 2 Lite·cheap·31 credits)/doubao-seedream-5-0-260128 (Seedream5.0); generate_frames can temporarily override for one run. ★2.5 charges by input volume (base 11 credits + 18 credits per reference image), Nano Banana/Seedream are flat-price—budget must include this for shots with many references. ★Four video engine choices (drama-level·when AI creates a drama it must proactively guide selection by genre and show price differences for customer decision):【Selection decision tree】★Call get_production_menu first: whether each engine is currently available for realistic live-action / anime and other subject classes is decided by the availability it returns (unavailable entries carry customer_note and expected_until—relay them to the customer verbatim); do not assume from this description that any model is unavailable, and do not recommend models the menu marks unavailable. ①Realistic live-action drama→seedance-2.5 (strongest instruction following / face detail · 720p 212 credits/sec), or hailuo-3 when budget-sensitive (about 1/3 cost, 70 credits/sec · strong fidelity editing · can output 2K · but about 6 minutes per shot); ★After choosing, pass video_engine explicitly in create_drama / update_project_settings (the one the menu lists as available for this subject class)—if omitted, the platform only applies a style-based fallback stamp that is not guaranteed to be an engine the menu marks available; ② stylized/animation/3D cartoon drama·empty shots·product shots→wan3.0 (about 40% cost, 84 credits/second·max 30 seconds·min 2-second billing·each shot ~2 minutes), use wan3.0-prime for rush delivery (126 credits/second·~1 minute); ③★Never choose wan3.0/prime for realistic live-action drama—WAN output-side real-human face review consistently rejects at 720p+ and retries cannot fix; ④★★Use wan3.0/prime cautiously for narrative dramas (dialogue, coherent story, stable shot rhythm): WAN will **self-cut hard camera changes inside a single storyboard shot** (test: 11/12 shots had intra-shot jump cuts, vs seedance-2.5 only 1/6 and hailuo-3 0/5), final cut feels like “the image jumps around within one shot and cuts too fast”; this is weak vendor instruction following and cannot be stopped by prompt constraints (our negative constraints are already included and tested ineffective), fix afterward only by regenerating with another engine. WAN suits inherently short-fast stylized/empty/product shots; for stable single-shot narrative choose seedance-2.5 or hailuo-3. After generation, use scan_intra_shot_cuts to inspect; ④b★★Use hailuo-3 cautiously for dialogue-heavy drama (different from the previous “intra-shot self-cut”; this is about **whether all dialogue is spoken**): native-audio engine stops reading when the shot ends and may ad-lib; tests show “dialogue not fully spoken” rate hailuo-3 **50%** (26 shots, all generated after 8-30 native-audio fixes, so engine-intrinsic), seedance-2.5 **23%** (294 shots); wan3.0 has **insufficient sample, not tested** on this dimension (26 samples all before same fix, only 2 shots after fix)—do not conclude WAN is bad from this. When customer says “line not finished”, first run scan_dialogue_coverage and categorize; do not default to lengthening shots (even with sufficient shot length, 32% still missed full lines). ⑤★Shot duration control (all engines, especially visible on WAN): keep each shot 3~5 seconds. Longer shots give the model more room to improvise—test: one 16-second shot (neighboring shots 3~5 seconds) changed scenes 4 times inside the shot, the character disappeared for 4 seconds and then grew back from the edge; customer sees “a person appeared out of nowhere”. For long performance, split into multiple short shots and connect with frame chaining; do not write single shots over 15 seconds. 【Resolution decision】Draft/iteration: WAN dramas 480p (42 credits/second cheapest), others 720p; final delivery: seedance dramas 720p (HD tier discontinued), hailuo-3 dramas 1080p (=2K·112 credits/second), WAN dramas 1080p (168 credits/second); hailuo-3 has no independent 480p tier (selecting it bills as 768P); set video_engine/video_resolution in create_drama/update_project_settings, ★both must be decided before video generation—switching does not back-propagate to generated shots, and mixing within one drama causes style/identity drift. ★Slow image generation ≠ failure: each image takes tens of seconds to minutes; a full episode may take over ten minutes. Poll get_storyboards frame_status—pending=still generating (wait patiently; do not call generate_frames repeatedly and waste credits), ready=done, failed=real failure. ★To change a specific shot image / make a new character sheet take effect, use **single-shot regeneration generate_shot_frame** (platform automatically includes identity anchors, scene/prop references, style anchors for that shot, preserving whole-film consistency); generate_frames only batch-fills shots with **missing frames** and skips shots that already have first frames (normal, not “refusal”). ★After first frames, call free tail_frame_plan to see which shots need independent last frames, then batch-fill with frame_type=last_frame. After changing a character sheet (set_character_portrait), response stale_frames are shots polluted by the old image and requiring per-shot regeneration. ★Never use external tools to make first/last frames and upload_shot_frame to “change the image”—external images lack identity/style anchors, so characters/clothing/style will drift; that is the real root of waste. upload_shot_frame is only for customer-owned real footage/assets. ③【Optional enhancements·AI proactively tells customer·quote confirmation required】Art bible generation / visual lock extraction / scene groups / lip sync / poster / sound effects / music / subtitle translation—these improve consistency/quality and are mostly paid. ★AI should proactively tell the customer these are available and quote them (whether to run depends on execution mode: professional mode / unconfirmed plan / customer-controlled current stage → tell customer and proceed only after agreement; do not decide for them; managed current stage → do not ask, follow get_production_plan autopilot.default_decisions, platform records in get_autopilot_log); neither silently skip nor charge without permission. ★Two lock disciplines: ①**Aspect ratio** is set in create_drama, locked at drama level, used by all later images/videos/final cuts, **do not change midstream** (generated content would have inconsistent aspect ratios and drift); default 9:16 if unset. ②**5-7 seconds per storyboard shot is a normal AI-video-optimized duration**, do not mistakenly re-split because “shots seem long”—generate_storyboards **replaces all storyboards in the episode**, wasting generated images; backend blocks if storyboards already exist and requires confirm_replace. ★Rewrite fidelity (default auto intelligent routing): when the set_script original **is already script-shaped** (scene headers/dialogue-line structure), rewrite_script automatically runs two-pass fidelity—customer dialogue is machine-gate locked line by line (dropping one line triggers internal rejection and redo), AI never adds plot; dramaturgical gaps (hooks/emotional anchors) are not auto-filled but listed in get_script dramaturgy_suggestions (whether to adopt depends on execution mode: professional mode / unconfirmed plan / customer-controlled current stage → tell customer and proceed only after agreement; do not decide for them; managed current stage → do not ask, follow get_production_plan autopilot.default_decisions, platform records in get_autopilot_log). If original is novel/outline, it auto-runs creative rewriting (AI builds hooks/emotional beats). Both customer types get the right path; no manual switch needed. To override defaults, use update_project_settings rewrite_pipeline (auto/two_pass/single_forced) and fidelity_enforce (1=hard fidelity gate). Handling “AI changed my script too much”: ①confirm full original is in set_script; ②set rewrite_pipeline to two_pass and rerun rewrite_script; ③after customer confirms character appearance, use update_character profile_locked=1 to lock profiles and prevent later extraction from overwriting appearance and changing the character sheet face. ★If customer wants to rewrite the script on **another AI platform** (common: third-party model judges our rewrite “changed too much”, customer wants control over change degree): first call get_script_format_spec to get the platform-accepted format contract (markdown template + external_prompt directly forwardable to the external model + blank skeleton), send external_prompt+template+customer original to that platform; after receiving the organized draft, **first call check_script_format** for self-check (free·rules only·no model). After errors clear, two exits: 【A】adopt_external_script directly commits it as shootable draft (our AI not involved·instant·free, provided the external draft contains production-layer annotations); 【B】set_script back into the original slot + rewrite_script through two-pass fidelity (choose this when the external draft only handles story layer; platform adds annotations; customer-written annotations are stripped and rewritten on this path). ★Do not put externally organized drafts into edit_rewritten_script (400 if no rewrite has run), and do not skip check_script_format before ingesting—noncompliant scripts are still gate-blocked and waste a run. ★★If the customer provides an **already finished storyboard table** (per-shot seconds/shot size/camera movement), neither path above applies—use import_storyboard_table directly to create storyboards, skipping rewrite and shot breakdown. The rewrite path will strip seconds/shot size/camera movement/STYLE/text cards as non-story content (production test: 8 shots 36 seconds → 20 shots 109 seconds). ★Both import channels are deterministic—errors are imported as-is, so **get the contract first, self-check, then import**: storyboard table path uses get_storyboard_table_spec → check_storyboard_table → import_storyboard_table; if customer tools/tables export structured data, or external AI can produce JSON directly, use get_bulk_import_spec → check_bulk_import → bulk_import_storyboards (storyboards only; characters/scenes/props are extracted from script by extract_assets, import binds existing items by name—extract first, then import). Both imports default with auto_complete (background AI fills professional fields + image/video prompts, text step postpaid; inform customer before calling): if receipt started=true, poll get_autofill_status until done before review_storyboards—autofill changes shots, so a token reviewed earlier invalidates. Use get_pipeline_status for progress (returns project-type-specific steps). ★★【Opening plan·first thing after creating drama·free】First ask basic video parameters (project type/aspect ratio/episode count × minutes per episode/genre: realistic_human·stylized·product/native audio or dubbing), then call get_production_menu to fetch the **currently available** three-tier packages (effect description + real-time estimate including text steps + recommended budget + excluded items) and present them to customer—do not recommend models from memory; some models may be temporarily unavailable for some genres, and the menu is already filtered. Then ask customer to choose execution mode (pro control every step / auto one-click final cut / custom select managed stages), budget budget_points, and automatic overrun cap (0/10/20/30/50%): **default recommendation** budget=selected tier recommended_budget (non-text upper bound ×1.2 plus text estimate), overrun=menu recommended_overrun_pct (30%)—QC regenerations are not in the upper bound and are covered by overrun; recommendation is only recommendation, final numbers are customer-decided; if customer changes them, follow customer. Clearly summarize and only after explicit customer agreement call confirm_production_plan(customer_confirmed:true)—never confirm on behalf of customer. For dramas with confirmed plans: before paid dispatch, platform rechecks model availability and quote upper bound ≤ budget×(1+overrun%); if blocked (402 BUDGET_WOULD_EXCEED / 409 MODEL_UNAVAILABLE), stop and ask customer, do not switch models or adjust budget yourself. confirm returns 403 PRODUCTION_PLAN_NOT_OPEN = drama not open (grayscale); follow original step-by-step confirmation flow.",
6
- "rewrite_script": "AI rewrite: convert the source script into a shootable script (read content → write script_content). Automatically selects the rewrite agent by project type. ★Fidelity auto-routing: if the source is already in script form, automatically uses two-pass fidelity (dialogue locked line by line by machine, AI does not add plot; dramaturgical gaps go into dramaturgy_suggestions; whether to adopt follows execution mode: pro mode / unconfirmed plan / customer-controlled step → explain to customer and do only with customer approval, do not decide for them; autopilot step → do not ask customer, follow get_production_plan autopilot.default_decisions, platform records in get_autopilot_log); if the source is a novel/outline, uses creative rewrite. (Ads use ad rewrite; MV is blocked from standard rewrite.) Backend async (minutes), text step is token postpaid, no arrears, no quote needed. After completion use get_script to review, edit_rewritten_script to revise. ★Typical time 2~4 minutes (production observed ≈169 seconds). **No result within 60 seconds is normal, not failure**—use get_run_status to check whether it is still running; do not rush to resubmit. ★★**This tool is \"redo from the entire source\", not \"make another revision\"**: rerunning when a shootable script already exists overwrites the current script and all prior fixes, and the new version **does not guarantee preserving parts already fixed in the old version** (production test across three versions: long narration split in the previous version was merged back in the next; correct period costume in the previous version drifted in the next). overwrites_existing_script=true in the response means exactly this. Therefore **after the first successful rewrite, all later changes must use edit_rewritten_script for targeted edits**—free, seconds-level, only touches the specified scenes, everything else remains byte-identical, deterministic with no lottery; rerun this tool only when a \"completely different version\" is required. If rerun by mistake, use get_script(include_previous=1) to retrieve the previous version. ★★【Execution-mode master rules · read before starting】For dramas with a confirmed opening plan, first get_production_plan and read autopilot: pro mode (pro, or autopilot.enabled=false, unconfirmed plan) → every later \"explain to customer and do only with customer approval\" is literal; auto / custom **autopilot steps** → do not ask customer: advance in order per get_pipeline_status next_action, self-confirm quotes within the hard budget cap, after each layer still run review_* + agent QC, and follow autopilot.next_step returned by review/QC (whitelisted error with auto_acknowledge:true / which self-fix round / pause to ask customer); for choices follow autopilot.default_decisions; autopilot.never_auto_actions(mode=replace, asset deletion, overwrite customer-uploaded images, allow_era_ref_conflict, voice cloning, delivery acceptance) always require customer approval in every mode. ★For the same shot in autopilot steps, generate_shot_frame regeneration max 3 rounds and regenerate_shot_video / edit_video_shot max 3 times; at the limit platform returns 409 AUTOPILOT_SHOT_REGEN_LIMIT (no charge)—do not bypass with another tool; stop and ask customer: if customer approves more regenerations, quote normally and generate with customer_approved_more_regens:true (grants another limit); if customer accepts current state, continue, and include acknowledge_review:true on the next paid call to record confirmation. 402 BUDGET_WOULD_EXCEED / 409 MODEL_UNAVAILABLE / 409 AUTOPILOT_SHOT_REGEN_LIMIT / 400 AUTOPILOT_MUST_ASK with must_ask_customer=true / nonempty pending_questions → pause, summarize get_autopilot_log pending_questions **once** and ask customer; customer-controlled steps follow pro mode. After final cut, deliver to customer using get_autopilot_log report. ★Three execution tiers (do not mix the three when asking customer): ①【Basic project settings · free · mandatory foundation · set when creating drama, do not create an empty shell】project_type/setting_brief (worldview · ERA LOCK)/ethnicity/aspect ratio resolution, plus consistency anchors cinematography_prompt (cinematography DNA) · art_bible · visual_lock— all free, the foundation driving full-pipeline consistency; if not set, all later generation drifts and rework costs again. Set directly with create_drama/update_project_settings. ★visual_lock/art_bible should contain only image-level/world-level locks (shot language · environment · art direction · forbidden elements), **never pin costume/hairstyle/appearance details for specific characters**—the single source of truth for character appearance is the character profiles output by extract_assets (change via update_character); writing both inevitably conflicts, character sheet vs profile and turnaround vs visual lock, consistency gates reject by character sheet → turnarounds/shot frames get **structural consecutive rejection**, no number of rerolls can pass, pure wasted money. ★★【Era contract · free · must set before image generation for non-modern subjects】The worldview in setting_brief is **free text**: it only provides background and cannot constrain images; what can truly override visual lock is the **structured era contract**: use set_era_contract to set this episode tier (modern/republican/historical/fantasy), get_era_contract to read current value. **Unset means empty**—the platform can only stack prompt text to fight the model; modern objects entering ancient images and scene images drawn as another era are mostly caused by this being empty. ★Xianxia/fantasy/fairyland **must use fantasy, not historical**: historical requires researched realism and will judge glowing aura, floating terrain, nonhuman forms as \"era-inconsistent\", pulling images toward realistic ancient style. For an exception in one scene (e.g. a modern memory in a fantasy world), use update_scene era_contract override; scene-level overrides episode-level. ★★【Per-step review protocol · all free · main line preventing bad films, not optional】After each step output, review first, tell customer the conclusion verbatim, then proceed. **Five hard gates (otherwise 400 rejected; ④⑤ and agent QC below)**: ①After rewritten script → review_script (before extract_assets / generate_storyboards); ②After storyboards → review_storyboards (before generate_frames); ③After shot images → review_frames (before generate_videos). Each review returns review_token; pass it to downstream paid tools. Explain findings to customer item by item (code=issue type · shots=hit shot numbers · action=which tool to fix with); after fixing per action, **review again** before proceeding. If content changed after review → token auto-invalidates; one re-review is enough (free). error blocks by default; only if customer is explicitly informed and insists may you pass acknowledge_review:true (acknowledge_review only means the customer personally agreed; any execution mode requires explicit customer approval, autopilot included). In autopilot steps only whitelisted heuristic errors may carry auto_acknowledge:true (see 【Execution-mode master rules】). **Soft guidance (non-blocking but strongly recommended, also free)**: before images/videos run run_precheck (catches shots vendors will certainly reject, avoiding wasted credits)—★**to scan the whole drama, run run_drama_precheck first** (drama-level summary · free · read-only): get issue counts and attention per episode in one call (which episodes to fix first), prioritize by it, then run run_precheck on those episodes for itemized details; do not blind-scan episode by episode. Note its not_covered—drama-level skips the only lint that needs images, so \"0 issues for whole drama\" ≠ \"everything checked\". ★After findings, do not blindly edit yourself: plan_precheck_fix lets platform compute proposals → apply_precheck_fix persists them (which to accept; autopilot=accept all per execution mode: pro mode / unconfirmed plan / customer-controlled step → explain to customer and do only with customer approval, do not decide for them; autopilot step → do not ask customer, follow get_production_plan autopilot.default_decisions, platform records in get_autopilot_log); after storyboards run get_health_report; after character sheets are done, use get_characters to verify every appearing character has image/sheet; after frames, use get_storyboards to inspect frame_status and fail_reason/fail_hint (fix failed shots before proceeding; do not generate videos from bad frames); after videos likewise inspect video_status; before final cut use get_pipeline_status to confirm no missing shots. ★**Never just generate all the way through**: pushing without reviews amplifies issues at every layer and finally forces redoing the whole episode—every image/video retry is charged. Reviews are all free; catching early costs nothing. ★Changing costume is a structured binding edit: update_shot active_wardrobe_id (whole shot) / appearance_wardrobes (per-character in multi-character shots), can override or clear—editing text description does not change clothes, and customers need not change it on the web. ②【Production trunk · ordered, no skipping · ★storyboard before asset creation】set_script→rewrite_script→★review_script→extract_assets→storyboards (storyboard first · pure text shot breakdown)→★review_storyboards→★Script discipline (endpoint-enforced, cannot bypass): all raw material (synopsis/outline/finished script all count) goes into set_script and **must pass rewrite_script to produce an AI rewritten script**—pasting your own script directly into edit_rewritten_script to bypass rewrite will be 400 rejected (no rewritten script means no editable object); extract_assets likewise requires the rewritten script. All post-rewrite edits use the structured AI-output format: edit_rewritten_script (polish/correct), update_character, update_shot/replace_shot_dialogue—do not go back and replace the whole script or write another truth source in settings; dual sources of truth are the top cause of consistency accidents. ★★**After one successful rewrite, do not rerun rewrite_script**: it redoes the whole source, losing all current fixes, and the new version does not guarantee preserving old fixed parts (three-version tests drift back and forth). To fix, use edit_rewritten_script targeted edit (get_script full text → change only those scenes, copy the rest byte-identically → submit full script), free and seconds-level, deterministic; if rerun by mistake, recover previous with get_script(include_previous=1). generate_portraits_and_sheets (character sheets + turnarounds · create after storyboards: first use delete_character to remove appearing characters that **do not appear in any episode of the whole drama and are not intended for later episodes** before image generation—characters are drama-level; once deleted, frame assembly for every episode will no longer include them; this cannot be judged from this episode's storyboards alone, keep if unsure (one character sheet costs far less than losing the identity anchor in a later episode); the character sheet step generates images for **all undeleted appearing characters**, regardless of storyboard bindings, and all kept characters are charged; voiceover characters (char_type=voiceover narrator/phone voice) are not imaged and have no storyboard binding, **do not delete**, audio still needs them)→★generate_color_script (color script · unified grading)→assign_voices (assign voice types; no suitable narrator/character-library voice → design_voice from description, then set_character_voice after sample approval)→★quote_scene_images+generate_scene_images (empty scene plates · required before frames)→frames (default first frames only)→★tail_frame_plan (free · which shots need independent tail frames)→frames(frame_type=last_frame)→★chain_frames (seams · first dry_run:true)→★review_frames→videos→generate_tts→compose; ★★【Do not skip seams · complete tail frames before review_frames】After first/tail frames are ready, call chain_frames(dry_run:true, free) to see the platform's seam plan and estimated_points (copy free, reframe costs one image per seam); explain to customer and, after confirmation, execute without dry_run. Already chained seams are excluded, repeat calls do not double charge. ★After execution, reframe is **async image generation**: use get_jobs to watch the planned shots' first_frame jobs, wait until all pending/processing are done (for failed, inspect error_msg; use chain_shot_from for a single seam), then review_frames—the old first frame still exists so get_storyboards frame_status remains ready and cannot show whether the new image is running or failed. After get_jobs clears, use get_storyboards to check seam_state: replacement images rejected on promotion do not remain in get_jobs; that seam remains unchained (review_frames will also report seam_unchained), reconnect per its action. If you review before landing, you review old first frames; the token expires when the new first frame lands. Episodes generated shot-by-shot/batch often have not been auto-chained (get_storyboards seam_state=unchained); skipping causes no error—the cost is visual mismatch between shots and jump cuts throughout the final cut. ★★【Do not skip tail frames · frames are two passes】generate_frames defaults to first frames only. About 30% of shots have **end state ≠ start state** (large camera moves/object release/state change) and need an independent tail frame; the criterion is platform-side and cannot be guessed from storyboard text. Therefore after first frames, you must call the free tail_frame_plan once for a per-shot list, then fill frame_type=last_frame (shots_needing_last_frame in generate_frames response is this count; if not 0, do not go directly to review_frames). Skipping causes no error and does not block you—the cost is those shots only have a first-frame anchor when generating video, so the model improvises the end state: actions miss, large camera moves end back at the starting composition. Production observed 30 of 32 episodes generated only first frames; 23 still generated videos all the way. ★★【When tail frame is blocked by TERMINAL_DESC_GATE: edit text, do not retry】For shots reporting \"this shot is marked as state-changing but nowhere describes what the end looks like\", use update_shot to write **what the image looks like at the end** into that shot's last_frame_prompt, then regenerate the tail frame. ★Better: **avoid hitting it**—before tail frames, call get_storyboards once; terminal_desc_missing=true lists all such shots in the episode (free). Fill their last_frame_prompt first, then generate, with zero rejections. You can also query per shot via get_shot_prompts same field, but do not do that for dozens of shots. Retrying without adding description is ineffective—the vendor prompt has no terminal-state segment, so it still draws the starting pose and will be rejected again by terminal review, while each try is still charged (production observed tail-frame success 9.4% without terminal description, 40.2% with it). Only for shots that truly should be \"almost unchanged\" use generate_shot_frame allow_missing_terminal to bypass. ★★【Do not skip empty scene plates · this step is often missed by third parties】Scene images are **background anchors**: every shot frame in the same scene anchors to them. Frames can still be generated without plates, with no error and no blocking—the cost is **the first shot of each scene has no background anchor at all** (platform fallback image generation is \"when missing image detected, generate one in background\"; later shots in the same scene use it, but the triggering shot itself cannot wait for it), and the first shot is often the tone-setting shot; backgrounds also drift across later shots. It pairs with character sheets: character sheets anchor people, scene images anchor setting; whichever is missing drifts. Progress self-check: `get_pipeline_status` generate_scene_images step (completed/total); `review_storyboards` also reports scene_plate_missing before frames. ★★【Do not skip turnarounds · character sheet ≠ turnaround】A character sheet is a single-person single-image identity anchor; a turnaround is a multi-view turnaround generated by the platform from the character sheet, the root consistency anchor for shot frames/videos (angle changes · lighting changes · costumes mostly rely on it). Frames can still be generated with only character sheets and no error—the cost is character drift when angle changes and costumes differ every shot. Use generate_portraits_and_sheets for both steps (each call advances one step; after character sheets are complete, call again to generate turnarounds), or call generate_character_sheets after character sheets. Progress self-check: get_pipeline_status generate_character_sheets step (completed/total, portrait_only=characters with only character sheets). ★Customer-provided images: character sheet must be single person, single image, single angle, no text; scene image must be empty environment, no people, no overlaid text—set_character_portrait/upload_scene_image auto-check and reject noncompliance with 422. ★Do not create character images/prop sheets/motion templates before storyboards—storyboard is pure text and depends on no images; only after storyboards is the cast fixed, so delete non-appearing characters before images to save (motion templates must be after storyboards anyway). Paid steps follow the existing quote confirmation flow. Ads additionally need add_product+generate_product_sheet; MV flow is set_mv_lyrics→generate_mv_story→generate_mv_script (if no existing song: after set_mv_lyrics run suggest_mv_song_styles→quote_mv_song→generate_mv_song→get_mv_song→select_mv_song). ★★【④⑤ two new hard gates + agent hands-on QC】④Asset layer: after character sheets/turnarounds/scene images/prop images → review_assets (before generate_frames / generate_shot_frame; its token is asset_review_token and is passed together with the storyboard-layer review_token); ⑤Video and audio layer: after videos/voiceover/music → review_videos (before compose_episode); after final cut, run review_final_cut. ★After every review layer you must also **personally QC**: follow returned agent_qc, inspect each asset yourself (download images, sample video frames, read text), answer checklist items, submit via submit_qc_report; for gray-release dramas, a review_token without the report cannot enter the next step; report problems block by default just like error. Platform judges whether it exists; you judge whether it looks right and is correct. ★★【Single-shot path is also review-gated】: generate_shot_frame also requires storyboard-layer review_token; regenerate_shot_video also requires shot-image-layer review_token—do not expect single-shot tools to bypass reviews (production observed a workflow generating all 25 shots via single-shot frames without hitting any gate, and all final-cut rework was truly charged). Generating frames **does not** invalidate the storyboard-layer token (fingerprint only checks storyboard content); only changing storyboard content—update_shot / import / add-delete shots / change character bindings—requires one re-review (free, seconds). Generating one shot's frame invalidates the **shot-image-layer** token; before regenerate_shot_video for the next shot, just run review_frames once. ★★【For native-audio dramas, lock voices before batch video】When use_clip_audio=true (default), each shot's voice is sampled by that video vendor, and will drift if not locked; unifying later requires regenerating shot by shot. With customer-authorized source audio → clone_voice+set_character_voice before generate_videos; without it → for each speaking character, first use single-shot quote_regenerate_shot_video→regenerate_shot_video on a shot with relatively long dialogue (generate_videos has no per-shot parameters and only batch-fills missing videos; single-shot regeneration also works on shots with no video yet), use set_voice_anchor_from_shot to select the voice from that shot, then generate remaining shots. get_pipeline_status native_voice_anchor lists unanchored_speakers and stale_shots generated before locking that need regeneration. ★World concept image = required by default (improves whole-drama consistency; many third-party platforms skip it): after storyboards, call generate_world_concept by default; still follows quote confirmation (tell customer estimated credits and confirm before charging)—do not silently charge, and do not skip. ★★【Color script】generate_color_script unifies color grading for the whole film; do after storyboards and before frames. Text step has no quote_* and is usage-postpaid. Progress self-check: get_pipeline_status generate_color_script; review_storyboards reports color-script gaps. ★Motion templates are optional experimental: call generate_motion_templates (motion template extraction) only when customer explicitly requests, after storyboards; text step usage-postpaid. First/tail frames do not inject motion templates by default; missing templates need not be created and do not block images, videos, or final cut. Video templates may be cropped; delivery or benefit is not guaranteed. ★Scene Bible (detailed per-scene settings) order is **after scene images are generated**—refine based on generated scene images (no MCP tool yet; do on official site); do not do Scene Bible before scene images. ★Audio defaults to native video audio (use_clip_audio default on; skip TTS and use AI video's built-in audio): when creating drama/changing settings, AI should proactively tell customer \"default uses native video audio; set use_clip_audio false if TTS dubbing is needed\" and let customer choose. ★Default image model is ChatGPT Image 2.5 Flare (gpt-image-2.5-flare · unified style across drama): set image_model in create_drama/update_project_settings; default if omitted. Options: gpt-image-2.5-sunburst (same price · better Chinese glyphs and details)/gemini-3.1-flash-image (Banana 2 · 71 credits)/gemini-3-pro-image (Banana Pro · more detailed · 175 credits)/gemini-3.1-flash-lite-image (Banana 2 Lite · cheaper · 31 credits)/doubao-seedream-5-0-260128 (Seedream5.0); generate_frames can temporarily override for one run. ★2.5 charges by input volume (base 11 credits + 18 credits per reference image); Banana/Seedream are fixed-price—budget must account for many-reference shots. ★Four video engine options (drama-level · when AI creates drama, must proactively guide selection by drama and show price differences for customer decision): 【Selection tree】★Call get_production_menu first: whether each engine is currently available for realistic live-action / anime and other subject classes is decided by the availability it returns (unavailable entries carry customer_note and expected_until—relay them to the customer verbatim); do not assume from this description that any model is unavailable, and do not recommend models the menu marks unavailable. ①Realistic live-action drama→seedance-2.5 (strongest instruction following / face detail · 720p 212 credits/sec), or hailuo-3 when budget-sensitive (about 1/3 cost, 70 credits/sec · strong fidelity editing · can output 2K · but about 6 minutes per shot); ★After choosing, pass video_engine explicitly in create_drama / update_project_settings (the one the menu lists as available for this subject class)—if omitted, the platform only applies a style-based fallback stamp that is not guaranteed to be an engine the menu marks available; ②Stylized/animation/3D cartoon dramas · empty shots · product shots→wan3.0 (about 40% price, 84 credits/sec · max 30 sec · min 2 sec billing · about 2 minutes per shot), for urgent delivery use wan3.0-prime (126 credits/sec · about 1 minute); ③★Never choose wan3.0/prime for realistic live-action dramas—WAN output-side human-face review rejects consistently at 720p+, retries cannot fix; ④★★Use caution with wan3.0/prime for narrative dramas (dialogue, coherent story, stable shot rhythm needed): WAN will **hard-cut to new camera angles inside a single storyboard shot** (observed 11/12 shots with intra-shot cuts, vs seedance-2.5 only 1/6, hailuo-3 0/5); final-cut feel is \"image jumps around within one shot, cuts too fast\". This is weak vendor instruction following; prompt-level blocking cannot solve it (our negative constraints already included and tested ineffective). Only remedy after generation is regenerate with another engine. WAN suits fast short stylized/empty/product shots; for stable single-shot narrative choose seedance-2.5 or hailuo-3. After generation use scan_intra_shot_cuts to check; ④b★★Use caution with hailuo-3 for dialogue-heavy dramas (different from the previous \"intra-shot self-editing\"; this is about **whether all dialogue is spoken**): native-audio engine stops when the shot ends and may ad-lib; observed \"dialogue not fully spoken\" rate hailuo-3 **50%** (26 shots, all generated after 8-30 native-audio fix, so engine-inherent), seedance-2.5 **23%** (294 shots); wan3.0 has **insufficient sample size, untested** on this dimension (26 samples all before the same fix; only 2 after fix)—do not infer WAN is bad from this. When customer reports \"line was not finished\", first run scan_dialogue_coverage to segment causes; do not default to lengthening shots (observed that among shots with enough duration, 32% still did not speak all lines); ⑤★Shot duration control (all engines, especially obvious on WAN): keep each shot 3~5 sec. The longer the shot, the more freedom the model has—observed one 16-sec single shot (neighbors were 3~5 sec) changed scene 4 times inside the shot, a character disappeared for 4 sec then grew back from frame edge; customer perceives \"someone appeared out of nowhere\". For long performances, split into multiple short shots and connect with frame chaining; do not write single shots longer than 15 sec. 【Resolution decisions】Draft/iteration: WAN dramas 480p (42 credits/sec cheapest), others 720p; final delivery: seedance dramas 720p (HD tier discontinued), hailuo-3 dramas 1080p (=2K · 112 credits/sec), WAN dramas 1080p (168 credits/sec); hailuo-3 has no separate 480p tier (choosing it still bills as 768P). Set video_engine/video_resolution in create_drama/update_project_settings; ★both must be decided before video generation—switching does not retroactively change generated shots; mixing in one drama causes style/identity drift. ★Slow image generation ≠ failure: each image takes tens of seconds to minutes, a whole episode may take over ten minutes; poll get_storyboards for frame_status—pending=still generating (wait patiently, do not repeat generate_frames and waste credits), ready=done, failed=real failure. ★To change one shot's image / make a new character sheet take effect, use **single-shot regeneration generate_shot_frame** (platform automatically includes that shot's identity anchors · scene/prop references · style anchor, preserving whole-film consistency); generate_frames only batch-fills shots with **missing frames** and skips existing first frames (normal, not \"rejection\"). ★After first frames, call free tail_frame_plan to see which shots need independent tail frames, then batch-fill with frame_type=last_frame. After set_character_portrait, stale_frames in the response are shots polluted by the old image and must be regenerated shot by shot. ★Never use external tools to make first/tail frames and upload_shot_frame to \"change image\"—external images lack identity/style anchors, so characters/costumes/style will drift, which is the real source of bad films; upload_shot_frame is only for customer-owned real footage. ③【Optional enhancements · AI proactively informs customer · quote confirmation required】Art Bible generation / visual lock extraction / scene groups / lip sync / posters / sound effects / music / subtitle translation—these improve consistency/quality and are mostly charged. ★AI should proactively tell customer these are available and provide quotes (whether to run follows execution mode: pro mode / unconfirmed plan / customer-controlled step → explain to customer and do only with customer approval, do not decide for them; autopilot step → do not ask customer, follow get_production_plan autopilot.default_decisions, platform records in get_autopilot_log); neither silently skip nor charge without permission. ★Two locking rules: ①**Aspect ratio** is set at create_drama, locked at drama level; all later images/videos/final cut use it, **do not change midstream** (changing makes generated content aspect-inconsistent and drift); default 9:16 if unset. ②**5-7 sec per shot in shot breakdown is normal duration optimized for AI video generation**; do not misjudge as \"shots too long\" and rebreak—generate_storyboards **replaces all storyboards in the episode** and wastes generated images; backend blocks if storyboards already exist and requires confirm_replace. ★Rewrite fidelity (default auto smart routing): when set_script source is **already in script form** (scene headings/dialogue-line structure), rewrite_script automatically uses two-pass fidelity—customer dialogue is locked line by line by a machine gate (missing any line triggers internal rejection and redo), AI never adds plot; dramaturgical gaps (hooks/emotional anchors) are not auto-filled, but written into dramaturgy_suggestions returned by get_script (whether to adopt follows execution mode: pro mode / unconfirmed plan / customer-controlled step → explain to customer and do only with customer approval, do not decide for them; autopilot step → do not ask customer, follow get_production_plan autopilot.default_decisions, platform records in get_autopilot_log). If source is novel/outline, automatically uses creative rewrite (AI lays hooks and emotional points). Both customer types get appropriate handling with no manual switch. To override default, use update_project_settings rewrite_pipeline(auto/two_pass/single_forced) and fidelity_enforce(1=fidelity hard gate). If customer says \"AI changed my script off-track\": ①confirm full source was put into set_script; ②set rewrite_pipeline to two_pass to force fidelity, then rerun rewrite_script; ③after customer confirms character appearance, use update_character profile_locked=1 to lock profile and prevent later extraction from overwriting appearance and changing the face in character sheets. ★If customer wants to rewrite on **another AI platform** (common: third-party model judges our rewrite \"changed too much\", customer wants to control change degree): first call get_script_format_spec to get the platform-accepted format contract (markdown template + external_prompt directly forwardable to external model + blank skeleton), send external_prompt+template+customer source to that platform; after receiving organized script, **first call check_script_format to self-check** (free · rule-only · no model). Once errors are zero, two exits: 【A】adopt_external_script to directly adopt as shootable script (our AI not involved · seconds-level · no charge, requires external script includes production-layer annotations); 【B】set_script back into source slot + rewrite_script with two-pass fidelity (choose this when external only handles plot layer; platform fills annotations; customer-written annotations on this path are stripped and rewritten). ★Do not put external organized script into edit_rewritten_script (400 rejected if rewrite has never run), and do not skip check_script_format and ingest directly—noncompliant scripts are still blocked by gates and waste a run. ★★If the customer provides a **finished storyboard table** (per-shot duration/shot size/camera movement), neither path above applies—use import_storyboard_table directly to create storyboards, skipping rewrite and shot breakdown. The rewrite path strips duration/shot size/camera movement/STYLE/text cards as non-plot content (production observed 8 shots 36 sec → 20 shots 109 sec). ★Both import channels are deterministic—even wrong content is created as-is, so **get contract first, then self-check, then import**: storyboard table path is get_storyboard_table_spec → check_storyboard_table → import_storyboard_table; if customer's own tools/spreadsheets can export structured data, or external AI can directly produce JSON, use get_bulk_import_spec → check_bulk_import → bulk_import_storyboards (creates storyboards only; characters/scenes/props are extracted by extract_assets from the script; import binds existing ones by name—extract first, then import). Both imports default with auto_complete (backend AI fills professional fields + image/video prompts, text step postpaid; inform customer before call): if receipt started=true, poll get_autofill_status until done, then review_storyboards—autofill changes shots, so any earlier review token expires. Use get_pipeline_status for progress (returns project-type-specific steps). ★★【Opening plan · first thing after creating drama · free】First ask basic video parameters (project type/aspect ratio/episode count × minutes per episode/subject: realistic_human · stylized anime · product empty-shot/native audio or dubbing), then call get_production_menu to get the **currently available** three package tiers (effect notes + real-time estimate including text steps + recommended budget + exclusions) and explain to customer—do not recommend models from memory; some models may be temporarily unavailable for certain subjects, menu is already filtered. Then let customer choose execution mode (pro controls every step / auto one-click final cut / custom choose autopilot steps), budget budget_points, and automatic overrun cap (0/10/20/30/50%): **default recommendation** budget=selected tier's recommended_budget (upper bound excluding text ×1.2 plus text estimate), overrun=menu recommended_overrun_pct (30%)—QC regenerations are not in the upper bound and are covered by overrun. Recommendations are only recommendations; final numbers are set by customer, and if customer changes them, use customer's values. Explain the summary clearly; only after explicit customer agreement call confirm_production_plan(customer_confirmed:true)—never confirm for the customer. For dramas with confirmed plans: before paid dispatch, platform rechecks model availability and that quote upper bound ≤ budget×(1+overrun%); if blocked (402 BUDGET_WOULD_EXCEED / 409 MODEL_UNAVAILABLE), stop and ask customer; do not change model or budget yourself. confirm returning 403 PRODUCTION_PLAN_NOT_OPEN = this drama is not enabled (gray release); follow the original step-by-step confirmation flow.",
5
+ "set_script": "Set the **original script** (content) for an episode. This is the input for AI rewriting, not the final shootable draft. Free. Put synopsis/outline/self-written finished draft here; after setting it you **must call rewrite_script for AI rewriting**—do not skip rewriting and paste the draft directly into edit_rewritten_script (it will be rejected). ★★【Execution-mode master guide·read before starting】For dramas with a confirmed opening plan, first call get_production_plan and read autopilot: professional mode (pro, or autopilot.enabled=false, or plan not confirmed) → every later “tell the customer; proceed only after customer agrees” is literal; one-click (auto)/hybrid (custom) **managed stages** → do not ask the customer: proceed in order by get_pipeline_status next_action, self-confirm quotes within the hard budget cap, and after each layer still run review_* + agent QC; the review/QC returned autopilot.next_step tells you how to proceed for that layer (whitelisted error with auto_acknowledge:true / self-fix round number / pause and ask customer), follow it; for choices follow autopilot.default_decisions; autopilot.never_auto_actions (mode=replace, delete assets, overwrite customer-uploaded images, allow_era_ref_conflict, voice cloning, delivery acceptance) always require customer approval in every mode. ★In managed stages, re-generating frames for the same shot (generate_shot_frame) is capped at 3 rounds, re-generating videos (regenerate_shot_video / edit_video_shot) capped at 3 times; at the cap the platform returns 409 AUTOPILOT_SHOT_REGEN_LIMIT (no charge)—do not bypass with another tool; stop and ask the customer: if they agree to more, quote normally and pass customer_approved_more_regens:true when generating (grants another cap); if they accept the current result, continue, and pass acknowledge_review:true on the next paid call to record confirmation. 402 BUDGET_WOULD_EXCEED / 409 MODEL_UNAVAILABLE / 409 AUTOPILOT_SHOT_REGEN_LIMIT / 400 AUTOPILOT_MUST_ASK with must_ask_customer=true / non-empty pending_questions → pause and ask the customer **once with a consolidated summary** of get_autopilot_log pending_questions; customer-controlled stages follow professional-mode asking. After final cut, deliver to customer using get_autopilot_log report. ★Three-tier execution strategy (do not mix the tiers when asking the customer): ①【Basic project settings·free·mandatory foundation·set when creating the drama; do not create an empty shell】project_type/setting_brief (worldview·ERA LOCK)/ethnicity/aspect ratio and resolution, plus consistency anchors cinematography_prompt (cinematography DNA)·art_bible (art bible)·visual_lock (visual lock)—all free, the foundation driving full-chain consistency; if not set, all later generation drifts and rework costs money. Set directly with create_drama/update_project_settings. ★visual_lock/art_bible should only contain frame-level/world-level locks (camera language·environment·art tone·forbidden elements), **never pin clothing/hairstyle/appearance details for specific characters**—the only source of truth for character appearance is the character profiles from extract_assets (change via update_character); writing both inevitably conflicts: character sheets vs profiles, concept images vs visual lock, consistency gates reject by character sheet → concept images/shot frames get **structurally rejected repeatedly**, no number of rerolls will pass, pure wasted spend. ★★【Era contract·free·mandatory before image generation for non-contemporary or surreal subjects】The worldview in setting_brief is **free text**, only provides background and cannot constrain images; the real override stronger than visual lock is the **structured era contract**: use set_era_contract to set the episode tier (modern/republican/historical/fantasy/surreal), get_era_contract to read current value. **Unset means empty**—the platform can only stack words in prompts; modern objects appearing in ancient images, scene images rendered in the wrong era, are mostly caused by this being empty. ★Xianxia/fantasy/wonderland types **must use fantasy, not historical**: historical demands evidence-based realism and will mark glowing aura, floating terrain, non-human forms as “not era-compliant”, pulling images toward realistic antiquity. For a single scene exception (e.g. modern flashback in a fantasy world), use update_scene era_contract to override; scene-level overrides episode-level. ★★【Per-stage review protocol·all free·main line preventing waste, not optional】After each stage output, review first, tell the customer the conclusion verbatim, then proceed. **Five hard gates (failing causes 400 rejection; ④⑤ and agent QC below)**: ① after rewritten draft → review_script (before extract_assets / generate_storyboards); ② after storyboards → review_storyboards (before generate_frames); ③ after shot images → review_frames (before generate_videos). Each review returns review_token; pass it to downstream paid tools. Explain findings one by one to customer (code=issue type·shots=hit shot numbers·action=which tool to fix with); after fixing per action, **review again** before proceeding. If content changes after review → token invalidates automatically; re-review once (free). error blocks by default; only if the customer is explicitly informed and insists may you pass acknowledge_review:true (acknowledge_review only means the customer personally agreed; every execution mode requires explicit customer agreement, including managed). Managed stages may use auto_acknowledge:true only for whitelisted heuristic errors (see 【Execution-mode master guide】). **Soft guidance (non-blocking but strongly recommended, also free)**: before image/video generation run run_precheck (finds shots vendors will reject, prevents wasted spend)—★**for whole-drama scan, first run run_drama_precheck** (drama-level summary·free·read-only): get issue counts per episode and attention (which episodes to fix first), prioritize accordingly, then run run_precheck on those episodes for details; do not blindly scan episode by episode. Note not_covered—the drama-level scan skips the only lint requiring images; “0 drama issues” ≠ “everything checked”. ★After issues are found, do not blindly edit yourself: plan_precheck_fix lets the platform compute proposals → apply_precheck_fix commits selected ones (for managed=accept all according to execution mode: professional mode / unconfirmed plan / customer-controlled current stage → tell customer and proceed only after agreement; do not decide for them; managed current stage → do not ask, follow get_production_plan autopilot.default_decisions, platform records in get_autopilot_log); after storyboards run get_health_report; after character sheets are done use get_characters to verify every on-screen character has image/sheet; after frames use get_storyboards to inspect frame_status and fail_reason/fail_hint (fix failed shots before continuing; do not make videos from bad frames); after videos inspect video_status similarly; before final cut use get_pipeline_status to confirm no missing shots. ★**Never generate all the way through blindly**: pushing generate calls without review amplifies issues at every layer and can waste the whole episode; every image/video rework is charged. Reviews are all free; catching issues costs nothing. ★Changing clothing edits structured bindings: update_shot active_wardrobe_id (whole shot) / appearance_wardrobes (per character in multi-character shots), can override or clear—text description changes do not change clothes, and the customer need not edit on the website. ②【Production mainline·in order, no skipping·★storyboard before assets】set_script→rewrite_script→★review_script→extract_assets→storyboards (storyboard first·pure-text shot breakdown)→★review_storyboards→★Script discipline (endpoint-enforced, cannot be bypassed): all raw material (synopsis/outline/finished draft) goes in set_script, **must pass rewrite_script to produce the AI rewritten draft**—pasting a self-written script directly into edit_rewritten_script to bypass rewriting will be rejected with 400 (without a rewritten draft there is nothing to edit); extract_assets also requires the rewritten draft. All post-rewrite edits must use AI-output structured formats: script edits via edit_rewritten_script (polish/correct), character profiles via update_character, storyboards via update_shot/replace_shot_dialogue—do not replace the whole script again or write a second truth source in settings; conflicting truth sources are the #1 consistency accident. ★★**After one successful rewrite, do not rerun rewrite_script**: it restarts from the whole original, discards all current fixes, and the new version is not guaranteed to preserve fixed parts (three-version tests oscillate). To fix, use edit_rewritten_script targeted edits (get_script full text → change only those scenes, copy all else verbatim → submit whole text), free, instant, deterministic; if rerun by mistake, use get_script(include_previous=1) to recover the previous version. generate_portraits_and_sheets (character sheets + turnaround sheets·build after storyboards: first use delete_character to delete on-screen characters that **do not appear in any episode of the whole drama and are not planned for later episodes** before image generation—characters are drama-level; after deletion, every episode’s frame assembly will no longer include them; you cannot judge by this episode’s storyboards alone, keep if unsure (one character sheet costs far less than losing an identity anchor in a later episode); this step generates images for **all undeleted on-screen characters**, regardless of storyboard binding, and charges for all kept characters; off-screen voice characters (char_type=voiceover narrator/phone voice) do not get images and have no storyboard binding, **do not delete them**, dubbing still needs them)→★generate_color_script (color script·unified grading)→assign_voices (assign voice colors; if narrator/character library has no suitable voice → design_voice by description, then set_character_voice after sample confirmation)→★quote_scene_images+generate_scene_images (empty scene plates·mandatory before frames)→frames (default only first frames)→★tail_frame_plan (free·which shots need independent last frames)→frames(frame_type=last_frame)→★chain_frames (seams·dry_run:true first)→★review_frames→videos→generate_tts→compose; ★★【Do not skip seams·after last frames complete, before review_frames】After first/last frames are ready, call chain_frames(dry_run:true, free) to see the platform seam plan and estimated_points (copy free, reframe costs one image per seam), tell customer and after confirmation execute without dry_run; already chained seams are excluded from the plan, repeated calls do not double-charge. ★After execution, reframe is **async image generation**: use get_jobs to watch the first_frame generation rows for shots in the plan, wait until all pending/processing finish (for failed, inspect error_msg; use chain_shot_from for a single seam), then run review_frames—while the old first frame remains, get_storyboards frame_status is still ready and cannot show whether the new image is generating or failed. After get_jobs is clear, use get_storyboards to verify seam_state: replacement images rejected during promotion are not kept in get_jobs, that seam remains unchained (review_frames also reports seam_unchained); reconnect per its action. If you review before it lands, you review the old first frame; the token invalidates when the new first frame lands. Episodes with per-shot/batch frame generation usually were not auto-chained (get_storyboards seam_state=unchained means this); skipping it does not error—the cost is discontinuity between shots and jump cuts in final cut. ★★【Do not skip last frames·frame generation is two-pass】generate_frames defaults to first frames only. About 30% of shots have **end state ≠ start state** (large camera move/object released/state change); these need an independent last frame, and the criterion is platform-side, not guessable from storyboard text—therefore after first frames finish you must call the free tail_frame_plan once for the per-shot list, then fill with frame_type=last_frame (shots_needing_last_frame in generate_frames response is this number; if not 0, do not go directly to review_frames). Skipping does not error or block—the cost is those videos having only the first frame as anchor, leaving end state to the model: action incomplete, large camera moves end by returning to start composition. Production tests: in 32 episodes, 30 generated only first frames; 23 of those proceeded all the way through video. ★★【When last frames are blocked by TERMINAL_DESC_GATE: edit text, do not retry】For shots reporting “this shot is marked as state change but nowhere says what it looks like at the end”, use update_shot to write **what the image looks like at the end** into that shot’s last_frame_prompt, then regenerate the last frame. ★Better: **avoid hitting it**—before last frames, call get_storyboards and list all terminal_desc_missing=true shots for the episode at once (free), fill their last_frame_prompt first, then generate; zero rejections needed. Per-shot also possible via get_shot_prompts same field, but do not do that for dozens of shots. Retrying without the description is ineffective—the vendor prompt has no terminal-state segment, so it still draws the first-frame pose and will fail terminal review again, with normal charges each time (production test: last-frame success 9.4% without terminal text, 40.2% with it). Only for shots that truly “almost do not change” use generate_shot_frame allow_missing_terminal. ★★【Do not skip empty scene plates·third parties often miss this】Scene images are **background anchors**: every shot frame in the same scene anchors to them. Frames can still be generated without plates, with no error and no block—the cost is **the first shot of every scene has no background anchor at all** (platform fallback is “if missing image is discovered, generate one in background”; that generated plate is used by later shots in the same scene, but the triggering first shot cannot wait for it), and the first shot is often the tone-setting shot; backgrounds also drift among later shots. They pair with character sheets: character sheets anchor people, scene images anchor environments; whichever is missing drifts. Progress self-check: generate_scene_images step in get_pipeline_status (completed/total); review_storyboards also reports scene_plate_missing before frames. ★★【Do not skip turnaround sheets·character sheet ≠ turnaround sheet】A character sheet is a single-person single-image identity anchor; a turnaround sheet is a multi-view turnaround generated by the platform from the character sheet, the root consistency anchor for shot frames/videos (angle changes·lighting changes·clothing mostly depend on it). Frames can still be generated with only character sheets, no error—the cost is characters drift when angle changes and clothing differs every shot. Use generate_portraits_and_sheets for one-click two-step (each call advances one step; after character sheets are complete, call again to generate turnaround sheets), or call generate_character_sheets after character sheets. Progress self-check: get_pipeline_status generate_character_sheets step (completed/total, portrait_only=characters with only character sheets). ★Customer-provided images: character sheets must be single person, single image, single angle, no text; scene images must be empty scenes with no people and no overlay text—set_character_portrait/upload_scene_image auto-check and reject noncompliance with 422. ★Do not build character images/prop sheets/motion templates before storyboards—storyboards are pure text and need no images; the cast is finalized after storyboards, so delete non-appearing characters first to save (motion templates also must be after storyboards). Paid steps follow current quote confirmation flow. Ads additionally need add_product+generate_product_sheet; MV uses set_mv_lyrics→generate_mv_story→generate_mv_script (if no existing song: after set_mv_lyrics first suggest_mv_song_styles→quote_mv_song→generate_mv_song→get_mv_song→select_mv_song). ★★【④⑤ two new hard gates + agent personal QC】④ asset layer: after character sheets/turnaround sheets/scene images/prop images → review_assets (before generate_frames / generate_shot_frame; its token is asset_review_token and is passed together with the storyboard-layer review_token); ⑤ video and audio layer: after videos/dubbing/music → review_videos (before compose_episode); after final cut run review_final_cut. ★After every layer review you must also **personally QC**: follow returned agent_qc, inspect assets one by one (download images, sample video frames, read text), answer the checklist, submit via submit_qc_report; for grayscale dramas, without the report the review_token cannot enter the next step; report issues block by default like errors. The platform judges existence; you judge likeness and correctness. ★★【Single-shot path is also gated】generate_shot_frame must also pass storyboard-layer review_token; regenerate_shot_video must also pass shot-image-layer review_token—do not expect per-shot tools to bypass reviews (a tested workflow generated all 25 shots by single-shot frames without any gate; all final-cut rework cost real credits). Generating frames does **not** invalidate storyboard-layer token (fingerprint only looks at storyboard content); only changing storyboard content—update_shot / import / add-delete shots / change character bindings—requires one free quick re-review. Generating one shot’s frame invalidates the **shot-image-layer** token; before regenerate_shot_video for the next shot, run review_frames once. ★★【For native-audio dramas, lock voices before batch videos】When use_clip_audio=true (default), each shot’s voice is sampled separately by the video vendor; without locking, it will drift and later unification requires per-shot video regeneration. If customer-authorized source audio exists → clone_voice+set_character_voice before generate_videos; otherwise → for each speaking character first use single-shot quote_regenerate_shot_video→regenerate_shot_video to generate one shot with longer dialogue (generate_videos has no per-shot parameters and only batch-fills missing videos; single-shot regeneration also works for shots with no video yet), use set_voice_anchor_from_shot to choose that voice line, then generate remaining shots. get_pipeline_status native_voice_anchor lists unanchored_speakers still unlocked and stale_shots generated before locking that need regeneration. ★Worldview concept image = mandatory by default (improves whole-drama consistency; many third-party platforms miss this): after storyboards, call generate_world_concept by default, still following quote confirmation (tell customer estimated credits, confirm before charging)—do not silently charge, and do not skip. ★★【Color script】generate_color_script unifies grading across the whole film, done after storyboards and before frames; text step has no quote_* and is postpaid by usage. Progress self-check: get_pipeline_status generate_color_script; review_storyboards reports color-script gaps. ★Motion templates are optional experimental: call generate_motion_templates (motion template extraction) only when the customer explicitly requests it, after storyboards; text step postpaid by usage. First/last frames do not inject motion templates by default; missing templates do not need backfill and do not block images/videos/final cut. Video templates may be cropped; no delivery or gain is guaranteed. ★Scene Bible (detailed scene settings) order is **after scene images are generated**—complete it based on finished scene images (no MCP tool yet; do on official site); do not do Scene Bible before scene images. ★Audio defaults to video native audio (use_clip_audio on by default; skip TTS and use AI video’s built-in audio): when creating/updating a drama, the AI should proactively tell the customer “Default uses video native audio; if TTS dubbing is needed set use_clip_audio to false” and let them choose. ★Default image model is ChatGPT Image 2.5 Flare (gpt-image-2.5-flare·unified whole-drama style): set image_model in create_drama/update_project_settings; omitted means this default; options: gpt-image-2.5-sunburst (same price·more accurate Chinese glyphs/details)/gemini-3.1-flash-image (Nano Banana 2·71 credits)/gemini-3-pro-image (Nano Banana Pro·more detailed·175 credits)/gemini-3.1-flash-lite-image (Nano Banana 2 Lite·cheap·31 credits)/doubao-seedream-5-0-260128 (Seedream5.0); generate_frames can temporarily override for one run. ★2.5 charges by input volume (base 11 credits + 18 credits per reference image), Nano Banana/Seedream are flat-price—budget must include this for shots with many references. ★Four video engine choices (drama-level·when AI creates a drama it must proactively guide selection by genre and show price differences for customer decision):【Selection decision tree】★Call get_production_menu first: whether each engine is currently available for realistic live-action / anime and other subject classes is decided by the availability it returns (unavailable entries carry customer_note and expected_until—relay them to the customer verbatim); do not assume from this description that any model is unavailable, and do not recommend models the menu marks unavailable. ①Realistic live-action drama→seedance-2.5 (strongest instruction following / face detail · 720p 212 credits/sec), or hailuo-3 when budget-sensitive (about 1/3 cost, 70 credits/sec · strong fidelity editing · can output 2K · but about 6 minutes per shot); ★After choosing, pass video_engine explicitly in create_drama / update_project_settings (the one the menu lists as available for this subject class)—if omitted, the platform only applies a style-based fallback stamp that is not guaranteed to be an engine the menu marks available; ② stylized/animation/3D cartoon drama·empty shots·product shots→wan3.0 (about 40% cost, 84 credits/second·max 30 seconds·min 2-second billing·each shot ~2 minutes), use wan3.0-prime for rush delivery (126 credits/second·~1 minute); ③★Never choose wan3.0/prime for realistic live-action drama—WAN output-side real-human face review consistently rejects at 720p+ and retries cannot fix; ④★★Use wan3.0/prime cautiously for narrative dramas (dialogue, coherent story, stable shot rhythm): WAN will **self-cut hard camera changes inside a single storyboard shot** (test: 11/12 shots had intra-shot jump cuts, vs seedance-2.5 only 1/6 and hailuo-3 0/5), final cut feels like “the image jumps around within one shot and cuts too fast”; this is weak vendor instruction following and cannot be stopped by prompt constraints (our negative constraints are already included and tested ineffective), fix afterward only by regenerating with another engine. WAN suits inherently short-fast stylized/empty/product shots; for stable single-shot narrative choose seedance-2.5 or hailuo-3. After generation, use scan_intra_shot_cuts to inspect; ④b★★Use hailuo-3 cautiously for dialogue-heavy drama (different from the previous “intra-shot self-cut”; this is about **whether all dialogue is spoken**): native-audio engine stops reading when the shot ends and may ad-lib; tests show “dialogue not fully spoken” rate hailuo-3 **50%** (26 shots, all generated after 8-30 native-audio fixes, so engine-intrinsic), seedance-2.5 **23%** (294 shots); wan3.0 has **insufficient sample, not tested** on this dimension (26 samples all before same fix, only 2 shots after fix)—do not conclude WAN is bad from this. When customer says “line not finished”, first run scan_dialogue_coverage and categorize; do not default to lengthening shots (even with sufficient shot length, 32% still missed full lines). ⑤★Shot duration control (all engines, especially visible on WAN): keep each shot 3~5 seconds. Longer shots give the model more room to improvise—test: one 16-second shot (neighboring shots 3~5 seconds) changed scenes 4 times inside the shot, the character disappeared for 4 seconds and then grew back from the edge; customer sees “a person appeared out of nowhere”. For long performance, split into multiple short shots and connect with frame chaining; do not write single shots over 15 seconds. 【Resolution decision】Draft/iteration: WAN dramas 480p (42 credits/second cheapest), others 720p; final delivery: seedance dramas 720p (HD tier discontinued), hailuo-3 dramas 1080p (=2K·112 credits/second), WAN dramas 1080p (168 credits/second); hailuo-3 has no independent 480p tier (selecting it bills as 768P); set video_engine/video_resolution in create_drama/update_project_settings, ★both must be decided before video generation—switching does not back-propagate to generated shots, and mixing within one drama causes style/identity drift. ★Slow image generation ≠ failure: each image takes tens of seconds to minutes; a full episode may take over ten minutes. Poll get_storyboards frame_status—pending=still generating (wait patiently; do not call generate_frames repeatedly and waste credits), ready=done, failed=real failure. ★To change a specific shot image / make a new character sheet take effect, use **single-shot regeneration generate_shot_frame** (platform automatically includes identity anchors, scene/prop references, style anchors for that shot, preserving whole-film consistency); generate_frames only batch-fills shots with **missing frames** and skips shots that already have first frames (normal, not “refusal”). ★After first frames, call free tail_frame_plan to see which shots need independent last frames, then batch-fill with frame_type=last_frame. After changing a character sheet (set_character_portrait), response stale_frames are shots polluted by the old image and requiring per-shot regeneration. ★Never use external tools to make first/last frames and upload_shot_frame to “change the image”—external images lack identity/style anchors, so characters/clothing/style will drift; that is the real root of waste. upload_shot_frame is only for customer-owned real footage/assets. ③【Optional enhancements·AI proactively tells customer·quote confirmation required】Art bible generation / visual lock extraction / scene groups / lip sync / poster / sound effects / music / subtitle translation—these improve consistency/quality and are mostly paid. ★AI should proactively tell the customer these are available and quote them (whether to run depends on execution mode: professional mode / unconfirmed plan / customer-controlled current stage → tell customer and proceed only after agreement; do not decide for them; managed current stage → do not ask, follow get_production_plan autopilot.default_decisions, platform records in get_autopilot_log); neither silently skip nor charge without permission. ★Two lock disciplines: ①**Aspect ratio** is set in create_drama, locked at drama level, used by all later images/videos/final cuts, **do not change midstream** (generated content would have inconsistent aspect ratios and drift); default 9:16 if unset. ②**5-7 seconds per storyboard shot is a normal AI-video-optimized duration**, do not mistakenly re-split because “shots seem long”—generate_storyboards **replaces all storyboards in the episode**, wasting generated images; backend blocks if storyboards already exist and requires confirm_replace. ★Rewrite fidelity (default auto intelligent routing): when the set_script original **is already script-shaped** (scene headers/dialogue-line structure), rewrite_script automatically runs two-pass fidelity—customer dialogue is machine-gate locked line by line (dropping one line triggers internal rejection and redo), AI never adds plot; dramaturgical gaps (hooks/emotional anchors) are not auto-filled but listed in get_script dramaturgy_suggestions (whether to adopt depends on execution mode: professional mode / unconfirmed plan / customer-controlled current stage → tell customer and proceed only after agreement; do not decide for them; managed current stage → do not ask, follow get_production_plan autopilot.default_decisions, platform records in get_autopilot_log). If original is novel/outline, it auto-runs creative rewriting (AI builds hooks/emotional beats). Both customer types get the right path; no manual switch needed. To override defaults, use update_project_settings rewrite_pipeline (auto/two_pass/single_forced) and fidelity_enforce (1=hard fidelity gate). Handling “AI changed my script too much”: ①confirm full original is in set_script; ②set rewrite_pipeline to two_pass and rerun rewrite_script; ③after customer confirms character appearance, use update_character profile_locked=1 to lock profiles and prevent later extraction from overwriting appearance and changing the character sheet face. ★If customer wants to rewrite the script on **another AI platform** (common: third-party model judges our rewrite “changed too much”, customer wants control over change degree): first call get_script_format_spec to get the platform-accepted format contract (markdown template + external_prompt directly forwardable to the external model + blank skeleton), send external_prompt+template+customer original to that platform; after receiving the organized draft, **first call check_script_format** for self-check (free·rules only·no model). After errors clear, two exits: 【A】adopt_external_script directly commits it as shootable draft (our AI not involved·instant·free, provided the external draft contains production-layer annotations); 【B】set_script back into the original slot + rewrite_script through two-pass fidelity (choose this when the external draft only handles story layer; platform adds annotations; customer-written annotations are stripped and rewritten on this path). ★Do not put externally organized drafts into edit_rewritten_script (400 if no rewrite has run), and do not skip check_script_format before ingesting—noncompliant scripts are still gate-blocked and waste a run. ★★If the customer provides an **already finished storyboard table** (per-shot seconds/shot size/camera movement), neither path above applies—use import_storyboard_table directly to create storyboards, skipping rewrite and shot breakdown. The rewrite path will strip seconds/shot size/camera movement/STYLE/text cards as non-story content (production test: 8 shots 36 seconds → 20 shots 109 seconds). ★Both import channels are deterministic—errors are imported as-is, so **get the contract first, self-check, then import**: storyboard table path uses get_storyboard_table_spec → check_storyboard_table → import_storyboard_table; if customer tools/tables export structured data, or external AI can produce JSON directly, use get_bulk_import_spec → check_bulk_import → bulk_import_storyboards (storyboards only; characters/scenes/props are extracted from script by extract_assets, import binds existing items by name—extract first, then import). Both imports default with auto_complete (background AI fills professional fields + image/video prompts, text step postpaid; inform customer before calling): if receipt started=true, poll get_autofill_status until done before review_storyboards—autofill changes shots, so a token reviewed earlier invalidates. Use get_pipeline_status for progress (returns project-type-specific steps). ★★【Opening plan·first thing after creating drama·free】First ask basic video parameters (project type/aspect ratio/episode count × minutes per episode/genre: realistic_human·stylized·product/native audio or dubbing), then call get_production_menu to fetch the **currently available** three-tier packages (effect description + real-time estimate including text steps + recommended budget + excluded items) and present them to customer—do not recommend models from memory; some models may be temporarily unavailable for some genres, and the menu is already filtered. Then ask customer to choose execution mode (pro control every step / auto one-click final cut / custom select managed stages), budget budget_points, and automatic overrun cap (0/10/20/30/50%): **default recommendation** budget=selected tier recommended_budget (non-text upper bound ×1.2 plus text estimate), overrun=menu recommended_overrun_pct (30%)—QC regenerations are not in the upper bound and are covered by overrun; recommendation is only recommendation, final numbers are customer-decided; if customer changes them, follow customer. Clearly summarize and only after explicit customer agreement call confirm_production_plan(customer_confirmed:true)—never confirm on behalf of customer. For dramas with confirmed plans: before paid dispatch, platform rechecks model availability and quote upper bound ≤ budget×(1+overrun%); if blocked (402 BUDGET_WOULD_EXCEED / 409 MODEL_UNAVAILABLE), stop and ask customer, do not switch models or adjust budget yourself. confirm returns 403 PRODUCTION_PLAN_NOT_OPEN = drama not open (grayscale); follow original step-by-step confirmation flow.",
6
+ "rewrite_script": "AI rewrite: convert the source script into a shootable script (read content → write script_content). Automatically selects the rewrite agent by project type. ★Fidelity auto-routing: if the source is already in script form, automatically uses two-pass fidelity (dialogue locked line by line by machine, AI does not add plot; dramaturgical gaps go into dramaturgy_suggestions; whether to adopt follows execution mode: pro mode / unconfirmed plan / customer-controlled step → explain to customer and do only with customer approval, do not decide for them; autopilot step → do not ask customer, follow get_production_plan autopilot.default_decisions, platform records in get_autopilot_log); if the source is a novel/outline, uses creative rewrite. (Ads use ad rewrite; MV is blocked from standard rewrite.) Backend async (minutes), text step is token postpaid, no arrears, no quote needed. After completion use get_script to review, edit_rewritten_script to revise. ★Typical time 2~4 minutes (production observed ≈169 seconds). **No result within 60 seconds is normal, not failure**—use get_run_status to check whether it is still running; do not rush to resubmit. ★★**This tool is \"redo from the entire source\", not \"make another revision\"**: rerunning when a shootable script already exists overwrites the current script and all prior fixes, and the new version **does not guarantee preserving parts already fixed in the old version** (production test across three versions: long narration split in the previous version was merged back in the next; correct period costume in the previous version drifted in the next). overwrites_existing_script=true in the response means exactly this. Therefore **after the first successful rewrite, all later changes must use edit_rewritten_script for targeted edits**—free, seconds-level, only touches the specified scenes, everything else remains byte-identical, deterministic with no lottery; rerun this tool only when a \"completely different version\" is required. If rerun by mistake, use get_script(include_previous=1) to retrieve the previous version. ★★【Execution-mode master rules · read before starting】For dramas with a confirmed opening plan, first get_production_plan and read autopilot: pro mode (pro, or autopilot.enabled=false, unconfirmed plan) → every later \"explain to customer and do only with customer approval\" is literal; auto / custom **autopilot steps** → do not ask customer: advance in order per get_pipeline_status next_action, self-confirm quotes within the hard budget cap, after each layer still run review_* + agent QC, and follow autopilot.next_step returned by review/QC (whitelisted error with auto_acknowledge:true / which self-fix round / pause to ask customer); for choices follow autopilot.default_decisions; autopilot.never_auto_actions(mode=replace, asset deletion, overwrite customer-uploaded images, allow_era_ref_conflict, voice cloning, delivery acceptance) always require customer approval in every mode. ★For the same shot in autopilot steps, generate_shot_frame regeneration max 3 rounds and regenerate_shot_video / edit_video_shot max 3 times; at the limit platform returns 409 AUTOPILOT_SHOT_REGEN_LIMIT (no charge)—do not bypass with another tool; stop and ask customer: if customer approves more regenerations, quote normally and generate with customer_approved_more_regens:true (grants another limit); if customer accepts current state, continue, and include acknowledge_review:true on the next paid call to record confirmation. 402 BUDGET_WOULD_EXCEED / 409 MODEL_UNAVAILABLE / 409 AUTOPILOT_SHOT_REGEN_LIMIT / 400 AUTOPILOT_MUST_ASK with must_ask_customer=true / nonempty pending_questions → pause, summarize get_autopilot_log pending_questions **once** and ask customer; customer-controlled steps follow pro mode. After final cut, deliver to customer using get_autopilot_log report. ★Three execution tiers (do not mix the three when asking customer): ①【Basic project settings · free · mandatory foundation · set when creating drama, do not create an empty shell】project_type/setting_brief (worldview · ERA LOCK)/ethnicity/aspect ratio resolution, plus consistency anchors cinematography_prompt (cinematography DNA) · art_bible · visual_lock— all free, the foundation driving full-pipeline consistency; if not set, all later generation drifts and rework costs again. Set directly with create_drama/update_project_settings. ★visual_lock/art_bible should contain only image-level/world-level locks (shot language · environment · art direction · forbidden elements), **never pin costume/hairstyle/appearance details for specific characters**—the single source of truth for character appearance is the character profiles output by extract_assets (change via update_character); writing both inevitably conflicts, character sheet vs profile and turnaround vs visual lock, consistency gates reject by character sheet → turnarounds/shot frames get **structural consecutive rejection**, no number of rerolls can pass, pure wasted money. ★★【Era contract · free · must set before image generation for non-contemporary or surreal subjects】The worldview in setting_brief is **free text**: it only provides background and cannot constrain images; what can truly override visual lock is the **structured era contract**: use set_era_contract to set this episode tier (modern/republican/historical/fantasy/surreal), get_era_contract to read current value. **Unset means empty**—the platform can only stack prompt text to fight the model; modern objects entering ancient images and scene images drawn as another era are mostly caused by this being empty. ★Xianxia/fantasy/fairyland **must use fantasy, not historical**: historical requires researched realism and will judge glowing aura, floating terrain, nonhuman forms as \"era-inconsistent\", pulling images toward realistic ancient style. For an exception in one scene (e.g. a modern memory in a fantasy world), use update_scene era_contract override; scene-level overrides episode-level. ★★【Per-step review protocol · all free · main line preventing bad films, not optional】After each step output, review first, tell customer the conclusion verbatim, then proceed. **Five hard gates (otherwise 400 rejected; ④⑤ and agent QC below)**: ①After rewritten script → review_script (before extract_assets / generate_storyboards); ②After storyboards → review_storyboards (before generate_frames); ③After shot images → review_frames (before generate_videos). Each review returns review_token; pass it to downstream paid tools. Explain findings to customer item by item (code=issue type · shots=hit shot numbers · action=which tool to fix with); after fixing per action, **review again** before proceeding. If content changed after review → token auto-invalidates; one re-review is enough (free). error blocks by default; only if customer is explicitly informed and insists may you pass acknowledge_review:true (acknowledge_review only means the customer personally agreed; any execution mode requires explicit customer approval, autopilot included). In autopilot steps only whitelisted heuristic errors may carry auto_acknowledge:true (see 【Execution-mode master rules】). **Soft guidance (non-blocking but strongly recommended, also free)**: before images/videos run run_precheck (catches shots vendors will certainly reject, avoiding wasted credits)—★**to scan the whole drama, run run_drama_precheck first** (drama-level summary · free · read-only): get issue counts and attention per episode in one call (which episodes to fix first), prioritize by it, then run run_precheck on those episodes for itemized details; do not blind-scan episode by episode. Note its not_covered—drama-level skips the only lint that needs images, so \"0 issues for whole drama\" ≠ \"everything checked\". ★After findings, do not blindly edit yourself: plan_precheck_fix lets platform compute proposals → apply_precheck_fix persists them (which to accept; autopilot=accept all per execution mode: pro mode / unconfirmed plan / customer-controlled step → explain to customer and do only with customer approval, do not decide for them; autopilot step → do not ask customer, follow get_production_plan autopilot.default_decisions, platform records in get_autopilot_log); after storyboards run get_health_report; after character sheets are done, use get_characters to verify every appearing character has image/sheet; after frames, use get_storyboards to inspect frame_status and fail_reason/fail_hint (fix failed shots before proceeding; do not generate videos from bad frames); after videos likewise inspect video_status; before final cut use get_pipeline_status to confirm no missing shots. ★**Never just generate all the way through**: pushing without reviews amplifies issues at every layer and finally forces redoing the whole episode—every image/video retry is charged. Reviews are all free; catching early costs nothing. ★Changing costume is a structured binding edit: update_shot active_wardrobe_id (whole shot) / appearance_wardrobes (per-character in multi-character shots), can override or clear—editing text description does not change clothes, and customers need not change it on the web. ②【Production trunk · ordered, no skipping · ★storyboard before asset creation】set_script→rewrite_script→★review_script→extract_assets→storyboards (storyboard first · pure text shot breakdown)→★review_storyboards→★Script discipline (endpoint-enforced, cannot bypass): all raw material (synopsis/outline/finished script all count) goes into set_script and **must pass rewrite_script to produce an AI rewritten script**—pasting your own script directly into edit_rewritten_script to bypass rewrite will be 400 rejected (no rewritten script means no editable object); extract_assets likewise requires the rewritten script. All post-rewrite edits use the structured AI-output format: edit_rewritten_script (polish/correct), update_character, update_shot/replace_shot_dialogue—do not go back and replace the whole script or write another truth source in settings; dual sources of truth are the top cause of consistency accidents. ★★**After one successful rewrite, do not rerun rewrite_script**: it redoes the whole source, losing all current fixes, and the new version does not guarantee preserving old fixed parts (three-version tests drift back and forth). To fix, use edit_rewritten_script targeted edit (get_script full text → change only those scenes, copy the rest byte-identically → submit full script), free and seconds-level, deterministic; if rerun by mistake, recover previous with get_script(include_previous=1). generate_portraits_and_sheets (character sheets + turnarounds · create after storyboards: first use delete_character to remove appearing characters that **do not appear in any episode of the whole drama and are not intended for later episodes** before image generation—characters are drama-level; once deleted, frame assembly for every episode will no longer include them; this cannot be judged from this episode's storyboards alone, keep if unsure (one character sheet costs far less than losing the identity anchor in a later episode); the character sheet step generates images for **all undeleted appearing characters**, regardless of storyboard bindings, and all kept characters are charged; voiceover characters (char_type=voiceover narrator/phone voice) are not imaged and have no storyboard binding, **do not delete**, audio still needs them)→★generate_color_script (color script · unified grading)→assign_voices (assign voice types; no suitable narrator/character-library voice → design_voice from description, then set_character_voice after sample approval)→★quote_scene_images+generate_scene_images (empty scene plates · required before frames)→frames (default first frames only)→★tail_frame_plan (free · which shots need independent tail frames)→frames(frame_type=last_frame)→★chain_frames (seams · first dry_run:true)→★review_frames→videos→generate_tts→compose; ★★【Do not skip seams · complete tail frames before review_frames】After first/tail frames are ready, call chain_frames(dry_run:true, free) to see the platform's seam plan and estimated_points (copy free, reframe costs one image per seam); explain to customer and, after confirmation, execute without dry_run. Already chained seams are excluded, repeat calls do not double charge. ★After execution, reframe is **async image generation**: use get_jobs to watch the planned shots' first_frame jobs, wait until all pending/processing are done (for failed, inspect error_msg; use chain_shot_from for a single seam), then review_frames—the old first frame still exists so get_storyboards frame_status remains ready and cannot show whether the new image is running or failed. After get_jobs clears, use get_storyboards to check seam_state: replacement images rejected on promotion do not remain in get_jobs; that seam remains unchained (review_frames will also report seam_unchained), reconnect per its action. If you review before landing, you review old first frames; the token expires when the new first frame lands. Episodes generated shot-by-shot/batch often have not been auto-chained (get_storyboards seam_state=unchained); skipping causes no error—the cost is visual mismatch between shots and jump cuts throughout the final cut. ★★【Do not skip tail frames · frames are two passes】generate_frames defaults to first frames only. About 30% of shots have **end state ≠ start state** (large camera moves/object release/state change) and need an independent tail frame; the criterion is platform-side and cannot be guessed from storyboard text. Therefore after first frames, you must call the free tail_frame_plan once for a per-shot list, then fill frame_type=last_frame (shots_needing_last_frame in generate_frames response is this count; if not 0, do not go directly to review_frames). Skipping causes no error and does not block you—the cost is those shots only have a first-frame anchor when generating video, so the model improvises the end state: actions miss, large camera moves end back at the starting composition. Production observed 30 of 32 episodes generated only first frames; 23 still generated videos all the way. ★★【When tail frame is blocked by TERMINAL_DESC_GATE: edit text, do not retry】For shots reporting \"this shot is marked as state-changing but nowhere describes what the end looks like\", use update_shot to write **what the image looks like at the end** into that shot's last_frame_prompt, then regenerate the tail frame. ★Better: **avoid hitting it**—before tail frames, call get_storyboards once; terminal_desc_missing=true lists all such shots in the episode (free). Fill their last_frame_prompt first, then generate, with zero rejections. You can also query per shot via get_shot_prompts same field, but do not do that for dozens of shots. Retrying without adding description is ineffective—the vendor prompt has no terminal-state segment, so it still draws the starting pose and will be rejected again by terminal review, while each try is still charged (production observed tail-frame success 9.4% without terminal description, 40.2% with it). Only for shots that truly should be \"almost unchanged\" use generate_shot_frame allow_missing_terminal to bypass. ★★【Do not skip empty scene plates · this step is often missed by third parties】Scene images are **background anchors**: every shot frame in the same scene anchors to them. Frames can still be generated without plates, with no error and no blocking—the cost is **the first shot of each scene has no background anchor at all** (platform fallback image generation is \"when missing image detected, generate one in background\"; later shots in the same scene use it, but the triggering shot itself cannot wait for it), and the first shot is often the tone-setting shot; backgrounds also drift across later shots. It pairs with character sheets: character sheets anchor people, scene images anchor setting; whichever is missing drifts. Progress self-check: `get_pipeline_status` generate_scene_images step (completed/total); `review_storyboards` also reports scene_plate_missing before frames. ★★【Do not skip turnarounds · character sheet ≠ turnaround】A character sheet is a single-person single-image identity anchor; a turnaround is a multi-view turnaround generated by the platform from the character sheet, the root consistency anchor for shot frames/videos (angle changes · lighting changes · costumes mostly rely on it). Frames can still be generated with only character sheets and no error—the cost is character drift when angle changes and costumes differ every shot. Use generate_portraits_and_sheets for both steps (each call advances one step; after character sheets are complete, call again to generate turnarounds), or call generate_character_sheets after character sheets. Progress self-check: get_pipeline_status generate_character_sheets step (completed/total, portrait_only=characters with only character sheets). ★Customer-provided images: character sheet must be single person, single image, single angle, no text; scene image must be empty environment, no people, no overlaid text—set_character_portrait/upload_scene_image auto-check and reject noncompliance with 422. ★Do not create character images/prop sheets/motion templates before storyboards—storyboard is pure text and depends on no images; only after storyboards is the cast fixed, so delete non-appearing characters before images to save (motion templates must be after storyboards anyway). Paid steps follow the existing quote confirmation flow. Ads additionally need add_product+generate_product_sheet; MV flow is set_mv_lyrics→generate_mv_story→generate_mv_script (if no existing song: after set_mv_lyrics run suggest_mv_song_styles→quote_mv_song→generate_mv_song→get_mv_song→select_mv_song). ★★【④⑤ two new hard gates + agent hands-on QC】④Asset layer: after character sheets/turnarounds/scene images/prop images → review_assets (before generate_frames / generate_shot_frame; its token is asset_review_token and is passed together with the storyboard-layer review_token); ⑤Video and audio layer: after videos/voiceover/music → review_videos (before compose_episode); after final cut, run review_final_cut. ★After every review layer you must also **personally QC**: follow returned agent_qc, inspect each asset yourself (download images, sample video frames, read text), answer checklist items, submit via submit_qc_report; for gray-release dramas, a review_token without the report cannot enter the next step; report problems block by default just like error. Platform judges whether it exists; you judge whether it looks right and is correct. ★★【Single-shot path is also review-gated】: generate_shot_frame also requires storyboard-layer review_token; regenerate_shot_video also requires shot-image-layer review_token—do not expect single-shot tools to bypass reviews (production observed a workflow generating all 25 shots via single-shot frames without hitting any gate, and all final-cut rework was truly charged). Generating frames **does not** invalidate the storyboard-layer token (fingerprint only checks storyboard content); only changing storyboard content—update_shot / import / add-delete shots / change character bindings—requires one re-review (free, seconds). Generating one shot's frame invalidates the **shot-image-layer** token; before regenerate_shot_video for the next shot, just run review_frames once. ★★【For native-audio dramas, lock voices before batch video】When use_clip_audio=true (default), each shot's voice is sampled by that video vendor, and will drift if not locked; unifying later requires regenerating shot by shot. With customer-authorized source audio → clone_voice+set_character_voice before generate_videos; without it → for each speaking character, first use single-shot quote_regenerate_shot_video→regenerate_shot_video on a shot with relatively long dialogue (generate_videos has no per-shot parameters and only batch-fills missing videos; single-shot regeneration also works on shots with no video yet), use set_voice_anchor_from_shot to select the voice from that shot, then generate remaining shots. get_pipeline_status native_voice_anchor lists unanchored_speakers and stale_shots generated before locking that need regeneration. ★World concept image = required by default (improves whole-drama consistency; many third-party platforms skip it): after storyboards, call generate_world_concept by default; still follows quote confirmation (tell customer estimated credits and confirm before charging)—do not silently charge, and do not skip. ★★【Color script】generate_color_script unifies color grading for the whole film; do after storyboards and before frames. Text step has no quote_* and is usage-postpaid. Progress self-check: get_pipeline_status generate_color_script; review_storyboards reports color-script gaps. ★Motion templates are optional experimental: call generate_motion_templates (motion template extraction) only when customer explicitly requests, after storyboards; text step usage-postpaid. First/tail frames do not inject motion templates by default; missing templates need not be created and do not block images, videos, or final cut. Video templates may be cropped; delivery or benefit is not guaranteed. ★Scene Bible (detailed per-scene settings) order is **after scene images are generated**—refine based on generated scene images (no MCP tool yet; do on official site); do not do Scene Bible before scene images. ★Audio defaults to native video audio (use_clip_audio default on; skip TTS and use AI video's built-in audio): when creating drama/changing settings, AI should proactively tell customer \"default uses native video audio; set use_clip_audio false if TTS dubbing is needed\" and let customer choose. ★Default image model is ChatGPT Image 2.5 Flare (gpt-image-2.5-flare · unified style across drama): set image_model in create_drama/update_project_settings; default if omitted. Options: gpt-image-2.5-sunburst (same price · better Chinese glyphs and details)/gemini-3.1-flash-image (Banana 2 · 71 credits)/gemini-3-pro-image (Banana Pro · more detailed · 175 credits)/gemini-3.1-flash-lite-image (Banana 2 Lite · cheaper · 31 credits)/doubao-seedream-5-0-260128 (Seedream5.0); generate_frames can temporarily override for one run. ★2.5 charges by input volume (base 11 credits + 18 credits per reference image); Banana/Seedream are fixed-price—budget must account for many-reference shots. ★Four video engine options (drama-level · when AI creates drama, must proactively guide selection by drama and show price differences for customer decision): 【Selection tree】★Call get_production_menu first: whether each engine is currently available for realistic live-action / anime and other subject classes is decided by the availability it returns (unavailable entries carry customer_note and expected_until—relay them to the customer verbatim); do not assume from this description that any model is unavailable, and do not recommend models the menu marks unavailable. ①Realistic live-action drama→seedance-2.5 (strongest instruction following / face detail · 720p 212 credits/sec), or hailuo-3 when budget-sensitive (about 1/3 cost, 70 credits/sec · strong fidelity editing · can output 2K · but about 6 minutes per shot); ★After choosing, pass video_engine explicitly in create_drama / update_project_settings (the one the menu lists as available for this subject class)—if omitted, the platform only applies a style-based fallback stamp that is not guaranteed to be an engine the menu marks available; ②Stylized/animation/3D cartoon dramas · empty shots · product shots→wan3.0 (about 40% price, 84 credits/sec · max 30 sec · min 2 sec billing · about 2 minutes per shot), for urgent delivery use wan3.0-prime (126 credits/sec · about 1 minute); ③★Never choose wan3.0/prime for realistic live-action dramas—WAN output-side human-face review rejects consistently at 720p+, retries cannot fix; ④★★Use caution with wan3.0/prime for narrative dramas (dialogue, coherent story, stable shot rhythm needed): WAN will **hard-cut to new camera angles inside a single storyboard shot** (observed 11/12 shots with intra-shot cuts, vs seedance-2.5 only 1/6, hailuo-3 0/5); final-cut feel is \"image jumps around within one shot, cuts too fast\". This is weak vendor instruction following; prompt-level blocking cannot solve it (our negative constraints already included and tested ineffective). Only remedy after generation is regenerate with another engine. WAN suits fast short stylized/empty/product shots; for stable single-shot narrative choose seedance-2.5 or hailuo-3. After generation use scan_intra_shot_cuts to check; ④b★★Use caution with hailuo-3 for dialogue-heavy dramas (different from the previous \"intra-shot self-editing\"; this is about **whether all dialogue is spoken**): native-audio engine stops when the shot ends and may ad-lib; observed \"dialogue not fully spoken\" rate hailuo-3 **50%** (26 shots, all generated after 8-30 native-audio fix, so engine-inherent), seedance-2.5 **23%** (294 shots); wan3.0 has **insufficient sample size, untested** on this dimension (26 samples all before the same fix; only 2 after fix)—do not infer WAN is bad from this. When customer reports \"line was not finished\", first run scan_dialogue_coverage to segment causes; do not default to lengthening shots (observed that among shots with enough duration, 32% still did not speak all lines); ⑤★Shot duration control (all engines, especially obvious on WAN): keep each shot 3~5 sec. The longer the shot, the more freedom the model has—observed one 16-sec single shot (neighbors were 3~5 sec) changed scene 4 times inside the shot, a character disappeared for 4 sec then grew back from frame edge; customer perceives \"someone appeared out of nowhere\". For long performances, split into multiple short shots and connect with frame chaining; do not write single shots longer than 15 sec. 【Resolution decisions】Draft/iteration: WAN dramas 480p (42 credits/sec cheapest), others 720p; final delivery: seedance dramas 720p (HD tier discontinued), hailuo-3 dramas 1080p (=2K · 112 credits/sec), WAN dramas 1080p (168 credits/sec); hailuo-3 has no separate 480p tier (choosing it still bills as 768P). Set video_engine/video_resolution in create_drama/update_project_settings; ★both must be decided before video generation—switching does not retroactively change generated shots; mixing in one drama causes style/identity drift. ★Slow image generation ≠ failure: each image takes tens of seconds to minutes, a whole episode may take over ten minutes; poll get_storyboards for frame_status—pending=still generating (wait patiently, do not repeat generate_frames and waste credits), ready=done, failed=real failure. ★To change one shot's image / make a new character sheet take effect, use **single-shot regeneration generate_shot_frame** (platform automatically includes that shot's identity anchors · scene/prop references · style anchor, preserving whole-film consistency); generate_frames only batch-fills shots with **missing frames** and skips existing first frames (normal, not \"rejection\"). ★After first frames, call free tail_frame_plan to see which shots need independent tail frames, then batch-fill with frame_type=last_frame. After set_character_portrait, stale_frames in the response are shots polluted by the old image and must be regenerated shot by shot. ★Never use external tools to make first/tail frames and upload_shot_frame to \"change image\"—external images lack identity/style anchors, so characters/costumes/style will drift, which is the real source of bad films; upload_shot_frame is only for customer-owned real footage. ③【Optional enhancements · AI proactively informs customer · quote confirmation required】Art Bible generation / visual lock extraction / scene groups / lip sync / posters / sound effects / music / subtitle translation—these improve consistency/quality and are mostly charged. ★AI should proactively tell customer these are available and provide quotes (whether to run follows execution mode: pro mode / unconfirmed plan / customer-controlled step → explain to customer and do only with customer approval, do not decide for them; autopilot step → do not ask customer, follow get_production_plan autopilot.default_decisions, platform records in get_autopilot_log); neither silently skip nor charge without permission. ★Two locking rules: ①**Aspect ratio** is set at create_drama, locked at drama level; all later images/videos/final cut use it, **do not change midstream** (changing makes generated content aspect-inconsistent and drift); default 9:16 if unset. ②**5-7 sec per shot in shot breakdown is normal duration optimized for AI video generation**; do not misjudge as \"shots too long\" and rebreak—generate_storyboards **replaces all storyboards in the episode** and wastes generated images; backend blocks if storyboards already exist and requires confirm_replace. ★Rewrite fidelity (default auto smart routing): when set_script source is **already in script form** (scene headings/dialogue-line structure), rewrite_script automatically uses two-pass fidelity—customer dialogue is locked line by line by a machine gate (missing any line triggers internal rejection and redo), AI never adds plot; dramaturgical gaps (hooks/emotional anchors) are not auto-filled, but written into dramaturgy_suggestions returned by get_script (whether to adopt follows execution mode: pro mode / unconfirmed plan / customer-controlled step → explain to customer and do only with customer approval, do not decide for them; autopilot step → do not ask customer, follow get_production_plan autopilot.default_decisions, platform records in get_autopilot_log). If source is novel/outline, automatically uses creative rewrite (AI lays hooks and emotional points). Both customer types get appropriate handling with no manual switch. To override default, use update_project_settings rewrite_pipeline(auto/two_pass/single_forced) and fidelity_enforce(1=fidelity hard gate). If customer says \"AI changed my script off-track\": ①confirm full source was put into set_script; ②set rewrite_pipeline to two_pass to force fidelity, then rerun rewrite_script; ③after customer confirms character appearance, use update_character profile_locked=1 to lock profile and prevent later extraction from overwriting appearance and changing the face in character sheets. ★If customer wants to rewrite on **another AI platform** (common: third-party model judges our rewrite \"changed too much\", customer wants to control change degree): first call get_script_format_spec to get the platform-accepted format contract (markdown template + external_prompt directly forwardable to external model + blank skeleton), send external_prompt+template+customer source to that platform; after receiving organized script, **first call check_script_format to self-check** (free · rule-only · no model). Once errors are zero, two exits: 【A】adopt_external_script to directly adopt as shootable script (our AI not involved · seconds-level · no charge, requires external script includes production-layer annotations); 【B】set_script back into source slot + rewrite_script with two-pass fidelity (choose this when external only handles plot layer; platform fills annotations; customer-written annotations on this path are stripped and rewritten). ★Do not put external organized script into edit_rewritten_script (400 rejected if rewrite has never run), and do not skip check_script_format and ingest directly—noncompliant scripts are still blocked by gates and waste a run. ★★If the customer provides a **finished storyboard table** (per-shot duration/shot size/camera movement), neither path above applies—use import_storyboard_table directly to create storyboards, skipping rewrite and shot breakdown. The rewrite path strips duration/shot size/camera movement/STYLE/text cards as non-plot content (production observed 8 shots 36 sec → 20 shots 109 sec). ★Both import channels are deterministic—even wrong content is created as-is, so **get contract first, then self-check, then import**: storyboard table path is get_storyboard_table_spec → check_storyboard_table → import_storyboard_table; if customer's own tools/spreadsheets can export structured data, or external AI can directly produce JSON, use get_bulk_import_spec → check_bulk_import → bulk_import_storyboards (creates storyboards only; characters/scenes/props are extracted by extract_assets from the script; import binds existing ones by name—extract first, then import). Both imports default with auto_complete (backend AI fills professional fields + image/video prompts, text step postpaid; inform customer before call): if receipt started=true, poll get_autofill_status until done, then review_storyboards—autofill changes shots, so any earlier review token expires. Use get_pipeline_status for progress (returns project-type-specific steps). ★★【Opening plan · first thing after creating drama · free】First ask basic video parameters (project type/aspect ratio/episode count × minutes per episode/subject: realistic_human · stylized anime · product empty-shot/native audio or dubbing), then call get_production_menu to get the **currently available** three package tiers (effect notes + real-time estimate including text steps + recommended budget + exclusions) and explain to customer—do not recommend models from memory; some models may be temporarily unavailable for certain subjects, menu is already filtered. Then let customer choose execution mode (pro controls every step / auto one-click final cut / custom choose autopilot steps), budget budget_points, and automatic overrun cap (0/10/20/30/50%): **default recommendation** budget=selected tier's recommended_budget (upper bound excluding text ×1.2 plus text estimate), overrun=menu recommended_overrun_pct (30%)—QC regenerations are not in the upper bound and are covered by overrun. Recommendations are only recommendations; final numbers are set by customer, and if customer changes them, use customer's values. Explain the summary clearly; only after explicit customer agreement call confirm_production_plan(customer_confirmed:true)—never confirm for the customer. For dramas with confirmed plans: before paid dispatch, platform rechecks model availability and that quote upper bound ≤ budget×(1+overrun%); if blocked (402 BUDGET_WOULD_EXCEED / 409 MODEL_UNAVAILABLE), stop and ask customer; do not change model or budget yourself. confirm returning 403 PRODUCTION_PLAN_NOT_OPEN = this drama is not enabled (gray release); follow the original step-by-step confirmation flow.",
7
7
  "get_script": "Read the raw episode content + AI-rewritten shootable script + rewrite status + dramaturgy_suggestions (dramatic gaps AI identified but did not auto-fill in two-step fidelity mode—hooks/emotional anchors; whether to adopt them depends on execution mode: professional mode / unconfirmed plan / client-controlled step → explain to client and do only after client agrees; do not decide for client; hosted step → do not ask client, follow get_production_plan autopilot.default_decisions, platform records it in get_autopilot_log; ignoring them does not affect the production pipeline). Free. ★Revision workflow: first use this tool to retrieve the full rewritten_script → edit only the scenes the client wants changed → submit with edit_rewritten_script (do not rerun rewrite). previous_script_available=true means a previous-version snapshot exists; pass include_previous=1 to retrieve the full previous version (recovery path for accidental rerun/bad edits; omitted by default to avoid doubling the response).",
8
8
  "edit_rewritten_script": "★Preferred channel for revisions: edit the AI-rewritten shootable script(write script_content). Free, instant, deterministic—**after one successful rewrite, all modifications go here; do not rerun rewrite_script**(that restarts from raw source, loses fixes, may revert improvements). ★Point-edit method(3 steps, do not skip): ① get_script to fetch **full** rewritten_script; ② **only edit target scenes**—within them change wording/split scenes/delete wrong motif/add [SFX]/move hand-held objects to [道具], and copy all other scenes byte-for-byte including punctuation; ③ submit the **entire** modified script here(this is full overwrite; do not send snippets or let model “also polish” untouched parts). Typical fixes: scene too long/split needed, dialogue line breaks across shots, wrong time/era, motif attached to scene without element, [角色档案] clothing mixed with held object, missing [SFX]/[BGM]. Only edits AI-rewritten output; if rewrite_script has not run, 400—this is not a bypass. Recover with get_script(include_previous=1). Free.",
9
9
  "get_script_format_spec": "Fetch the platform-accepted **script format contract**: full markdown template + external_prompt(can forward verbatim to any external AI) + skeleton(with 〈…〉 placeholders) + filled_example. Free · static · no credits. ★Since template v2, **production-layer annotations** are included([角色档案] six-part format/[外貌] line prefix/[道具]/[SFX][BGM][VFX]/motif/fourth lighting segment in scene header/end metadata). v1 only covered story layer, causing external AI drafts to fail checks. When forwarding, **include filled_example**—LLM format accuracy depends on complete examples, not rules. ★Use when client wants to control rewrite degree, use another AI platform, or says “your AI changed my script too much”. ★Two exits(ask client first; determines whether external AI should write annotations): 【A Direct adoption】external AI produces complete script **with production annotations** → check_script_format all green → adopt_external_script as shootable script, no StarReel AI, instant, free, client [角色档案] preserved. For clients requiring zero changes. 【B Send to AI rewrite】external AI produces story layer only(**no annotations**) → set_script as raw → rewrite_script two-pass fidelity to add annotations. ★In B, client-written annotations **are stripped and rebuilt by G1**, so tell external AI not to write them. ★Workflow: ① get external_prompt + filled_example + markdown and send with raw script to other platform; ② run check_script_format on returned draft until errors=0; ③ use adopt_external_script for A, or set_script + rewrite_script for B. ★Contract includes scene header three-part format/location naming/environment first sentence three elements/first-appearance appearance line/sound line prefixes/single-line dialogue length/ban on camera moves and end-credit edit markers, plus four fidelity requirements(keep dialogue line by line, do not drop characters, do not drop action beats, do not add scenes) already in external_prompt.",
@@ -16,7 +16,7 @@
16
16
  "bulk_import_storyboards": "Create/update this episode’s storyboards from one structured JSON payload in a single pass(dedupe/update by storyboard_number). **Does not create characters/scenes/props**—they are extracted from the script by extract_assets; import only binds by name to existing ones(receipt characters_unmatched / char_refs_unresolved lists unbound refs; extract first, then import). Free · deterministic · no AI call. ★Three steps: ① get_bulk_import_spec for contract and finished example; ② check_bulk_import until errors=0; ③ call this tool. ★mode=merge(default) keeps shots not mentioned; mode=replace replaces **all** storyboards in this episode(old shots and generated images/videos are archived and recoverable, not auto-relinked)—replace requires explicit client consent in any execution mode, including autopilot. ★If you want to write image_prompt / video_prompt yourself, put them on each shot; they are used **verbatim and not overwritten**. Empty shots get platform-built base descriptions(receipt base_prompts_built says how many); after import use get_shot_prompts to read and update_shot to edit. (frame_visual_contract is an internal frame contract and ignored on import.) ★After import: speech timing may raise durations for shots whose dialogue does not fit(receipt speech_duration_raised / speech_duration_overflow). ★After import, **auto-completion is on by default**(auto_complete, follows the drama’s \"auto-complete auxiliary assets\" switch, default on): one background batch fills empty professional fields across all shots(AI, fill-empty only) and expands full image/video prompts only for shots with no image_prompt that used a platform base description(client-written prompts are never overwritten; receipt auto_complete.prompt_shots). Text step is postpaid by token; **tell the client before calling**. If you only want import, pass auto_complete:false(**cost: no composition contract is generated**—visible headcount, subject type character/part/prop, and shot size can only be inferred from text; hand insert shots and off-screen narration shots are easily rendered/audited as full characters; receipt contract_coverage lists missing shots **and gives current viable fixes; trust its note**—when contract auto-complete is enabled it calls autofill_storyboards). If receipt started=true, poll get_autofill_status until done **before** review_storyboards.",
17
17
  "get_autofill_status": "Check this episode’s background completion batch(import auto_complete / autofill_storyboards AI one-click fill-empty): { status: running|done|failed|idle, total, done, ok, fail }. Free. ★After import with auto-complete, wait for status=done before review_storyboards / generate_frames—the batch rewrites shot fields one by one, so any earlier review_token becomes invalid when content changes. Each shot takes tens of seconds; a full episode can take 10+ minutes. Poll interval ≥10 seconds; do not tight-loop. If status=failed or fail>0, inspect fail count; a few failed shots can be rerun with autofill_storyboards(fill-empty only; already-filled fields are not charged again).",
18
18
  "adopt_external_script": "[Exit A] Adopt a draft produced by an external AI from the template **directly as the shootable script**; StarReel AI does not intervene. Seconds, no charge. ★Hard pre-gate: server first runs a format self-check; non-empty errors return 400 with the list unchanged—use check_script_format until fully green before this tool. warnings do not block(same strictness as default lenient save_script). ★When to use: client demands \"do not change a single word\" and the external AI already produced a complete draft with production-layer annotations. ★When **not** to use: client only organized the story layer(no [角色档案]/[外貌])—direct adoption would leave downstream without character profiles and appearance anchors; use Exit B(set_script + rewrite_script) so the platform adds annotations. ★Difference from edit_rewritten_script: that is a point-edit channel for an **existing rewritten script**(400 if rewrite was never run). This tool is the **first script ingestion** channel, only for \"the script was prepared externally\". It is not a backdoor around rewriting—the server gate decides; if it fails, it fails. Old script is saved into previous_script; if adopted by mistake, recover with get_script(include_previous=1).",
19
- "extract_assets": "Extract characters/scenes/props from the shootable script (writes three tables in one pass; the foundation for downstream consistency). Backend async; text step postpaid, no arrears. Prerequisite: rewrite_script has produced the rewritten script (mandatory for new projects; character profiles must be extracted from the rewritten script to stay self-consistent with script and storyboards). ★Minute-level backend task; use get_run_status to decide whether it is still running; do not treat 60 seconds as failure.\n★【Rewritten-script review hard gate · free】Before this step, you must call review_script first: report every returned finding to the customer verbatim (each with code=issue type, shots=hit shot numbers, action=which tool to use to fix), then pass review_token into this tool. Skipping review will be rejected with 400. If content changed after review → token auto-invalidates; review again once (still free). If there is error, block by default; only if the customer is informed and insists on continuing as-is may you pass acknowledge_review:true—pushing forward with known issues will likely produce unusable footage and is still charged normally (acknowledge_review only means the customer personally agreed; every execution mode still requires explicit customer consent, including managed mode); in managed steps, only allowlisted heuristic error can pass with auto_acknowledge:true (platform decides; if not allowlisted returns 400 AUTOPILOT_MUST_ASK:must_ask_customer=true then pause and ask customer, false = self-fix per action then review again). ★Gray-release dramas also require you (agent) to QC personally: inspect assets item by item per agent_qc returned by review_script, answer the checklist, and submit via submit_qc_report before this token can be used (not submitted → 400 agent_qc_required; bad report → blocked by default like error).★★【Execution-mode master rules · read before starting】For dramas with a confirmed opening plan, first get_production_plan and read autopilot: pro mode (pro, or autopilot.enabled=false, or no confirmed plan) → every later 'tell customer, proceed only after customer agrees' is literal; one-click (auto) / hybrid (custom) managed steps → do not ask customer: follow get_pipeline_status next_action in order, self-confirm quotes within the hard budget cap, after each layer still run review_* + agent QC, and let review/QC autopilot.next_step tell you how to proceed at this layer (allowlisted error with auto_acknowledge:true / which self-fix round / pause to ask customer); for choices follow autopilot.default_decisions; autopilot.never_auto_actions(mode=replace, deleting assets, overwriting customer-uploaded images, allow_era_ref_conflict, cloning voices, delivery acceptance) always require customer consent in every mode. ★In managed steps, regenerating frames for the same shot (generate_shot_frame) max 3 rounds, regenerating video (regenerate_shot_video / edit_video_shot) max 3 times; at the limit the platform returns 409 AUTOPILOT_SHOT_REGEN_LIMIT (not charged)—do not bypass with another tool; stop and ask customer: if customer approves more, quote normally and pass customer_approved_more_regens:true when generating (grants another limit); if customer accepts current state, continue, and pass acknowledge_review:true on the next paid call to record confirmation. 402 BUDGET_WOULD_EXCEED / 409 MODEL_UNAVAILABLE / 409 AUTOPILOT_SHOT_REGEN_LIMIT / 400 AUTOPILOT_MUST_ASK with must_ask_customer=true / non-empty pending_questions → pause and ask the customer the pending_questions from get_autopilot_log **summarized all at once**; customer-controlled steps follow pro mode. After final output, deliver to customer using the get_autopilot_log report. ★Three-tier execution strategy (do not mix the three when asking customer):①【Basic project settings · free · mandatory foundation · set when creating drama, do not create an empty shell】project_type/setting_brief(worldview · ERA LOCK)/ethnicity/aspect ratio resolution, plus consistency anchors cinematography_prompt(photography DNA)·art_bible(art bible)·visual_lock(visual lock)—all free, foundation for full-pipeline consistency; if not set properly, all later generation drifts and rework costs again. Set directly via create_drama/update_project_settings. ★visual_lock/art_bible only write image-level/world-level locks (shot language · environment · art tone · forbidden elements), **never pin clothing/hairstyle/appearance details for specific characters**—the single source of truth for character appearance is the character profiles produced by extract_assets (change via update_character); writing both places inevitably conflicts, character sheet vs profile, concept image vs visual lock, consistency gate rejects by character sheet → concept images/shot frames get **structurally rejected in chains**, no amount of rerolls passes, pure waste.★★【Era contract · free · required before image generation for non-modern subjects】The worldview in setting_brief is **free text**; it can provide background but cannot constrain images. The real override over visual_lock is the **structured era contract**: use set_era_contract to set this episode’s tier (modern/republican/historical/fantasy), get_era_contract to read current value. **Unset means empty**—the platform can only rely on prompt text to fight drift; modern objects entering ancient images or scene images drawn in the wrong era is usually caused by this being empty. ★Xianxia/fantasy/immortal-realm content **must use fantasy, not historical**: historical requires textual realistic accuracy and will classify glowing aura, floating landforms, and non-human transformations as 'era-inconsistent', pulling images toward realistic ancient style. To make an exception for one scene (e.g. a modern flashback inside a fantasy world), use update_scene era_contract to override at scene level; scene-level beats episode-level.★★【Per-stage review protocol · all free · main line to prevent unusable film, not optional】After every stage output, review first, report conclusions verbatim to customer, then proceed. **Five hard gates (not passing causes 400; ④⑤ and agent QC below)**:① after rewritten script → review_script (before extract_assets / generate_storyboards);② after storyboards → review_storyboards (before generate_frames);③ after shot images → review_frames (before generate_videos). Each review returns review_token; pass it with downstream paid tools; explain findings one by one to customer (code=issue type · shots=hit shot numbers · action=which tool to fix), fix per action, then **review again** before proceeding. If content changed after review → token auto-invalidates; review once again (free). If error exists, block by default; only if customer explicitly understands and insists may pass acknowledge_review:true (acknowledge_review only means customer personally agreed; every execution mode still needs explicit customer consent, including managed mode); in managed steps, only allowlisted heuristic error can pass auto_acknowledge:true (see 【Execution-mode master rules】). **Soft guidance (non-blocking but strongly recommended, also free)**: before image/video generation run run_precheck (catches shots vendors will definitely reject, preventing wasted credits)—★**to run whole-drama first use run_drama_precheck** (drama-level summary · free · read-only): get issue counts per episode and attention (which episodes to fix first), prioritize by it, then run run_precheck on those episodes for details; do not blindly scan episode by episode. Note not_covered—drama-level skips the only lint that requires images, so '0 whole-drama issues' ≠ 'everything checked'. ★After findings, do not blindly edit yourself: plan_precheck_fix lets platform compute proposals → apply_precheck_fix writes them (choose which to adopt; managed=adopt all per execution mode: pro mode / no confirmed plan / this step customer-controlled → tell customer and proceed only after consent; do not decide for customer; managed step → do not ask, follow get_production_plan autopilot.default_decisions, platform logs in get_autopilot_log); after storyboards run get_health_report; after character sheets use get_characters to verify every appearing character has image/sheet; after frames use get_storyboards to inspect frame_status and fail_reason/fail_hint (fix failed shots before continuing; do not make video from bad frames); after videos inspect video_status similarly; before final cut use get_pipeline_status to confirm no missing shots. ★**Never generate straight through**: pushing layer after layer without review amplifies issues at every layer, and the whole episode may need redoing—every repeated image/video generation is real charged. Reviews are all free; catching issues costs nothing. ★Clothing changes are structured bindings: update_shot active_wardrobe_id (whole shot) / appearance_wardrobes (multi-character per role), can override or clear—editing text descriptions does not change clothes, and do not send customer to web UI.②【Production mainline · sequential, no skipping · ★storyboards before assets】set_script→rewrite_script→★review_script→extract_assets→storyboards(first storyboards · pure-text shot breakdown)→★review_storyboards→★Script discipline (endpoint-enforced, cannot bypass): all raw material (synopsis/outline/finished script all count) goes into set_script, **must go through rewrite_script to produce AI rewritten script**—pasting your own finished script directly into edit_rewritten_script to bypass rewrite will be rejected 400 (no rewritten script means nothing to edit); extract_assets likewise requires the rewritten script. All post-rewrite changes must use the structured format of AI output: edit script via edit_rewritten_script (polish/correct), character profiles via update_character, storyboards via update_shot/replace_shot_dialogue—do not go back and replace the whole script or write another truth source in settings; dueling truth sources are the top cause of consistency failures.★★**After rewrite_script succeeds once, do not rerun rewrite_script**: it restarts from the original full manuscript, discarding all current edits, and the new version is not guaranteed to preserve prior fixes (three-version tests oscillate). To fix, use edit_rewritten_script point edits (get_script full text → change only those scenes, copy the rest verbatim → submit whole text), free, seconds-level, deterministic; if rerun by mistake use get_script(include_previous=1) to recover previous version. generate_portraits_and_sheets(character sheet + concept images · build after storyboards: first use delete_character to delete appearing characters who **do not appear in any episode of the whole drama and are not planned for later episodes** before image generation—characters are drama-level; once deleted, no episode’s frame assembly includes them; this cannot be judged from current episode storyboards alone, keep if unsure (one character sheet costs far less than losing identity anchors in a later episode); the character sheet step generates images for **all undeleted appearing characters**, ignoring storyboard bindings, so kept characters are charged normally; voiceover characters (char_type=voiceover narrators/phone voices) are not image-generated and have no storyboard binding; **do not delete** them, dubbing relies on them)→★generate_color_script(color script · unified grading)→assign_voices(assign voice types; if narrator/character library has no fit → design_voice by description, then set_character_voice after sample approval)→★quote_scene_images+generate_scene_images(empty scene plates · required before frames)→frames(default first frames only)→★tail_frame_plan(free · which shots need independent last frames)→frames(frame_type=last_frame)→★chain_frames(seams · dry_run:true first)→★review_frames→videos→generate_tts→compose;★★【Do not skip seams · after last-frame completion, before review_frames】After first/last frames are ready, call chain_frames(dry_run:true, free) to view platform seam plan and estimated_points (copy free, reframe one image per seam), tell customer and execute without dry_run after confirmation; already chained seams are not planned, repeated calls do not charge again. ★After execution, reframe is **async image generation**: use get_jobs to watch first_frame generation rows for planned shots; wait until all pending/processing finish (failed: check error_msg; use chain_shot_from to rechains a single seam), then review_frames—while old first frame remains, get_storyboards frame_status is still ready, so it cannot show whether the new image is generating or failed. After get_jobs is clear, use get_storyboards to verify seam_state: replacement images rejected from promotion will not remain in get_jobs; that seam remains unchained (review_frames also reports seam_unchained); rechains per its action. If you review before landing, you reviewed old first frames; the token becomes invalid after new first frames land. Episodes generated shot-by-shot/batch likely were not auto-chained (get_storyboards seam_state=unchained means so); skipping does not error—the cost is mismatch between adjacent shots and jump cuts throughout final cut.★★【Do not skip last frames · frames are two passes】generate_frames defaults to first frames only. About 30% of shots have **end state ≠ start state** (large camera moves/object released/state changes) and need an independent last frame; the criterion is platform-side and cannot be guessed from storyboard text—therefore after first frames finish, you must call the free tail_frame_plan once to get per-shot list, then fill frame_type=last_frame (shots_needing_last_frame in generate_frames response is this count; if not 0 do not go straight to review_frames). Skipping does not error or block—the cost is that videos for those shots have only one anchor, so the model invents the end state: actions fail, large camera moves end back at the starting composition. Production tests: in 32 episodes, 30 generated only first frames for the whole episode, and 23 went all the way through video.★★【When last frame is blocked by TERMINAL_DESC_GATE: edit text, do not retry】For shots reporting 'this shot is marked as state-changing, but nowhere describes what it looks like at the end', use update_shot to write **what the image looks like at the end** into that shot’s last_frame_prompt, then regenerate last frame. ★Better: **avoid hitting it**—before last-frame generation, first inspect get_storyboards; shots with terminal_desc_missing=true are listed for the whole episode at once (free), fill their last_frame_prompt before generating and avoid any rejection. Per-shot query also exists (get_shot_prompts same field), but do not do that for dozens of shots. Retrying without filling the description is useless—the vendor prompt has no terminal-state section, so it still draws the first-frame pose and will be rejected again by terminal review, and each attempt is charged normally (production tests: last-frame success 9.4% without terminal description, 40.2% with it). Only use generate_shot_frame allow_missing_terminal for shots that truly should be 'almost unchanged'.★★【Do not skip empty scene plates · this step is often missed by third parties】Scene images are **background anchors**: every shot frame in the same scene anchors on it. Frames can still generate without plates, with no error and no block—the cost is **the first shot of every scene has no background anchor at all** (platform fallback is 'if missing image is discovered, generate one in background'; that plate is used by subsequent shots in the same scene, but the triggering first shot cannot wait for it), and the first shot is often the tone-setter; later backgrounds drift too. It is paired with character sheets: character sheets anchor people, scene images anchor locations; whichever is missing drifts. Progress self-check: get_pipeline_status generate_scene_images step (completed/total); review_storyboards also reports scene_plate_missing before frame generation.★★【Do not skip concept images · character sheet ≠ concept image】A character sheet is a single-person identity anchor; concept image is the platform-generated multi-angle turnaround from the character sheet, the root consistency anchor for shot frames/videos (angles, lighting, clothing rely on it). Frames can still generate with only character sheets, with no error—the cost is characters drift when angle changes and clothing differs every shot. Use generate_portraits_and_sheets for one-click two-step (each call advances one step; after character sheets are complete, call again to create concept images), or generate_character_sheets after character sheets. Progress self-check: get_pipeline_status generate_character_sheets step (completed/total, portrait_only=characters with character sheet only). ★Customer images: character sheet must be single person, single image, single angle, no text; scene image must be empty location with no people and no overlaid text—set_character_portrait/upload_scene_image auto-checks and rejects invalid with 422. ★Do not create character visuals/prop concept images/action templates before storyboards—storyboards are pure text and do not depend on any images; after storyboards the cast is known, delete non-appearing characters before image generation to save cost (action templates must be after storyboards anyway). Paid steps follow existing quote confirmation flow. Ads additionally need add_product+generate_product_sheet; MV uses set_mv_lyrics→generate_mv_story→generate_mv_script (if no finished song: after set_mv_lyrics first suggest_mv_song_styles→quote_mv_song→generate_mv_song→get_mv_song→select_mv_song).★★【④⑤ two new hard gates + agent personal QC】④Asset layer: after character sheets/concept images/scene images/prop images finish → review_assets (before generate_frames / generate_shot_frame; its token is asset_review_token and passed together with storyboard-layer review_token);⑤Video and dubbing layer: after video/dubbing/music finish → review_videos (before compose_episode); after final cut, run review_final_cut. ★After every review layer you must also **personally QC**: inspect assets item by item per returned agent_qc (download images, sample video frames, read text), answer checklist item by item, submit via submit_qc_report; for gray-release dramas, a review_token cannot enter the next step without the report; bad report is blocked by default like error. Platform judges existence; you judge likeness and correctness.★★【Single-shot path is also gated by reviews】: generate_shot_frame also requires storyboard-layer review_token; regenerate_shot_video also requires shot-image-layer review_token—do not expect single-shot tools to bypass review (production observed a workflow generating all 25 shots with single-shot frame tools and no gates; all final rework was fully charged). Generated frames **do not** invalidate the storyboard-layer token (fingerprint only covers storyboard content); only storyboard content edits—update_shot / import / add-delete shots / change character bindings—require one more review (free, seconds). Generating one shot’s frames invalidates the **shot-image-layer** token; before regenerating the next shot video, review_frames once.★★【For native-audio dramas, lock voices before batch video】When use_clip_audio=true(default), each shot’s voice is sampled independently by the video vendor; if not locked it will drift, and unifying after the fact requires per-shot regeneration. If customer-authorized voice source exists → clone_voice+set_character_voice before generate_videos; if not → for each speaking character first use single-shot quote_regenerate_shot_video→regenerate_shot_video on a shot with longer dialogue (generate_videos has no per-shot parameters and only batch-fills missing-video shots; single-shot regeneration also works for shots without video), then use set_voice_anchor_from_shot to select the voice from that shot, then generate remaining shots. get_pipeline_status native_voice_anchor lists unanchored_speakers not yet locked and stale_shots generated before locking that need regeneration. ★Worldview concept image = required by default (improves whole-drama consistency; many third-party platforms miss it): after storyboards, call generate_world_concept by default; still follows quote confirmation (tell customer estimated credits, confirm before charging)—do not charge silently and do not skip.★★【Color script】generate_color_script unifies grading across the whole film; run after storyboards and before frames; text step has no quote_*, postpaid by usage. Progress self-check: get_pipeline_status generate_color_script; review_storyboards reports color-script gaps. ★Action templates are optional experimental: call generate_motion_templates(action template extraction) after storyboards only if customer explicitly requests; text step postpaid by usage. First/last frames do not inject action templates by default; missing templates need not be made up and do not block image/video/final cut. Video templates may be cropped; delivery or quality gain is not guaranteed. ★Scene Bible(detailed per-scene setting) comes **after scene image generation**—refine based on generated scene images (no MCP tool yet; do on official site); do not make Scene Bible before scene images. ★Audio defaults to video native audio (use_clip_audio default on; skip TTS and use AI video’s built-in audio): when creating/updating drama settings, AI should proactively tell customer 'default uses video native audio; set use_clip_audio false if TTS dubbing is needed' and let customer choose. ★Default image model is ChatGPT Image 2.5 Flare(gpt-image-2.5-flare · unified whole-drama style): set image_model in create_drama/update_project_settings; omitted means default. Options: gpt-image-2.5-sunburst(same price · better Chinese glyphs/details)/gemini-3.1-flash-image(Banana 2 · 71 credits)/gemini-3-pro-image(Banana Pro · finer · 175 credits)/gemini-3.1-flash-lite-image(Banana 2 Lite · cheap · 31 credits)/doubao-seedream-5-0-260128(Seedream5.0); generate_frames can temporarily override one run. ★2.5 charges by input volume (base 11 credits + 18 credits per reference image); Banana/Seedream are flat price—shots with many reference images must include this in budget. ★Four video engine choices (drama-level · when AI creates a drama it must proactively guide engine choice by drama type and quote price differences for customer decision):【Decision tree】★Call get_production_menu first: whether each engine is currently available for realistic live-action / anime and other subject classes is decided by the availability it returns (unavailable entries carry customer_note and expected_until—relay them to the customer verbatim); do not assume from this description that any model is unavailable, and do not recommend models the menu marks unavailable. ①Realistic live-action drama→seedance-2.5 (strongest instruction following / face detail · 720p 212 credits/sec), or hailuo-3 when budget-sensitive (about 1/3 cost, 70 credits/sec · strong fidelity editing · can output 2K · but about 6 minutes per shot); ★After choosing, pass video_engine explicitly in create_drama / update_project_settings (the one the menu lists as available for this subject class)—if omitted, the platform only applies a style-based fallback stamp that is not guaranteed to be an engine the menu marks available; ②Stylized/animation/3D cartoon dramas · empty shots · product shots→wan3.0(about 40% price, 84 credits/sec · max 30 sec · minimum 2 sec billing · about 2 minutes per shot), use wan3.0-prime for rush delivery (126 credits/sec · about 1 minute);③★Never choose wan3.0/prime for realistic live-action dramas—WAN output-side human-face review consistently rejects at 720p+, retry cannot fix;④★★For narrative dramas (dialogue, continuous story, stable shot rhythm), choose wan3.0/prime cautiously: WAN may **hard-cut camera positions inside a single storyboard shot** (tests: 11/12 shots had intra-shot jump cuts, versus seedance-2.5 1/6 and hailuo-3 0/5); final cut feels like 'the image jumps around within one shot, cuts too fast'. This is weak vendor instruction following and cannot be blocked at prompt level (our negative constraints are already included and tested ineffective); afterwards the only fix is regenerating with another engine. WAN fits stylized/empty/product shots that are inherently short and fast; for stable single-shot narrative choose seedance-2.5 or hailuo-3. After generation use scan_intra_shot_cuts to check;④b★★Dialogue-heavy dramas should choose hailuo-3 cautiously (different from above 'intra-shot self-cut'; this is about **whether all lines are spoken**): native-audio engine stops speaking at shot end and may ad-lib; tests show 'dialogue not fully spoken' rates hailuo-3 **50%** (26 shots, all generated after 8-30 native-audio repair, so engine itself), seedance-2.5 **23%** (294 shots); wan3.0 sample **insufficient, untested** for this dimension (26 samples all before same repair, only 2 after)—do not infer WAN is bad. When customer reports 'line not finished', first run scan_dialogue_coverage by family; do not default to lengthening shots (even among sufficiently long shots, 32% still missed full lines);⑤★Shot length control (all engines, especially WAN): keep each shot 3~5 seconds. The longer the shot, the more room the model has to improvise—test: one 16-second shot (neighbors all 3~5 sec) changed scenes 4 times within the shot; character disappeared for 4 sec then grew back from frame edge; customer sees 'a person appeared from nowhere'. For long performances, split into multiple short shots and connect with frame chains; do not write single shots over 15 sec;【Resolution decision】Draft/iteration: WAN dramas 480p (42 credits/sec cheapest), others 720p; final delivery: seedance dramas 720p (HD tier discontinued), hailuo-3 dramas 1080p(=2K · 112 credits/sec), WAN dramas 1080p(168 credits/sec); hailuo-3 has no separate 480p tier (if selected, billed as 768P); set video_engine/video_resolution in create_drama/update_project_settings, ★must be decided before video generation—switching does not retroactively affect generated shots, and mixing within one drama causes style/identity drift. ★Slow image generation ≠ failure: each image takes tens of seconds to minutes; whole episode may take 10+ minutes. Poll get_storyboards frame_status—pending=still generating (wait patiently; do not call generate_frames again and waste credits), ready=done, failed=real failure. ★To change one shot’s image / make new character sheet take effect, use **single-shot regeneration generate_shot_frame** (platform automatically includes identity anchors, scene/prop references, style anchors for that shot to preserve whole-film consistency); generate_frames only batch-fills shots with **missing frames** and skips shots that already have first frames (normal, not 'rejected'). ★After first frames finish, call free tail_frame_plan to see which shots need independent last frames, then batch-fill with frame_type=last_frame. After changing a character sheet (set_character_portrait), stale_frames in the response are shots polluted by the old image and must be regenerated shot by shot. ★Never use external tools to make first/last frames and upload_shot_frame to 'change the image'—external images lack identity/style anchors, so characters/clothing/style will drift; that is the real source of unusable film. upload_shot_frame is only for customer-owned real footage.③【Optional enhancements · AI proactively informs customer · do only after quote confirmation】Art bible generation / visual lock extraction / scene groups / lip sync / posters / sound effects / music / subtitle translation—these improve consistency/quality and are mostly paid. ★AI should proactively tell customer these are available and provide quote (whether to run depends on execution mode: pro mode / no confirmed plan / this step customer-controlled → tell customer and proceed only after consent; do not decide for customer; managed step → do not ask, follow get_production_plan autopilot.default_decisions, platform logs in get_autopilot_log); neither silently skip nor charge without authorization. ★Two locking rules:①**Aspect ratio** is set at create_drama, locked at drama level; all later image/video/final cut use it, **do not change midstream** (generated content will have inconsistent aspect ratio and drift); default 9:16 if unset.②**5-7 sec per shot in shot breakdown is normal length optimized for AI video**, do not wrongly re-split because 'shots are long'—generate_storyboards **replaces all storyboards in the episode**, wasting generated images; backend blocks when storyboards already exist unless confirm_replace is supplied. ★Rewrite fidelity (default auto smart routing): when the set_script original is **already script-shaped** (scene headers/dialogue-line structure), rewrite_script automatically uses two-pass fidelity—customer dialogue is machine-gate locked line by line (missing one line causes internal rejection and redo), AI never adds plot; dramaturgical gaps (hooks/emotional anchors) are not auto-filled, but written into dramaturgy_suggestions returned by get_script (whether to adopt follows execution mode: pro mode / no confirmed plan / this step customer-controlled → tell customer and proceed only after consent; do not decide for customer; managed step → do not ask, follow get_production_plan autopilot.default_decisions, platform logs in get_autopilot_log). If original is novel/outline, it auto uses creative rewrite (AI lays hooks/emotional beats); both customer types get intended behavior, no manual switch needed. To override default use update_project_settings rewrite_pipeline(auto/two_pass/single_forced) and fidelity_enforce(1=hard fidelity gate). When customer says 'AI changed my script too much':①confirm full original entered set_script;②set rewrite_pipeline two_pass to force fidelity, then rerun rewrite_script;③after customer confirms character appearance, use update_character profile_locked=1 to lock profiles and prevent later extraction from overwriting appearance and changing faces in character sheets. ★If customer wants to rewrite script on **another AI platform** (common: third-party model says our rewrite 'changed too much', customer wants control): first call get_script_format_spec to obtain platform-accepted format contract (markdown template + external_prompt directly forwardable to external model + blank skeleton), give external_prompt+template+customer original to that platform; after receiving organized draft, **first call check_script_format** self-check (free · rule-only · no model); after errors are zero, two exits:【A】adopt_external_script directly adopts as shootable script (our AI not involved · seconds · no charge, requires external draft contains production-layer annotations);【B】set_script puts it back into original slot + rewrite_script two-pass fidelity (choose when external only handles story layer; platform fills annotations; customer-written annotations are stripped and rewritten on this path). ★Do not put external organized draft into edit_rewritten_script (400 if rewrite not run), and do not skip check_script_format before ingestion—noncompliant scripts are still blocked by gates, wasting a run.★★If the customer’s material is **already a finished storyboard table** (per-shot durations/framing/camera moves), neither path applies—use import_storyboard_table directly to create storyboards and skip rewrite and shot breakdown. The rewrite path will strip durations/framing/camera moves/STYLE/text cards as non-story content (production test: 8 shots 36 sec → 20 shots 109 sec). ★Both import channels are deterministic—wrong input is created as-is, so **get contract, self-check, then import**: storyboard table path uses get_storyboard_table_spec → check_storyboard_table → import_storyboard_table; if customer tools/spreadsheets can export structured data, or external AI can directly produce JSON, use get_bulk_import_spec → check_bulk_import → bulk_import_storyboards (only creates storyboards; characters/scenes/props are extracted from script by extract_assets; import binds by name to existing ones—extract first, then import). Both imports default with auto_complete(background AI fills professional fields + image/video prompts, text step postpaid; tell customer before call): if receipt started=true, poll get_autofill_status until done, then review_storyboards—autofill changes shots, so any earlier review token invalidates. Use get_pipeline_status for progress (returns project-type-specific steps).★★【Opening plan · first thing after creating drama · free】First ask basic video parameters (project type/aspect ratio/episodes × minutes per episode/subject: realistic_human realistic live-action · stylized anime/stylized · product/empty shots · native audio or dubbing), then call get_production_menu to get **currently available** three packages (effect description + real-time estimate including text steps + recommended budget + excluded items) and explain to customer—do not recommend models from memory; some models may be temporarily unavailable for some subjects, menu already filters them. Then let customer choose execution mode (pro self-control every step / auto one-click final cut / custom managed selected steps), budget budget_points, and automatic overrun cap (0/10/20/30/50%): **default recommendation** budget=selected package recommended_budget (upper bound excluding text ×1.2 plus text estimate), overrun=menu recommended_overrun_pct(30%)—QC regenerations are not in upper bound and are covered by overrun; recommendation is only recommendation, final numbers are customer’s, and if customer changes them use customer values. Explain summary clearly; only after explicit customer consent call confirm_production_plan(customer_confirmed:true)—never confirm for customer. For dramas with confirmed plan: before paid dispatch the platform rechecks model availability and quote upper bound ≤ budget×(1+overrun%); if blocked (402 BUDGET_WOULD_EXCEED / 409 MODEL_UNAVAILABLE), stop and ask customer; do not change model or budget yourself. confirm returns 403 PRODUCTION_PLAN_NOT_OPEN = this drama not open (gray release), follow original step-by-step confirmation flow.\n★【Post-completion QC】After extraction, use get_characters / get_scenes / get_props to verify profiles (names, appearance, era) match the customer script; after character sheets/concept images/scene images/prop images finish, review_assets handles coverage and quality review uniformly.",
19
+ "extract_assets": "Extract characters/scenes/props from the shootable script (writes three tables in one pass; the foundation for downstream consistency). Backend async; text step postpaid, no arrears. Prerequisite: rewrite_script has produced the rewritten script (mandatory for new projects; character profiles must be extracted from the rewritten script to stay self-consistent with script and storyboards). ★Minute-level backend task; use get_run_status to decide whether it is still running; do not treat 60 seconds as failure.\n★【Rewritten-script review hard gate · free】Before this step, you must call review_script first: report every returned finding to the customer verbatim (each with code=issue type, shots=hit shot numbers, action=which tool to use to fix), then pass review_token into this tool. Skipping review will be rejected with 400. If content changed after review → token auto-invalidates; review again once (still free). If there is error, block by default; only if the customer is informed and insists on continuing as-is may you pass acknowledge_review:true—pushing forward with known issues will likely produce unusable footage and is still charged normally (acknowledge_review only means the customer personally agreed; every execution mode still requires explicit customer consent, including managed mode); in managed steps, only allowlisted heuristic error can pass with auto_acknowledge:true (platform decides; if not allowlisted returns 400 AUTOPILOT_MUST_ASK:must_ask_customer=true then pause and ask customer, false = self-fix per action then review again). ★Gray-release dramas also require you (agent) to QC personally: inspect assets item by item per agent_qc returned by review_script, answer the checklist, and submit via submit_qc_report before this token can be used (not submitted → 400 agent_qc_required; bad report → blocked by default like error).★★【Execution-mode master rules · read before starting】For dramas with a confirmed opening plan, first get_production_plan and read autopilot: pro mode (pro, or autopilot.enabled=false, or no confirmed plan) → every later 'tell customer, proceed only after customer agrees' is literal; one-click (auto) / hybrid (custom) managed steps → do not ask customer: follow get_pipeline_status next_action in order, self-confirm quotes within the hard budget cap, after each layer still run review_* + agent QC, and let review/QC autopilot.next_step tell you how to proceed at this layer (allowlisted error with auto_acknowledge:true / which self-fix round / pause to ask customer); for choices follow autopilot.default_decisions; autopilot.never_auto_actions(mode=replace, deleting assets, overwriting customer-uploaded images, allow_era_ref_conflict, cloning voices, delivery acceptance) always require customer consent in every mode. ★In managed steps, regenerating frames for the same shot (generate_shot_frame) max 3 rounds, regenerating video (regenerate_shot_video / edit_video_shot) max 3 times; at the limit the platform returns 409 AUTOPILOT_SHOT_REGEN_LIMIT (not charged)—do not bypass with another tool; stop and ask customer: if customer approves more, quote normally and pass customer_approved_more_regens:true when generating (grants another limit); if customer accepts current state, continue, and pass acknowledge_review:true on the next paid call to record confirmation. 402 BUDGET_WOULD_EXCEED / 409 MODEL_UNAVAILABLE / 409 AUTOPILOT_SHOT_REGEN_LIMIT / 400 AUTOPILOT_MUST_ASK with must_ask_customer=true / non-empty pending_questions → pause and ask the customer the pending_questions from get_autopilot_log **summarized all at once**; customer-controlled steps follow pro mode. After final output, deliver to customer using the get_autopilot_log report. ★Three-tier execution strategy (do not mix the three when asking customer):①【Basic project settings · free · mandatory foundation · set when creating drama, do not create an empty shell】project_type/setting_brief(worldview · ERA LOCK)/ethnicity/aspect ratio resolution, plus consistency anchors cinematography_prompt(photography DNA)·art_bible(art bible)·visual_lock(visual lock)—all free, foundation for full-pipeline consistency; if not set properly, all later generation drifts and rework costs again. Set directly via create_drama/update_project_settings. ★visual_lock/art_bible only write image-level/world-level locks (shot language · environment · art tone · forbidden elements), **never pin clothing/hairstyle/appearance details for specific characters**—the single source of truth for character appearance is the character profiles produced by extract_assets (change via update_character); writing both places inevitably conflicts, character sheet vs profile, concept image vs visual lock, consistency gate rejects by character sheet → concept images/shot frames get **structurally rejected in chains**, no amount of rerolls passes, pure waste.★★【Era contract · free · required before image generation for non-contemporary or surreal subjects】The worldview in setting_brief is **free text**; it can provide background but cannot constrain images. The real override over visual_lock is the **structured era contract**: use set_era_contract to set this episode’s tier (modern/republican/historical/fantasy/surreal), get_era_contract to read current value. **Unset means empty**—the platform can only rely on prompt text to fight drift; modern objects entering ancient images or scene images drawn in the wrong era is usually caused by this being empty. ★Xianxia/fantasy/immortal-realm content **must use fantasy, not historical**: historical requires textual realistic accuracy and will classify glowing aura, floating landforms, and non-human transformations as 'era-inconsistent', pulling images toward realistic ancient style. To make an exception for one scene (e.g. a modern flashback inside a fantasy world), use update_scene era_contract to override at scene level; scene-level beats episode-level.★★【Per-stage review protocol · all free · main line to prevent unusable film, not optional】After every stage output, review first, report conclusions verbatim to customer, then proceed. **Five hard gates (not passing causes 400; ④⑤ and agent QC below)**:① after rewritten script → review_script (before extract_assets / generate_storyboards);② after storyboards → review_storyboards (before generate_frames);③ after shot images → review_frames (before generate_videos). Each review returns review_token; pass it with downstream paid tools; explain findings one by one to customer (code=issue type · shots=hit shot numbers · action=which tool to fix), fix per action, then **review again** before proceeding. If content changed after review → token auto-invalidates; review once again (free). If error exists, block by default; only if customer explicitly understands and insists may pass acknowledge_review:true (acknowledge_review only means customer personally agreed; every execution mode still needs explicit customer consent, including managed mode); in managed steps, only allowlisted heuristic error can pass auto_acknowledge:true (see 【Execution-mode master rules】). **Soft guidance (non-blocking but strongly recommended, also free)**: before image/video generation run run_precheck (catches shots vendors will definitely reject, preventing wasted credits)—★**to run whole-drama first use run_drama_precheck** (drama-level summary · free · read-only): get issue counts per episode and attention (which episodes to fix first), prioritize by it, then run run_precheck on those episodes for details; do not blindly scan episode by episode. Note not_covered—drama-level skips the only lint that requires images, so '0 whole-drama issues' ≠ 'everything checked'. ★After findings, do not blindly edit yourself: plan_precheck_fix lets platform compute proposals → apply_precheck_fix writes them (choose which to adopt; managed=adopt all per execution mode: pro mode / no confirmed plan / this step customer-controlled → tell customer and proceed only after consent; do not decide for customer; managed step → do not ask, follow get_production_plan autopilot.default_decisions, platform logs in get_autopilot_log); after storyboards run get_health_report; after character sheets use get_characters to verify every appearing character has image/sheet; after frames use get_storyboards to inspect frame_status and fail_reason/fail_hint (fix failed shots before continuing; do not make video from bad frames); after videos inspect video_status similarly; before final cut use get_pipeline_status to confirm no missing shots. ★**Never generate straight through**: pushing layer after layer without review amplifies issues at every layer, and the whole episode may need redoing—every repeated image/video generation is real charged. Reviews are all free; catching issues costs nothing. ★Clothing changes are structured bindings: update_shot active_wardrobe_id (whole shot) / appearance_wardrobes (multi-character per role), can override or clear—editing text descriptions does not change clothes, and do not send customer to web UI.②【Production mainline · sequential, no skipping · ★storyboards before assets】set_script→rewrite_script→★review_script→extract_assets→storyboards(first storyboards · pure-text shot breakdown)→★review_storyboards→★Script discipline (endpoint-enforced, cannot bypass): all raw material (synopsis/outline/finished script all count) goes into set_script, **must go through rewrite_script to produce AI rewritten script**—pasting your own finished script directly into edit_rewritten_script to bypass rewrite will be rejected 400 (no rewritten script means nothing to edit); extract_assets likewise requires the rewritten script. All post-rewrite changes must use the structured format of AI output: edit script via edit_rewritten_script (polish/correct), character profiles via update_character, storyboards via update_shot/replace_shot_dialogue—do not go back and replace the whole script or write another truth source in settings; dueling truth sources are the top cause of consistency failures.★★**After rewrite_script succeeds once, do not rerun rewrite_script**: it restarts from the original full manuscript, discarding all current edits, and the new version is not guaranteed to preserve prior fixes (three-version tests oscillate). To fix, use edit_rewritten_script point edits (get_script full text → change only those scenes, copy the rest verbatim → submit whole text), free, seconds-level, deterministic; if rerun by mistake use get_script(include_previous=1) to recover previous version. generate_portraits_and_sheets(character sheet + concept images · build after storyboards: first use delete_character to delete appearing characters who **do not appear in any episode of the whole drama and are not planned for later episodes** before image generation—characters are drama-level; once deleted, no episode’s frame assembly includes them; this cannot be judged from current episode storyboards alone, keep if unsure (one character sheet costs far less than losing identity anchors in a later episode); the character sheet step generates images for **all undeleted appearing characters**, ignoring storyboard bindings, so kept characters are charged normally; voiceover characters (char_type=voiceover narrators/phone voices) are not image-generated and have no storyboard binding; **do not delete** them, dubbing relies on them)→★generate_color_script(color script · unified grading)→assign_voices(assign voice types; if narrator/character library has no fit → design_voice by description, then set_character_voice after sample approval)→★quote_scene_images+generate_scene_images(empty scene plates · required before frames)→frames(default first frames only)→★tail_frame_plan(free · which shots need independent last frames)→frames(frame_type=last_frame)→★chain_frames(seams · dry_run:true first)→★review_frames→videos→generate_tts→compose;★★【Do not skip seams · after last-frame completion, before review_frames】After first/last frames are ready, call chain_frames(dry_run:true, free) to view platform seam plan and estimated_points (copy free, reframe one image per seam), tell customer and execute without dry_run after confirmation; already chained seams are not planned, repeated calls do not charge again. ★After execution, reframe is **async image generation**: use get_jobs to watch first_frame generation rows for planned shots; wait until all pending/processing finish (failed: check error_msg; use chain_shot_from to rechains a single seam), then review_frames—while old first frame remains, get_storyboards frame_status is still ready, so it cannot show whether the new image is generating or failed. After get_jobs is clear, use get_storyboards to verify seam_state: replacement images rejected from promotion will not remain in get_jobs; that seam remains unchained (review_frames also reports seam_unchained); rechains per its action. If you review before landing, you reviewed old first frames; the token becomes invalid after new first frames land. Episodes generated shot-by-shot/batch likely were not auto-chained (get_storyboards seam_state=unchained means so); skipping does not error—the cost is mismatch between adjacent shots and jump cuts throughout final cut.★★【Do not skip last frames · frames are two passes】generate_frames defaults to first frames only. About 30% of shots have **end state ≠ start state** (large camera moves/object released/state changes) and need an independent last frame; the criterion is platform-side and cannot be guessed from storyboard text—therefore after first frames finish, you must call the free tail_frame_plan once to get per-shot list, then fill frame_type=last_frame (shots_needing_last_frame in generate_frames response is this count; if not 0 do not go straight to review_frames). Skipping does not error or block—the cost is that videos for those shots have only one anchor, so the model invents the end state: actions fail, large camera moves end back at the starting composition. Production tests: in 32 episodes, 30 generated only first frames for the whole episode, and 23 went all the way through video.★★【When last frame is blocked by TERMINAL_DESC_GATE: edit text, do not retry】For shots reporting 'this shot is marked as state-changing, but nowhere describes what it looks like at the end', use update_shot to write **what the image looks like at the end** into that shot’s last_frame_prompt, then regenerate last frame. ★Better: **avoid hitting it**—before last-frame generation, first inspect get_storyboards; shots with terminal_desc_missing=true are listed for the whole episode at once (free), fill their last_frame_prompt before generating and avoid any rejection. Per-shot query also exists (get_shot_prompts same field), but do not do that for dozens of shots. Retrying without filling the description is useless—the vendor prompt has no terminal-state section, so it still draws the first-frame pose and will be rejected again by terminal review, and each attempt is charged normally (production tests: last-frame success 9.4% without terminal description, 40.2% with it). Only use generate_shot_frame allow_missing_terminal for shots that truly should be 'almost unchanged'.★★【Do not skip empty scene plates · this step is often missed by third parties】Scene images are **background anchors**: every shot frame in the same scene anchors on it. Frames can still generate without plates, with no error and no block—the cost is **the first shot of every scene has no background anchor at all** (platform fallback is 'if missing image is discovered, generate one in background'; that plate is used by subsequent shots in the same scene, but the triggering first shot cannot wait for it), and the first shot is often the tone-setter; later backgrounds drift too. It is paired with character sheets: character sheets anchor people, scene images anchor locations; whichever is missing drifts. Progress self-check: get_pipeline_status generate_scene_images step (completed/total); review_storyboards also reports scene_plate_missing before frame generation.★★【Do not skip concept images · character sheet ≠ concept image】A character sheet is a single-person identity anchor; concept image is the platform-generated multi-angle turnaround from the character sheet, the root consistency anchor for shot frames/videos (angles, lighting, clothing rely on it). Frames can still generate with only character sheets, with no error—the cost is characters drift when angle changes and clothing differs every shot. Use generate_portraits_and_sheets for one-click two-step (each call advances one step; after character sheets are complete, call again to create concept images), or generate_character_sheets after character sheets. Progress self-check: get_pipeline_status generate_character_sheets step (completed/total, portrait_only=characters with character sheet only). ★Customer images: character sheet must be single person, single image, single angle, no text; scene image must be empty location with no people and no overlaid text—set_character_portrait/upload_scene_image auto-checks and rejects invalid with 422. ★Do not create character visuals/prop concept images/action templates before storyboards—storyboards are pure text and do not depend on any images; after storyboards the cast is known, delete non-appearing characters before image generation to save cost (action templates must be after storyboards anyway). Paid steps follow existing quote confirmation flow. Ads additionally need add_product+generate_product_sheet; MV uses set_mv_lyrics→generate_mv_story→generate_mv_script (if no finished song: after set_mv_lyrics first suggest_mv_song_styles→quote_mv_song→generate_mv_song→get_mv_song→select_mv_song).★★【④⑤ two new hard gates + agent personal QC】④Asset layer: after character sheets/concept images/scene images/prop images finish → review_assets (before generate_frames / generate_shot_frame; its token is asset_review_token and passed together with storyboard-layer review_token);⑤Video and dubbing layer: after video/dubbing/music finish → review_videos (before compose_episode); after final cut, run review_final_cut. ★After every review layer you must also **personally QC**: inspect assets item by item per returned agent_qc (download images, sample video frames, read text), answer checklist item by item, submit via submit_qc_report; for gray-release dramas, a review_token cannot enter the next step without the report; bad report is blocked by default like error. Platform judges existence; you judge likeness and correctness.★★【Single-shot path is also gated by reviews】: generate_shot_frame also requires storyboard-layer review_token; regenerate_shot_video also requires shot-image-layer review_token—do not expect single-shot tools to bypass review (production observed a workflow generating all 25 shots with single-shot frame tools and no gates; all final rework was fully charged). Generated frames **do not** invalidate the storyboard-layer token (fingerprint only covers storyboard content); only storyboard content edits—update_shot / import / add-delete shots / change character bindings—require one more review (free, seconds). Generating one shot’s frames invalidates the **shot-image-layer** token; before regenerating the next shot video, review_frames once.★★【For native-audio dramas, lock voices before batch video】When use_clip_audio=true(default), each shot’s voice is sampled independently by the video vendor; if not locked it will drift, and unifying after the fact requires per-shot regeneration. If customer-authorized voice source exists → clone_voice+set_character_voice before generate_videos; if not → for each speaking character first use single-shot quote_regenerate_shot_video→regenerate_shot_video on a shot with longer dialogue (generate_videos has no per-shot parameters and only batch-fills missing-video shots; single-shot regeneration also works for shots without video), then use set_voice_anchor_from_shot to select the voice from that shot, then generate remaining shots. get_pipeline_status native_voice_anchor lists unanchored_speakers not yet locked and stale_shots generated before locking that need regeneration. ★Worldview concept image = required by default (improves whole-drama consistency; many third-party platforms miss it): after storyboards, call generate_world_concept by default; still follows quote confirmation (tell customer estimated credits, confirm before charging)—do not charge silently and do not skip.★★【Color script】generate_color_script unifies grading across the whole film; run after storyboards and before frames; text step has no quote_*, postpaid by usage. Progress self-check: get_pipeline_status generate_color_script; review_storyboards reports color-script gaps. ★Action templates are optional experimental: call generate_motion_templates(action template extraction) after storyboards only if customer explicitly requests; text step postpaid by usage. First/last frames do not inject action templates by default; missing templates need not be made up and do not block image/video/final cut. Video templates may be cropped; delivery or quality gain is not guaranteed. ★Scene Bible(detailed per-scene setting) comes **after scene image generation**—refine based on generated scene images (no MCP tool yet; do on official site); do not make Scene Bible before scene images. ★Audio defaults to video native audio (use_clip_audio default on; skip TTS and use AI video’s built-in audio): when creating/updating drama settings, AI should proactively tell customer 'default uses video native audio; set use_clip_audio false if TTS dubbing is needed' and let customer choose. ★Default image model is ChatGPT Image 2.5 Flare(gpt-image-2.5-flare · unified whole-drama style): set image_model in create_drama/update_project_settings; omitted means default. Options: gpt-image-2.5-sunburst(same price · better Chinese glyphs/details)/gemini-3.1-flash-image(Banana 2 · 71 credits)/gemini-3-pro-image(Banana Pro · finer · 175 credits)/gemini-3.1-flash-lite-image(Banana 2 Lite · cheap · 31 credits)/doubao-seedream-5-0-260128(Seedream5.0); generate_frames can temporarily override one run. ★2.5 charges by input volume (base 11 credits + 18 credits per reference image); Banana/Seedream are flat price—shots with many reference images must include this in budget. ★Four video engine choices (drama-level · when AI creates a drama it must proactively guide engine choice by drama type and quote price differences for customer decision):【Decision tree】★Call get_production_menu first: whether each engine is currently available for realistic live-action / anime and other subject classes is decided by the availability it returns (unavailable entries carry customer_note and expected_until—relay them to the customer verbatim); do not assume from this description that any model is unavailable, and do not recommend models the menu marks unavailable. ①Realistic live-action drama→seedance-2.5 (strongest instruction following / face detail · 720p 212 credits/sec), or hailuo-3 when budget-sensitive (about 1/3 cost, 70 credits/sec · strong fidelity editing · can output 2K · but about 6 minutes per shot); ★After choosing, pass video_engine explicitly in create_drama / update_project_settings (the one the menu lists as available for this subject class)—if omitted, the platform only applies a style-based fallback stamp that is not guaranteed to be an engine the menu marks available; ②Stylized/animation/3D cartoon dramas · empty shots · product shots→wan3.0(about 40% price, 84 credits/sec · max 30 sec · minimum 2 sec billing · about 2 minutes per shot), use wan3.0-prime for rush delivery (126 credits/sec · about 1 minute);③★Never choose wan3.0/prime for realistic live-action dramas—WAN output-side human-face review consistently rejects at 720p+, retry cannot fix;④★★For narrative dramas (dialogue, continuous story, stable shot rhythm), choose wan3.0/prime cautiously: WAN may **hard-cut camera positions inside a single storyboard shot** (tests: 11/12 shots had intra-shot jump cuts, versus seedance-2.5 1/6 and hailuo-3 0/5); final cut feels like 'the image jumps around within one shot, cuts too fast'. This is weak vendor instruction following and cannot be blocked at prompt level (our negative constraints are already included and tested ineffective); afterwards the only fix is regenerating with another engine. WAN fits stylized/empty/product shots that are inherently short and fast; for stable single-shot narrative choose seedance-2.5 or hailuo-3. After generation use scan_intra_shot_cuts to check;④b★★Dialogue-heavy dramas should choose hailuo-3 cautiously (different from above 'intra-shot self-cut'; this is about **whether all lines are spoken**): native-audio engine stops speaking at shot end and may ad-lib; tests show 'dialogue not fully spoken' rates hailuo-3 **50%** (26 shots, all generated after 8-30 native-audio repair, so engine itself), seedance-2.5 **23%** (294 shots); wan3.0 sample **insufficient, untested** for this dimension (26 samples all before same repair, only 2 after)—do not infer WAN is bad. When customer reports 'line not finished', first run scan_dialogue_coverage by family; do not default to lengthening shots (even among sufficiently long shots, 32% still missed full lines);⑤★Shot length control (all engines, especially WAN): keep each shot 3~5 seconds. The longer the shot, the more room the model has to improvise—test: one 16-second shot (neighbors all 3~5 sec) changed scenes 4 times within the shot; character disappeared for 4 sec then grew back from frame edge; customer sees 'a person appeared from nowhere'. For long performances, split into multiple short shots and connect with frame chains; do not write single shots over 15 sec;【Resolution decision】Draft/iteration: WAN dramas 480p (42 credits/sec cheapest), others 720p; final delivery: seedance dramas 720p (HD tier discontinued), hailuo-3 dramas 1080p(=2K · 112 credits/sec), WAN dramas 1080p(168 credits/sec); hailuo-3 has no separate 480p tier (if selected, billed as 768P); set video_engine/video_resolution in create_drama/update_project_settings, ★must be decided before video generation—switching does not retroactively affect generated shots, and mixing within one drama causes style/identity drift. ★Slow image generation ≠ failure: each image takes tens of seconds to minutes; whole episode may take 10+ minutes. Poll get_storyboards frame_status—pending=still generating (wait patiently; do not call generate_frames again and waste credits), ready=done, failed=real failure. ★To change one shot’s image / make new character sheet take effect, use **single-shot regeneration generate_shot_frame** (platform automatically includes identity anchors, scene/prop references, style anchors for that shot to preserve whole-film consistency); generate_frames only batch-fills shots with **missing frames** and skips shots that already have first frames (normal, not 'rejected'). ★After first frames finish, call free tail_frame_plan to see which shots need independent last frames, then batch-fill with frame_type=last_frame. After changing a character sheet (set_character_portrait), stale_frames in the response are shots polluted by the old image and must be regenerated shot by shot. ★Never use external tools to make first/last frames and upload_shot_frame to 'change the image'—external images lack identity/style anchors, so characters/clothing/style will drift; that is the real source of unusable film. upload_shot_frame is only for customer-owned real footage.③【Optional enhancements · AI proactively informs customer · do only after quote confirmation】Art bible generation / visual lock extraction / scene groups / lip sync / posters / sound effects / music / subtitle translation—these improve consistency/quality and are mostly paid. ★AI should proactively tell customer these are available and provide quote (whether to run depends on execution mode: pro mode / no confirmed plan / this step customer-controlled → tell customer and proceed only after consent; do not decide for customer; managed step → do not ask, follow get_production_plan autopilot.default_decisions, platform logs in get_autopilot_log); neither silently skip nor charge without authorization. ★Two locking rules:①**Aspect ratio** is set at create_drama, locked at drama level; all later image/video/final cut use it, **do not change midstream** (generated content will have inconsistent aspect ratio and drift); default 9:16 if unset.②**5-7 sec per shot in shot breakdown is normal length optimized for AI video**, do not wrongly re-split because 'shots are long'—generate_storyboards **replaces all storyboards in the episode**, wasting generated images; backend blocks when storyboards already exist unless confirm_replace is supplied. ★Rewrite fidelity (default auto smart routing): when the set_script original is **already script-shaped** (scene headers/dialogue-line structure), rewrite_script automatically uses two-pass fidelity—customer dialogue is machine-gate locked line by line (missing one line causes internal rejection and redo), AI never adds plot; dramaturgical gaps (hooks/emotional anchors) are not auto-filled, but written into dramaturgy_suggestions returned by get_script (whether to adopt follows execution mode: pro mode / no confirmed plan / this step customer-controlled → tell customer and proceed only after consent; do not decide for customer; managed step → do not ask, follow get_production_plan autopilot.default_decisions, platform logs in get_autopilot_log). If original is novel/outline, it auto uses creative rewrite (AI lays hooks/emotional beats); both customer types get intended behavior, no manual switch needed. To override default use update_project_settings rewrite_pipeline(auto/two_pass/single_forced) and fidelity_enforce(1=hard fidelity gate). When customer says 'AI changed my script too much':①confirm full original entered set_script;②set rewrite_pipeline two_pass to force fidelity, then rerun rewrite_script;③after customer confirms character appearance, use update_character profile_locked=1 to lock profiles and prevent later extraction from overwriting appearance and changing faces in character sheets. ★If customer wants to rewrite script on **another AI platform** (common: third-party model says our rewrite 'changed too much', customer wants control): first call get_script_format_spec to obtain platform-accepted format contract (markdown template + external_prompt directly forwardable to external model + blank skeleton), give external_prompt+template+customer original to that platform; after receiving organized draft, **first call check_script_format** self-check (free · rule-only · no model); after errors are zero, two exits:【A】adopt_external_script directly adopts as shootable script (our AI not involved · seconds · no charge, requires external draft contains production-layer annotations);【B】set_script puts it back into original slot + rewrite_script two-pass fidelity (choose when external only handles story layer; platform fills annotations; customer-written annotations are stripped and rewritten on this path). ★Do not put external organized draft into edit_rewritten_script (400 if rewrite not run), and do not skip check_script_format before ingestion—noncompliant scripts are still blocked by gates, wasting a run.★★If the customer’s material is **already a finished storyboard table** (per-shot durations/framing/camera moves), neither path applies—use import_storyboard_table directly to create storyboards and skip rewrite and shot breakdown. The rewrite path will strip durations/framing/camera moves/STYLE/text cards as non-story content (production test: 8 shots 36 sec → 20 shots 109 sec). ★Both import channels are deterministic—wrong input is created as-is, so **get contract, self-check, then import**: storyboard table path uses get_storyboard_table_spec → check_storyboard_table → import_storyboard_table; if customer tools/spreadsheets can export structured data, or external AI can directly produce JSON, use get_bulk_import_spec → check_bulk_import → bulk_import_storyboards (only creates storyboards; characters/scenes/props are extracted from script by extract_assets; import binds by name to existing ones—extract first, then import). Both imports default with auto_complete(background AI fills professional fields + image/video prompts, text step postpaid; tell customer before call): if receipt started=true, poll get_autofill_status until done, then review_storyboards—autofill changes shots, so any earlier review token invalidates. Use get_pipeline_status for progress (returns project-type-specific steps).★★【Opening plan · first thing after creating drama · free】First ask basic video parameters (project type/aspect ratio/episodes × minutes per episode/subject: realistic_human realistic live-action · stylized anime/stylized · product/empty shots · native audio or dubbing), then call get_production_menu to get **currently available** three packages (effect description + real-time estimate including text steps + recommended budget + excluded items) and explain to customer—do not recommend models from memory; some models may be temporarily unavailable for some subjects, menu already filters them. Then let customer choose execution mode (pro self-control every step / auto one-click final cut / custom managed selected steps), budget budget_points, and automatic overrun cap (0/10/20/30/50%): **default recommendation** budget=selected package recommended_budget (upper bound excluding text ×1.2 plus text estimate), overrun=menu recommended_overrun_pct(30%)—QC regenerations are not in upper bound and are covered by overrun; recommendation is only recommendation, final numbers are customer’s, and if customer changes them use customer values. Explain summary clearly; only after explicit customer consent call confirm_production_plan(customer_confirmed:true)—never confirm for customer. For dramas with confirmed plan: before paid dispatch the platform rechecks model availability and quote upper bound ≤ budget×(1+overrun%); if blocked (402 BUDGET_WOULD_EXCEED / 409 MODEL_UNAVAILABLE), stop and ask customer; do not change model or budget yourself. confirm returns 403 PRODUCTION_PLAN_NOT_OPEN = this drama not open (gray release), follow original step-by-step confirmation flow.\n★【Post-completion QC】After extraction, use get_characters / get_scenes / get_props to verify profiles (names, appearance, era) match the customer script; after character sheets/concept images/scene images/prop images finish, review_assets handles coverage and quality review uniformly.",
20
20
  "get_pipeline_status": "Check the complete workflow progress for one episode(script_rewrite/extraction/storyboards/voice/image/video/compose/music/final merge… each step done/partial/pending/not_required). Follow it in order; do not skip. Free. ★For auto / custom mode(hosted rollout), also returns next_action(action=run do hosted step directly / wait_running background still running, wait for persistence and do not dispatch duplicate / wait_customer client-controlled step or no budget precheck, ask first / ask_customer pending questions, summarize and ask first / done all steps complete—first run tool=review_final_cut, fix issues and re-compose/re-review, then deliver report; tool=which tool to call) and pending_questions; advance exactly by next_action. asset_versions_summary separates generated, input_consistent, review_valid, adopted, and current_effective; do not treat generate_videos.completed as current valid count. ★generate_images / generate_videos status=done only means \"generated\", not deliverable: inspect validity for that step(current_effective / input_changed with changed_by listing drama-level settings, shot itself, or which character changed / input_unknown / unreviewed / review_failed). If validity.note is non-empty, tell the client first. Changed input may not affect visuals; do not regenerate whole episode paid just for that—use get_asset_versions per shot to inspect causes. ★not_required means this mode does not need the step(e.g. TTS steps for native-audio drama, generate_bgm when music disabled), not unfinished; do not fill it. Image/video denominators exclude blocked shots(shots_not_applicable). merge_episode.bgm_stale=true means music is newer than final cut; just compose_episode again.",
21
21
  "quote_character_portraits": "Quote: how many credits to batch-generate character sheets for characters missing them. Returns portraits_to_generate, estimated_points, quote_id. No charge. Character sheets are identity consistency anchors(missing them makes characters drift); strongly recommended before video. ★This quote only covers character sheets; after character sheets are ready, you **must** also generate_character_sheets for turnarounds(no quote required · image step postpaid; response sheets_to_generate_after is pending count). Only character sheets without turnarounds will drift when characters change angle/lighting/clothing—tell client about this step during quote. ★Returns two numbers: estimated_points is the **upper bound**(estimated at max reference images, enough balance avoids mid-run 402), typical_points is **typical cost**. Tell the client both; only quoting upper bound makes it seem much more expensive. For fixed-price models(e.g. Nano Banana series), they are equal.",
22
22
  "generate_character_portraits": "After confirmation, batch-generate character sheets(★character sheets only): background async. A character sheet is a single identity anchor—shot consistency(especially wardrobe) also needs **turnarounds**. After this, strongly recommend generate_character_sheets, or use generate_portraits_and_sheets for both. Check progress via get_pipeline_status/get_storyboards. ⚠️ Batch quote-confirm flow: first call the corresponding quote_* tool to get estimated_points and quote_id, then call this tool with quote_id(quote confirmation by execution mode: pro / no confirmed plan / client-controlled step → tell client and get consent; hosted step → do not ask, follow get_production_plan.autopilot.default_decisions; platform logs in get_autopilot_log). Hosted quotes must fit within budget hard cap; if blocked by 402 BUDGET_WOULD_EXCEED, stop and ask client. ★**Image-generation quotes(character sheets/scene images/frames) return two numbers**: estimated_points is the **upper bound**(estimated at that model’s max reference images, prevents starting with too-low budget and hitting 402 mid-run); typical_points in same response is **typical cost**. Tell both—only upper bound sounds far too expensive(max-ref upper bound can exceed typical by 2x+), only typical may leave insufficient balance. For fixed-price models they are equal; then one number is enough.\n★[Post-completion QC · free] After images persist(poll corresponding get_*; if pending do not repeat call), run review_assets for asset-layer review(missing / generating / failed / rejected by consistency gate / prop era conflict / color script). Relay findings verbatim, fix per action and re-review; then personally inspect each image per agent_qc(does it match profile, same person, era correct; turnaround has all angles and correct proportions/structure; props and scene images make sense in story—compare used_in_shots). Submit QC with submit_qc_report. When generating shot images, pass its review_token as asset_review_token to generate_frames / generate_shot_frame.",
@@ -31,7 +31,7 @@
31
31
  "get_stale_portrait_frames": "Free read-only query for which active first frames/last frames in an episode were drawn using old assets for characters that have since been replaced (old character sheet, old turnaround, old body/hair image). Use after changing a character sheet to confirm impact scope, then let the customer decide which shots to regenerate (regeneration costs credits; this tool changes no data). verdict=stale must include evidence: ledger-old-asset (dispatch ledger directly recorded use of old image) / references-previous-asset (references include that character’s previous old asset) / portrait-born-after-frame (current character sheet was created after this frame). If not provable, mark unknown with reason; do not treat as stale. has_video=true means this shot’s video is also based on old frame; after regenerating frames, video must be regenerated.",
32
32
  "get_asset_versions": "Read-only query for all image/video versions of a shot, historical view links, dependency IDs and version hashes, plus four independent facts: generated → consistent with current input → audit valid → adopted. If historical dependency records are missing, show unknown; do not fabricate snapshots. Free.",
33
33
  "get_asset_binding_repair_plan": "Read-only generation of an auditable repair proposal for missing historical scene bindings in an episode. Returns original location/time, candidate ID, match basis, ambiguity, and proposed_scene_id; applied=false, never auto-backfills by name. Only after item-by-item verification does the customer decide whether to rebind. Free.",
34
- "get_storyboards": "Read an episode’s storyboard list (for review/progress). Includes readiness of each shot’s first frame (first_frame_image) and video (video_url). asset_versions separately reports for first frame/last frame/video: generated, input_consistent, review_valid, adopted, current_effective. null=missing evidence; ready only means an artifact exists, not that it is currently effective. Old assets remain viewable. ★Each shot includes **dialogue and speaker**: dialogue (raw text, null if no dialogue), dialogue_lines([{speaker,text}] line by line, split by the same parser as subtitles/voiceover—the speaker here is the one voiced in the final cut; stage directions removed), plus is_key_moment (1=key shot, uses high-end image model) and emotion_intensity (1-10). Use this single call to verify “whether dialogue is missing / who speaks / which shots are key / emotion curve”; no need to fetch per shot. After update_shot changes dialogue, verify here too. Visual/video/first-last-frame prompts are still only read per shot with get_shot_prompts. ★Each shot also includes **structured status**: frame_status/video_status (ready/pending/authorizing/rejected/failed/none/not_required). ★video_status=ready only means video generated, not that visual acceptance passed. If video_quality_issues contains terminal_cut: status=suspected means suspected abrupt end cut; cut_at_s/tail_duration_s give position; status=unavailable means detection not complete, not a pass. Both pause this run’s automatic last-frame writeback and continuation; review the video first. Field absence does not mean detection was performed, and do not directly retry paid generation. ★not_required=narration/end-card shot: frames and video are rendered at final-cut layer; this shot does not need generation—count it as completed when filling progress, do not retry. fail_reason (sensitive/text_sensitive/copyright/face_mismatch/account_overdue/quota_full/authorizing/insufficient_credits/transient/repeat_rejected/diagnosis_required/pair_collateral/model_unavailable), retryable (true=can retry; false=handle per fail_hint first, do not retry unchanged), fail_hint (human-readable). ★model_unavailable=selected image/video model vendor has paused or is temporarily unavailable: fail_hint lists currently available alternative models (whether credits were charged depends on error text; do not promise refunds on behalf of platform). Ask user, then use update_project_settings to change video_engine/image_model (or per shot use regenerate_shot_video model / generate_shot_frame image_model) before generating; retrying unchanged will only fail again. ★diagnosis_required=same input and same detailed cause failed repeatedly or existing candidates await judgment: inspect existing candidates and audit evidence first. For audit failure, re-review the same candidate first; for unknown reason, recheck first; do not directly change script or regenerate. Follow retryable to decide retry vs content change; do not parse Chinese. ★pair_collateral=other frame in same shot failed, this frame ended with the batch—**this frame itself was not judged bad, do not modify it**: if reopen_pair_id exists, use it to reroll only the faulty side; otherwise regenerate this shot directly. ★If a shot has degraded_frames:[{frame_type,reason,reason_label,since,hint}], this frame was **allowed through** by the system after same-cause repeated-rejection circuit break (criteria recorded, not rejected); URL is indistinguishable from a clean frame but requires manual review. If unsatisfied, follow hint to fix input then generate_shot_frame to regenerate that frame. ★terminal_desc_missing=true: this shot is marked as “state change” but none of three places says what it looks like at the end—this can be detected **before last-frame generation**, now for the whole episode at once (previously only get_shot_prompts could query per shot; nobody queries dozens of shots one by one). First use update_shot to write the ending state into last_frame_prompt, then generate the last frame: historical success rate when forced as-is is 9.4%, with terminal state written 40.2%, and each rejection still charges normally. Only for shots truly “almost unchanged” use generate_shot_frame allow_missing_terminal to pass. ★first_frame_source/last_frame_source='upload' means this frame is an **externally uploaded image** (bypassing identity anchors/style anchors/best-of-N/frame audit quality chain)—check these shots first when diagnosing character/clothing/style drift. Drift caused by external images is not a platform generation quality issue; correct fix is delete the external image and use generate_shot_frame for platform regeneration. ★If a shot has reopen_pair_id: when first/last frames were generated together, only one side truly had an issue and the other was innocent collateral rejection; pass it unchanged to generate_shot_frame parameter reopen_pair_id to reroll only the faulty side (saves half compute/cost; will not generate an image not intended for this rerun). If absent, follow fail_reason/retryable normal retry. Free. ★Each shot also includes **bindings** (IDs only): character_ids (characters bound to this shot), character_bindings[{character_id,presence}] (presence=on_screen visible in frame / voice_only voice only, not in frame), scene_id, prop_ids, active_wardrobe_id (shot-wide wardrobe), appearance_wardrobes[{character_id,wardrobe_id}] (per-character wardrobe anchor; only lists characters with declared wardrobe). These determine whose character sheet/which scene image/which prop images are injected for image generation; use get_characters for character-name lookup, get_props for prop-name lookup. Change bindings with update_shot character_ids (★full overwrite; read current values here before editing, omitted means unbind) and character_presence; change wardrobe with update_shot active_wardrobe_id / appearance_wardrobes (can overwrite, can pass null to clear); read this tool again after edits to verify. character_bindings absent = not read this time (not unbound); empty array means no bindings. ★When bilateral version review is enabled, seam_review.status is passed/failed/not_checked/stale; stale means evidence expired, not image failure, do not pay to regenerate for that alone. continuity_intent can be made explicit with update_shot. ★Each shot includes **seam_state** (seam between this shot and previous shot, same criteria as official site frame timeline): ok=chained (first frame is previous shot’s last frame, or platform performed first-last frame continuation, landed, and neither side regenerated afterward) / unchained=should be continuous but not connected (marked continuous but never connected, or platform-initiated continuation regeneration did not land: rejected/failed/still generating—this shot frame_status will be failed/processing; or after continuation passed, this shot’s first frame was regenerated) / broken=connected but discontinuous (seam_failed_dims gives discontinuous dimensions: characters/wardrobe/props/lighting/scene; seam_audit_status=stale with no dimensions = previous shot’s last frame regenerated after continuation, while this shot’s first frame still connects to old last frame) / intended=intentional cut (hard cut/scene change/time jump/large shot-size jump/insert shot/external uploaded frame), ignore / missing=frames missing on either side / unknown=no intent marked and never connected (system did not judge, not an issue) / na=first shot or narration card. seam_audit_status=pending means continuation landed but platform continuity audit not concluded yet. Before video generation only handle unchained and broken: episode-wide use chain_frames (dry_run first), single shot use chain_shot_from_prev / chain_shot_from.",
34
+ "get_storyboards": "Read an episode’s storyboard list (for review/progress). Includes readiness of each shot’s first frame (first_frame_image) and video (video_url). asset_versions separately reports for first frame/last frame/video: generated, input_consistent, review_valid, adopted, current_effective. null=missing evidence; ready only means an artifact exists, not that it is currently effective. Old assets remain viewable. ★Each shot includes **dialogue and speaker**: dialogue (raw text, null if no dialogue), dialogue_lines([{speaker,text}] line by line, split by the same parser as subtitles/voiceover—the speaker here is the one voiced in the final cut; stage directions removed), plus is_key_moment (1=key shot, uses high-end image model) and emotion_intensity (1-10). Use this single call to verify “whether dialogue is missing / who speaks / which shots are key / emotion curve”; no need to fetch per shot. After update_shot changes dialogue, verify here too. Visual/video/first-last-frame prompts are still only read per shot with get_shot_prompts. ★Each shot also includes **structured status**: frame_status/video_status (ready/pending/authorizing/rejected/failed/none/not_required). ★video_status=ready only means video generated, not that visual acceptance passed. If video_quality_issues contains terminal_cut: status=suspected means suspected abrupt end cut; cut_at_s/tail_duration_s give position; status=unavailable means detection not complete, not a pass. Both pause this run’s automatic last-frame writeback and continuation; review the video first. Field absence does not mean detection was performed, and do not directly retry paid generation. ★not_required=narration/end-card shot: frames and video are rendered at final-cut layer; this shot does not need generation—count it as completed when filling progress, do not retry. fail_reason (sensitive/text_sensitive/copyright/face_mismatch/account_overdue/quota_full/authorizing/insufficient_credits/transient/repeat_rejected/diagnosis_required/pair_collateral/model_unavailable/requote_required/needs_content_fix/contract_rejected/unknown), retryable (true=can retry; false=handle per fail_hint first, do not retry unchanged), fail_hint (human-readable). ★Failed video shots also carry video_charge_status (charged=video_charged_points were deducted / no_charge_recorded=the local ledger records no deduction / pending=billing not settled yet; field absent=charge state unknown). Only charged is definitive; no_charge_recorded does not mean refunded — do not promise a refund, confirm with get_drama_bill. ★requote_required=quote conditions changed, the shot was not dispatched or charged: re-quote with quote_videos (free) first. ★model_unavailable=selected image/video model vendor has paused or is temporarily unavailable: fail_hint lists currently available alternative models (whether credits were charged depends on error text; do not promise refunds on behalf of platform). Ask user, then use update_project_settings to change video_engine/image_model (or per shot use regenerate_shot_video model / generate_shot_frame image_model) before generating; retrying unchanged will only fail again. ★diagnosis_required=same input and same detailed cause failed repeatedly or existing candidates await judgment: inspect existing candidates and audit evidence first. For audit failure, re-review the same candidate first; for unknown reason, recheck first; do not directly change script or regenerate. Follow retryable to decide retry vs content change; do not parse Chinese. ★pair_collateral=other frame in same shot failed, this frame ended with the batch—**this frame itself was not judged bad, do not modify it**: if reopen_pair_id exists, use it to reroll only the faulty side; otherwise regenerate this shot directly. ★If a shot has degraded_frames:[{frame_type,reason,reason_label,since,hint}], this frame was **allowed through** by the system after same-cause repeated-rejection circuit break (criteria recorded, not rejected); URL is indistinguishable from a clean frame but requires manual review. If unsatisfied, follow hint to fix input then generate_shot_frame to regenerate that frame. ★terminal_desc_missing=true: this shot is marked as “state change” but none of three places says what it looks like at the end—this can be detected **before last-frame generation**, now for the whole episode at once (previously only get_shot_prompts could query per shot; nobody queries dozens of shots one by one). First use update_shot to write the ending state into last_frame_prompt, then generate the last frame: historical success rate when forced as-is is 9.4%, with terminal state written 40.2%, and each rejection still charges normally. Only for shots truly “almost unchanged” use generate_shot_frame allow_missing_terminal to pass. ★first_frame_source/last_frame_source='upload' means this frame is an **externally uploaded image** (bypassing identity anchors/style anchors/best-of-N/frame audit quality chain)—check these shots first when diagnosing character/clothing/style drift. Drift caused by external images is not a platform generation quality issue; correct fix is delete the external image and use generate_shot_frame for platform regeneration. ★If a shot has reopen_pair_id: when first/last frames were generated together, only one side truly had an issue and the other was innocent collateral rejection; pass it unchanged to generate_shot_frame parameter reopen_pair_id to reroll only the faulty side (saves half compute/cost; will not generate an image not intended for this rerun). If absent, follow fail_reason/retryable normal retry. Free. ★Each shot also includes **bindings** (IDs only): character_ids (characters bound to this shot), character_bindings[{character_id,presence}] (presence=on_screen visible in frame / voice_only voice only, not in frame), scene_id, prop_ids, active_wardrobe_id (shot-wide wardrobe), appearance_wardrobes[{character_id,wardrobe_id}] (per-character wardrobe anchor; only lists characters with declared wardrobe). These determine whose character sheet/which scene image/which prop images are injected for image generation; use get_characters for character-name lookup, get_props for prop-name lookup. Change bindings with update_shot character_ids (★full overwrite; read current values here before editing, omitted means unbind) and character_presence; change wardrobe with update_shot active_wardrobe_id / appearance_wardrobes (can overwrite, can pass null to clear); read this tool again after edits to verify. character_bindings absent = not read this time (not unbound); empty array means no bindings. ★When bilateral version review is enabled, seam_review.status is passed/failed/not_checked/stale; stale means evidence expired, not image failure, do not pay to regenerate for that alone. continuity_intent can be made explicit with update_shot. ★Each shot includes **seam_state** (seam between this shot and previous shot, same criteria as official site frame timeline): ok=chained (first frame is previous shot’s last frame, or platform performed first-last frame continuation, landed, and neither side regenerated afterward) / unchained=should be continuous but not connected (marked continuous but never connected, or platform-initiated continuation regeneration did not land: rejected/failed/still generating—this shot frame_status will be failed/processing; or after continuation passed, this shot’s first frame was regenerated) / broken=connected but discontinuous (seam_failed_dims gives discontinuous dimensions: characters/wardrobe/props/lighting/scene; seam_audit_status=stale with no dimensions = previous shot’s last frame regenerated after continuation, while this shot’s first frame still connects to old last frame) / intended=intentional cut (hard cut/scene change/time jump/large shot-size jump/insert shot/external uploaded frame), ignore / missing=frames missing on either side / unknown=no intent marked and never connected (system did not judge, not an issue) / na=first shot or narration card. seam_audit_status=pending means continuation landed but platform continuity audit not concluded yet. Before video generation only handle unchained and broken: episode-wide use chain_frames (dry_run first), single shot use chain_shot_from_prev / chain_shot_from.",
35
35
  "get_run_status": "(★free · mandatory after long-running operations) Check whether an agent is currently running for this episode. rewrite_script / extract_assets / generate_storyboards are all **minute-level** background tasks; they only return status:\"generating\". This tool is the only way to distinguish “still running” from “finished”.\n★Typical duration (production measured): rewrite 2~4 minutes, storyboard splitting 5~10 minutes—**a single LLM call may take 3~7 minutes**. So no result within 60 seconds is completely normal, definitely not failure.\nUsage: after starting, call every 30~60 seconds. running:true = still running, keep waiting, **never resend** (resending storyboard splitting replaces the entire episode’s storyboards; all tuned/generated images are lost and must be paid again); running:false = that run has ended, only then call get_storyboards / get_script to see whether artifacts were persisted.\n⚠️ Service restart clears in-flight registration; runs started during restart may also show as no in-flight.",
36
36
  "run_precheck": "(★recommended · free quality gate) Run pre-generation precheck before image/video generation to catch shots that would be rejected. Free, no credits charged. Strongly recommended before generate_frames/generate_videos to avoid wasting money on rejections.\nChecks these categories: ① live-action portrait / cloned voice authorization ② high-risk image-review words ③ voiceover coverage and large gaps ④ **self-contradictory instructions (kind=prompt-conflict)**—mutually exclusive requirements within the same shot (e.g. wide shot but close-up subject marked, standing and sitting at once). No correct image can satisfy these shots; if not fixed they will be rejected repeatedly and charge repeatedly. When present, first edit the storyboard per hints, then generate images, rather than retrying.\n★**You do not need to guess how to fix**: call plan_precheck_fix for platform proposals (which shot, change what to what), then apply_precheck_fix to persist (choose which items to accept; autopilot=accept all per execution mode: professional mode / unconfirmed plan / this step controlled by customer → explain to customer and only do it after customer agrees, do not decide for them; this step autopilot → do not ask customer, execute per get_production_plan autopilot.default_decisions, platform records it in get_autopilot_log)—more stable than blindly using update_shot yourself, which bypasses optimistic lock and pre-persist recheck. Some categories are not auto-fixed by system (blocked in proposals); only those require manual handling.\n★★**Also come back and run this when a shot repeatedly cannot be generated**—this tool is not only a preflight check. It also reports “same-shot same-cause repeated rejection circuit-broken (repeat-reject, auto-clears in 24h)” and “frame contract contradiction”; that is exactly the answer to “why this shot never works no matter how we reroll”. **Do not blindly reroll**: while circuit break is active, every reroll repeats the same full-price rejection.\n⚠️ It does **not** check whether the first frame is “before the action happens” (platform has no contract field for this yet), and does not replace get_health_report.",
37
37
  "run_drama_precheck": "(★free · read-only) **Whole-drama** health summary: get in one call how many issues each episode has and which episodes to fix first. run_precheck is episode-level; for dozens of episodes you would need dozens of calls and manual aggregation—call this first when scanning the full drama.\nReturns: episodes[] with per-episode blockers/warnings/by_kind (counts by rule code), totals for whole drama, attention[] = episodes most worth fixing first (sorted by blocker count, warning count descending).\n★**How to use**: inspect attention to set priority → call run_precheck on those episodes for itemized details → use plan_precheck_fix / update_shot to fix → rerun this tool to confirm totals decreased.\n⚠️ **“whole drama 0 issues” does not mean “everything was checked”**: to finish in one request, drama-level forcibly skips the only lint that needs image inspection (25s wall-clock per episode). not_covered in response lists skipped categories; to check those, run run_precheck on the corresponding episode.\n⚠️ episodes[].failed=true means that episode **was not checked successfully** (not “no issues”); just retry. truncated=true means episode count exceeded limit and scan is incomplete.",
@@ -42,7 +42,7 @@
42
42
  "review_storyboards": "【Hard gate ② · free】Review storyboards: forbidden terms (will be rejected by vendors and waste credits), shot duration distribution, repeated adjacent composition, character blocking drift in the same scene, emotional curve peaks/valleys, key-shot markers. ★Must run this tool before generate_frames—storyboard issues become a whole episode of wasted images once generated and cannot be fixed shot by shot. Fix per findings.action using update_shot/split_shot, then review again. ★A finding with code=forbidden_term includes `terms` (specific matched terms, e.g. \"background music\", \"strong light\") and `shots` (shot numbers); use those two to update_shot and remove them, no need to guess word by word. ★Forbidden terms are judged with **negative semantics**: writing \"no background music\" or \"do not add music\" is not a violation (it is obeying the constraint), so no edit is needed. ★\"Action overload\" in warnings (action_overload, advisory only, non-blocking): one shot contains more independent actions than its duration can support; before video generation, use split_shot to split it or delete actions—slow motion/dissolves cannot rescue it after final cut. Ignore if multiple people each do one thing or it is a naturally continuous action chain.\n★【Agent hands-on QC · free】Returned agent_qc contains this layer's checklist and materials to inspect for this episode (materials, each with a ref; images/videos include links). The platform only checks \"exists / present / rejected\"; \"looks like / is correct / is good\" must be judged by you: download and open images, sample at least beginning/middle/end frames for videos, read text fully with tools. Answer checklist items one by one (ok / issue / na; for issue, state which item has what problem), list every inspected ref in inspected, and call submit_qc_report; tell the customer the QC conclusion verbatim. When agent_qc.required=true, without a submitted report this review_token cannot proceed to the next step (400 agent_qc_required); issues in the report block by default just like platform errors.",
43
43
  "review_frames": "【Hard gate ③ · free】Review the shot image layer: character identity-anchor coverage (characters without character sheets will drift in shots), image-generation failure rate, orphan character variants, scene images polluted by people. ★Must run this tool before generate_videos—video generation is the most expensive step in the whole chain, and generating a whole episode of video from drifting first frames is the most typical wasted-film failure. Fix per findings.action (mostly generate_character_portraits / generate_shot_frame single-shot regeneration), then review again. ★Also reports **inter-shot seams** (warning, non-blocking): code=seam_unchained (marked continuous but never did first/last-frame chaining, or initiated chained regeneration never landed / first frame was regenerated again after chaining) / seam_broken (chained but not connected, or previous shot's last frame was regenerated after chaining); shots is the shot whose \"seam with previous shot\" has the issue. Cheapest to fix before video generation—videos are generated from first frames; if a first frame does not match the previous shot's last frame, the final cut has a jump cut. See action for fixes (whole episode chain_frames dry_run first; single seam chain_shot_from_prev / chain_shot_from).\n★【Agent hands-on QC · free】Returned agent_qc contains this layer's checklist and materials to inspect for this episode (materials, each with a ref; images/videos include links). The platform only checks \"exists / present / rejected\"; \"looks like / is correct / is good\" must be judged by you: download and open images, sample at least beginning/middle/end frames for videos, read text fully with tools. Answer checklist items one by one (ok / issue / na; for issue, state which item has what problem), list every inspected ref in inspected, and call submit_qc_report; tell the customer the QC conclusion verbatim. When agent_qc.required=true, without a submitted report this review_token cannot proceed to the next step (400 agent_qc_required); issues in the report block by default just like platform errors.",
44
44
  "review_assets": "【Asset-layer hard gate · free】Review character appearance images, scene images, and prop images used **on screen** in this episode—coverage and quality: on-screen character missing character sheet / missing reference image / still generating / generation failed / reference image rejected by consistency gate (hint includes rejection reason); scene missing empty-scene base plate; prop referenced by storyboard missing prop image / rejected; prop image conflicts with this shot's era/form; missing color script (warning). ★Call once after producing character sheets, reference images, scene images, and prop images; must review before generate_frames / generate_shot_frame—pass the returned review_token as **asset_review_token**, together with the storyboard-layer review_token (both are required). Only checks the assets themselves: generating shot images later will not invalidate it; changing character sheets / scene images / prop images will invalidate it, just review again (free, seconds). Explain findings to the customer one by one (code=issue type, names=which character/scene/prop, shots=affected shot numbers, action=which tool to call to fix).\n★【Agent hands-on QC · free】Returned agent_qc contains this layer's checklist and materials to inspect for this episode (materials, each with a ref; images/videos include links). The platform only checks \"exists / present / rejected\"; \"looks like / is correct / is good\" must be judged by you: download and open images, sample at least beginning/middle/end frames for videos, read text fully with tools. Answer checklist items one by one (ok / issue / na; for issue, state which item has what problem), list every inspected ref in inspected, and call submit_qc_report; tell the customer the QC conclusion verbatim. When agent_qc.required=true, without a submitted report this review_token cannot proceed to the next step (400 agent_qc_required); issues in the report block by default just like platform errors.",
45
- "review_videos": "【Video and dubbing-layer hard gate · free】Review this episode's videos and dubbing—coverage and quality: missing video / still generating / generation failed / vendor rejected; first frame changed but video was generated from an old frame (video_stale); suspected hard cut at clip end, unexpected human voice in no-dialogue shots (warning); dubbed drama: dialogue shot missing dubbing, speaking character has no voice, missing narrator role; original-audio drama: shots not attached to current voice line at export time, characters without locked voice lines; missing music (warning). ★Call once after video, dubbing (generate_tts), and music are produced; must review before compose_episode, passing the returned review_token. Finer checks (requiring decoding picture/audio tracks) are available via scan_intra_shot_cuts / scan_dialogue_coverage / audit_silent_shot_audio; after assembling the final cut, run review_final_cut.\n★【Agent hands-on QC · free】Returned agent_qc contains this layer's checklist and materials to inspect for this episode (materials, each with a ref; images/videos include links). The platform only checks \"exists / present / rejected\"; \"looks like / is correct / is good\" must be judged by you: download and open images, sample at least beginning/middle/end frames for videos, read text fully with tools. Answer checklist items one by one (ok / issue / na; for issue, state which item has what problem), list every inspected ref in inspected, and call submit_qc_report; tell the customer the QC conclusion verbatim. When agent_qc.required=true, without a submitted report this review_token cannot proceed to the next step (400 agent_qc_required); issues in the report block by default just like platform errors.",
45
+ "review_videos": "【Video and dubbing-layer hard gate · free】Review this episode's videos and dubbing—coverage and quality: missing video / still generating / generation failed / vendor rejected; first frame changed but video was generated from an old frame (video_stale); suspected hard cut at clip end, unexpected human voice in no-dialogue shots (warning); dubbed drama: dialogue shot missing dubbing, speaking character has no voice, missing narrator role; original-audio drama: shots not attached to current voice line at export time, characters without locked voice lines; missing music (warning). ★Call once after video, dubbing (generate_tts), and music are produced; must review before compose_episode, passing the returned review_token. Finer checks (requiring decoding picture/audio tracks) are available via scan_intra_shot_cuts / scan_dialogue_coverage / audit_silent_shot_audio; after assembling the final cut, run review_final_cut.\n★【Agent hands-on QC · free】Returned agent_qc contains this layer's checklist and materials to inspect for this episode (materials, each with a ref; images/videos include links). The platform only checks \"exists / present / rejected\"; \"looks like / is correct / is good\" must be judged by you: download and open images, sample at least beginning/middle/end frames for videos, read text fully with tools. Answer checklist items one by one (ok / issue / na; for issue, state which item has what problem), list every inspected ref in inspected, and call submit_qc_report; tell the customer the QC conclusion verbatim. When agent_qc.required=true, without a submitted report this review_token cannot proceed to the next step (400 agent_qc_required); issues in the report block by default just like platform errors. ★If the response includes post_production_advisory = narrative-required effects that the script marks as post-production are still unhandled (the platform will not composite them): tell the client verbatim and use get_post_production_checklist to see the list.",
46
46
  "submit_qc_report": "Submit the QC report made by you (agent) after personally inspecting materials. Free. First call the corresponding review_* layer (script / storyboards / assets / frames / videos), open each returned agent_qc material in materials, answer every checklist item, then call this tool. ★The platform only verifies the report is **complete**, not whether your conclusions are correct: every checklist id must be answered (ok / issue / na; issue must include note explaining which item has what problem); every ref in materials must be listed in inspected (omit one and it is rejected with the missing refs named); if there are issues, set verdict=issues and list them in issues; reporting pass when issues exist will be rejected. ★Do not go through the motions: listing something in inspected without opening it means you signed off for the customer—wasted output will still be charged. ★When verdict=issues, this token cannot proceed to the next step by default: explain the problems to the customer, fix, then review + QC again; only if the customer is clearly informed and insists on proceeding as-is should the next step include acknowledge_review:true. ★suggestions (change suggestions): required at script layer when agent_qc.suggestions_required=true and issues were reported; optional for other layers. Each item includes problem + proposal; if text can be directly changed, also provide before/after; the response assigns each suggestion an id (s1…). Explain suggestions to the customer; the customer chooses accept some / execute all directly / proceed without changes (which route; autopilot = only execute priority=must suggestions that do not change the customer's original lines per execution mode: professional mode / unconfirmed plan / this step customer-controlled → explain to customer and only proceed after approval; do not decide for the customer. This step autopilot → do not ask customer; follow get_production_plan autopilot.default_decisions, recorded by the platform in get_autopilot_log). If content changes after the review, the report will be rejected; review again and QC against the new agent_qc.",
47
47
  "review_all": "(Recommended · free) Overall health check running three layers at once: script + storyboards + shot images. Use for initial assessment before work starts and recheck before delivery. ★It **does not issue review_token**—before paid steps, still run the corresponding review_script / review_storyboards / review_frames once each (the gate recognizes \"just reviewed against the current output\", not \"reviewed once sometime before\").",
48
48
  "autofill_storyboards": "(Recommended) AI one-click fills missing fields across all episode storyboards; by default it **only fills blanks and does not overwrite existing values** (only overwrites when overwrite=true). Improves storyboard completeness; do before image generation. Async in background, postpaid text step. ★When platform contract auto-fill is enabled, it also tries to add contracts to shots **without composition contracts** (whether enabled is indicated by the note in the import receipt contract_coverage; visible headcount / subject range / shot size are judged by it for both image generation and review; with default overwrite:false, existing contracts are untouched; **overwrite:true also rewrites existing contracts**)—if auto_complete was off during import and the contract_coverage note points to this tool, call it once before image generation. If this episode already has autofill running, this run **will not queue** (prevents duplicate-click duplicate charges); newly imported shots must wait until get_autofill_status is done before calling again.",
@@ -55,7 +55,7 @@
55
55
  "generate_shot_frame": "After confirmation, generate or regenerate the frame for **one shot** (async). This is the proper path to fix a shot image: the platform will carry this shot’s character identity anchors, scene/prop reference images, style anchor, and frame audit; regenerated images stay consistent with the whole film. Using external tools to generate then upload bypasses this entire chain, so character/clothing/style will inevitably drift. Regeneration overwrites the shot’s existing frame image (including prior uploads) and marks this shot’s video as needing regeneration. A last frame requires this shot’s first frame to be ready (otherwise use first_frame or both first). Completion criterion: poll get_storyboards and watch this shot’s first_frame_image/last_frame_image change.\n★Inherited reopen (reopen_pair_id): if get_storyboards returns this field on a shot, pass it through unchanged to reroll only the actually problematic side among first/last frames—the other previously generated candidate is preserved as-is, not regenerated and not charged again. When passing it, you no longer need frame_type (it will be ignored; the platform decides which side to regenerate); quote_id still must come from quote_shot_frame (frame_type may be first_frame or last_frame; single-frame price is the same). If the shot has no reopen_pair_id field (inheritance conditions not met), do not pass this parameter; use normal frame_type retry.\n★★If generating a last frame is blocked with “this shot is marked as state changed, but nowhere says what it looks like at the end”: the correct fix is to use update_shot to write the ending state into last_frame_prompt, then generate—**do not simply add allow_missing_terminal and force it**. For this type of shot, generating a last frame as-is historically succeeds only 9.4% of the time (40.2% when an end-state description exists), so forcing it will mostly waste one charge. Only pass that parameter when you confirm this shot is intended to look “almost unchanged”.\n★One-click final cut hosted flow: the same shot may regenerate frames at most 3 rounds (one call counts as one round; both also counts as one round). At the limit, returns **409 AUTOPILOT_SHOT_REGEN_LIMIT** (not dispatched, not charged, quote not consumed)—do not bypass with another tool. Stop and ask the customer: if the customer agrees to more regeneration, quote and generate normally with customer_approved_more_regens:true (grants another limit); if the customer accepts the current state, proceed downward, and the next paid call must include acknowledge_review:true to record confirmation. Professional mode and customer-controlled stages are not subject to this limit.\n★【Storyboard review hard gate · free】Before this step you must call review_storyboards: tell the customer every returned finding verbatim (each with code=issue type, shots=hit shot numbers, action=which tool to use for fixing), then pass review_token into this tool. If not reviewed, it will be rejected with 400. If content changes after review → token auto-invalidates; just re-review once (still free). error findings block by default; only when the customer is informed and insists on continuing as-is may you pass acknowledge_review:true—pushing ahead with known issues is likely to produce unusable footage and still charges normally (acknowledge_review only means the customer personally agreed; every execution mode requires explicit customer consent, hosted included). In hosted stages, only allowlisted heuristic errors may pass with auto_acknowledge:true (platform decides; if not allowlisted, returns 400 AUTOPILOT_MUST_ASK: must_ask_customer=true means pause and ask the customer, false = self-fix according to action and re-review). ★Grayscale dramas also require you (agent) to personally QC: inspect assets item by item per agent_qc returned by review_storyboards, answer the checklist line by line, and submit via submit_qc_report before this token can be used (not submitted → 400 agent_qc_required; problematic report → blocks by default just like error).\n★【Asset-layer hard gate · free】You must also run review_assets first (character sheet images / scene images / prop images), and pass its review_token as asset_review_token (coexists with the storyboard-layer review_token; both are required; grayscale dramas missing it get 400 naming review_assets). Generating frames does not invalidate the asset token. ⚠️ Batch quote confirmation flow: first call the corresponding quote_* tool to get estimated_points and quote_id, then call this tool with quote_id (quote confirmation depends on execution mode: professional mode / unconfirmed plan / customer-controlled stage → explain to the customer and proceed only after customer approval; hosted stage → do not ask the customer, follow get_production_plan autopilot.default_decisions, and the platform records it in get_autopilot_log). Hosted-stage quotes must stay within the hard budget cap; if blocked by 402 BUDGET_WOULD_EXCEED, stop and ask the customer. ★**Image-generation quotes (character sheet / scene image / frame generation) return two numbers**: estimated_points is the **upper bound** (estimated using that model’s maximum reference-image count, ensuring you do not start with an underbudgeted run that hits 402 midway); typical_points in the same response is the **typical cost**. Tell the customer both—only saying the upper bound makes it look much more expensive (the max-reference upper bound can exceed 2× the typical value), while only saying the typical value may leave insufficient balance. For fixed-price models they are equal, so one number is enough. Video-generation quote and charge use the same function; no such range exists.",
56
56
  "quote_videos": "Quote: how many credits to batch-generate videos for an episode (same function as actual charge, relatively accurate). Returns estimated_points, quote_id. Zero cost. ⚠️ Video is a large expense; clearly tell the user the credits and wait for confirmation.\n★**Only counts shots actually dispatched this time**: shots that already have video are skipped during whole-episode resume, not regenerated and not priced—shots_total = shots priced this time (not total shots in episode), shots_already_done = shots with video skipped this time. Exception: if any shot in a scene group lacks video, the **entire group is regenerated**, and already-generated shots inside the group are also priced. All shots already have video ⇒ 400(no dispatchable shots; use regenerate_shot_video to regenerate a shot). If any shot's video is cleared after quoting (becomes pending video), generate_videos returns 409 requiring a new quote; it will not charge for shots outside the quote.\n★**Specify video engine per shot**: pass shot_engines={storyboard id: engine} to switch engines only for those shots and only for this whole-episode generation (does not change drama-level video_engine; other shots unchanged). Quote prices per shot accordingly; quote_id pins the engines, and generate_videos dispatches exactly them—changing engine requires a new quote. Receipt shot_engines = actual applied mapping; shot_engines_ungrouped = scene groups **split into per-shot generation** because they include specified shots (scene-group duration and multi-keyframes are planned for the drama engine; generating the whole group with a changed engine would lose shots/keyframes; after splitting, other shots in the group still generate per-shot with the drama engine, losing group-level one-pass continuity, so do not split a good group for one shot—check get_scene_group_plan first). Selected engine must support this drama's resolution (seedance-2.5 only 480p/720p; hailuo-3 only 720p/1080p; wan3.0/wan3.0-prime 480p~1080p), and shot duration must not exceed that engine's single-shot limit (seedance-2.5/wan3.0 30s, hailuo-3 15s), otherwise 400 (vendors truncate overlong shots; either switch engine or split_shot). Shots with specified engines must be generated this time: whole-episode generation will not regenerate shots already having video, so specifying an engine for one ⇒ 400; a split per-shot scene group only counts group members without video. If you only want to regenerate a few shots that already have video, using quote_regenerate_shot_video with model is cheaper.",
57
57
  "generate_videos": "After confirmation, batch-generate videos: one backend chain runs the full episode; if balance is insufficient it auto-aborts the whole chain (prevents duplicate charging). Requires first frames already generated for this episode (otherwise rejected). Poll get_storyboards; completion = video_url filled shot by shot.\n★【Hard gate: shot image review · free】Before this step you must call review_frames first: report the returned findings to the customer verbatim, item by item (each with code=issue type, shots=hit shot numbers, action=which tool to use to fix), then pass review_token into this tool. No review → 400 rejection. If content changes after review → token auto-invalidates; review once again (still free). If there is error, block by default; only if the customer is informed and insists on continuing as-is, pass acknowledge_review:true—pushing ahead with issues will very likely produce unusable footage and still charges normally (acknowledge_review only means the customer personally agreed; every execution mode requires explicit customer consent, including autopilot). In autopilot steps, only whitelisted heuristic errors may be released with auto_acknowledge:true (platform decides; if not whitelisted, returns 400 AUTOPILOT_MUST_ASK: must_ask_customer=true means pause and ask customer, false = self-fix per action then re-review). ★ Gray-release dramas also require you (agent) to personally QC: per review_frames returned agent_qc, inspect assets item by item, answer every checklist item, and submit via submit_qc_report before this token can be used (not submitted → 400 agent_qc_required; report has problems → blocked by default same as error). ⚠️ Batch quote confirmation flow: first call the corresponding quote_* tool to get estimated_points and quote_id, then call this tool with quote_id (quote confirmation follows execution mode: professional mode / unconfirmed plan / this step controlled by customer → explain to customer and proceed only after customer agrees; do not decide for customer; this step autopilot → do not ask customer, execute per get_production_plan autopilot.default_decisions, platform records it in get_autopilot_log). Autopilot-step quotes must stay within the hard budget cap; if blocked by 402 BUDGET_WOULD_EXCEED, stop and ask customer. ★ **Image-generation quotes (character sheet / scene image / frame generation) give two numbers**: estimated_points is the **upper bound** (estimated using that model's max reference-image count, ensuring you do not start with too-low budget and hit 402 mid-run); typical_points in the same response is the **usual cost**. Tell the customer both—only stating the upper bound makes it look much more expensive (with max reference images, the upper bound can exceed 2x the typical value); only stating the typical value may leave balance insufficient. For fixed-price models the two are equal; then one number is enough. Video-generation quote and charge use the same function; no range exists.\n★【Post-completion QC · free】After generation, wait for it to persist (check video_status in get_storyboards / get_pipeline_status), then call review_videos to review video and dubbing layers (missing video / video made from old frames / hard cut at ending / unexpected human voice / missing dubbing / voice timbre unassigned / original voice line expired); fix and re-review; then personally inspect each shot and listen to dubbing per agent_qc (action correct, face stable, lines complete, voice right), submit via submit_qc_report; compose_episode must carry its review_token.",
58
- "compose_episode": "Stitch all shot videos of one episode into one final cut (final stitching). **Free** (pure stitching, no quote confirmation required), async in backend. Before starting, a final-stitch precheck runs: shots missing video or video tasks still generating will hard-block with 400 and list the problem shots (blockers); fix them and retry. If you really want a partial final cut, pass force=true (shots missing video are skipped, final cut lacks shots, logged). advisories in the response (duration drift/orphan tasks/missing TTS) are warnings only, not blockers; handle them one by one before stitching. After starting, poll with get_final_cut.\n★【Video and dubbing review hard gate · Free】Before this step you must call review_videos: relay the returned findings to the customer verbatim one by one (each with code=issue type, shots=hit shot numbers, action=which tool to use to fix), then pass the review_token into this tool. If not reviewed, 400 rejection. If content changed after review → token auto-invalidates; just review again (still free). error blocks by default; only if the customer is informed and insists on proceeding as-is may you pass acknowledge_review:true — proceeding with known issues will likely produce unusable video and still charge credits as usual (acknowledge_review only means the customer personally agreed; every execution mode requires explicit customer consent, autopilot included). In autopilot, only whitelisted heuristic errors may pass with auto_acknowledge:true (platform decides; if not whitelisted, returns 400 AUTOPILOT_MUST_ASK: must_ask_customer=true means pause to ask customer, false = self-fix per action and re-review). ★ For gray rollout dramas, you (agent) must personally QC: inspect materials item by item per agent_qc from review_videos, answer every checklist item, and submit via submit_qc_report before this token can be used (not submitted → 400 agent_qc_required; report has issues → blocked by default like error).\n★【Post-completion QC · Free】After the final cut is ready, run review_final_cut (missing shots/subtitles not fitting/identity anchors/axis jumps/typos; proofread=false means no credits charged), tell the customer the conclusion; call confirm_delivery_acceptance only after customer confirmation (delivery acceptance requires explicit customer consent in every execution mode, autopilot included). force only bypasses the final-stitch precheck, not the review gate.",
58
+ "compose_episode": "Stitch all shot videos of one episode into one final cut (final stitching). **Free** (pure stitching, no quote confirmation required), async in backend. Before starting, a final-stitch precheck runs: shots missing video or video tasks still generating will hard-block with 400 and list the problem shots (blockers); fix them and retry. If you really want a partial final cut, pass force=true (shots missing video are skipped, final cut lacks shots, logged). advisories in the response (duration drift/orphan tasks/missing TTS/post_production_pending unfinished post-production effects) are warnings only, not blockers; handle them one by one before stitching. After starting, poll with get_final_cut.\n★【Video and dubbing review hard gate · Free】Before this step you must call review_videos: relay the returned findings to the customer verbatim one by one (each with code=issue type, shots=hit shot numbers, action=which tool to use to fix), then pass the review_token into this tool. If not reviewed, 400 rejection. If content changed after review → token auto-invalidates; just review again (still free). error blocks by default; only if the customer is informed and insists on proceeding as-is may you pass acknowledge_review:true — proceeding with known issues will likely produce unusable video and still charge credits as usual (acknowledge_review only means the customer personally agreed; every execution mode requires explicit customer consent, autopilot included). In autopilot, only whitelisted heuristic errors may pass with auto_acknowledge:true (platform decides; if not whitelisted, returns 400 AUTOPILOT_MUST_ASK: must_ask_customer=true means pause to ask customer, false = self-fix per action and re-review). ★ For gray rollout dramas, you (agent) must personally QC: inspect materials item by item per agent_qc from review_videos, answer every checklist item, and submit via submit_qc_report before this token can be used (not submitted → 400 agent_qc_required; report has issues → blocked by default like error).\n★【Post-completion QC · Free】After the final cut is ready, run review_final_cut (missing shots/subtitles not fitting/identity anchors/axis jumps/typos; proofread=false means no credits charged), tell the customer the conclusion; call confirm_delivery_acceptance only after customer confirmation (delivery acceptance requires explicit customer consent in every execution mode, autopilot included). force only bypasses the final-stitch precheck, not the review gate.",
59
59
  "get_final_cut": "Check an episode final cut status and download link. When status=completed, returns download_url(our COS direct link, downloadable directly). Free. ★bgm_stale=true means BGM was generated/modified after the final cut and is not yet in the final cut: just compose_episode again (free), do not re-render. ★If a current delivery version has been set (external version registered by register_external_delivery, or platform version specified by set_current_delivery), also returns delivery—that is the version the customer actually received; download_url remains the platform's latest stitched final cut. To see what every final-cut version used and its hash, use list_deliveries.",
60
60
  "get_export": "Check an episode export/master status (downloadable master after final assembly). Free.",
61
61
  "review_final_cut": "**Final cut checkup**: Before export, run through the whole episode—shots with no generated frame, subtitles that do not fit on one screen, characters without identity anchors, shot continuity (axis jump), plus one typo proofread pass.\n★**Advisory, non-blocking**: can_export=false only means there are block-level issues worth checking first; the platform will not stop you from running compose_episode / get_export. Explain findings to the client one by one (code=issue type, shots=hit shot numbers, action=which tool to use to fix), and **let the client decide whether to fix or publish as-is**.\n★Cost: the check itself is free, but by default it runs one LLM typo proofread pass—**that step costs credits**. If proofreading is not needed, pass proofread=false (faster and no credits charged).\n★For subtitles and typo items, view the **original text** in the official website checkup panel; here only conclusions and shot numbers are returned.",
@@ -94,7 +94,7 @@
94
94
  "generate_color_script": "Generate the drama color script (unifies color mood across the film). ★Main pipeline step: run after storyboard and before generate_frames. During image/video generation, it injects color-grading instructions per shot; skipping does not error or block you, but silently disables injection and each shot’s color tone drifts independently. Requires existing script text for this drama/episode. Backend async; after completion, get_color_scripts can read it and get_pipeline_status generate_color_script becomes done. Text step, no quote_*, usage-based postpaid with no arrears—just inform the customer.",
95
95
  "generate_motion_templates": "Optional experiment: extract motion templates from existing storyboards. Call only when the customer explicitly requests it; not a required pipeline step. First/last frames do not inject motion templates by default, so no need to add this before generate_frames; video templates may be cropped and are not guaranteed to be delivered or beneficial. Synchronously returns created_count; get_motion_templates remains available for reading and management. Text step, no quote_*, usage-based postpaid.",
96
96
  "quote_scene_images": "Quote: credits needed to batch generate **empty scene plates** for scenes missing images. Returns images_to_generate, estimated_points, quote_id. No charge. ★This is a step **before** generating shot frames, not an optional enhancement: scene images are background anchors; every shot frame in the same scene anchors to it. ★Only quotes scenes that \"do not yet have images\"; existing images are not charged again. Quote the whole drama at once (by drama_id, not episode_id). ★To check how many are missing first, use get_pipeline_status generate_scene_images step (completed/total, free). ★Returns two numbers: estimated_points is the **upper bound** (estimated by the maximum reference-image count; prepare balance with this and you will not hit 402 mid-run), typical_points is the **typical cost**. Tell the customer both; only quoting the upper bound makes it look much more expensive. Under fixed-price models (e.g. Nano Banana series), they are equal.",
97
- "generate_scene_images": "After confirmation, batch generate **empty scene plates** (one character-free background image per scene): backend async, only fills scenes that \"do not yet have images\". ★Do this **before generating shot frames**. Skipping will not error or block you, but the cost is real: the platform fallback is \"when frame generation finds the scene has no image → generate one in the background\"; that generated image only benefits **subsequent** shots in the same scene. The triggering shot cannot wait for it, so **the first shot of each scene has no background anchor**—and the first shot is often the tone-setting shot; backgrounds will also drift across subsequent shots. It pairs with character sheets: character sheets anchor people, scene images anchor settings. ★If the output is wrong, do not rerun this tool (it only fills missing scene images and skips all existing ones): `get_scene_prompt` read the text → `update_scene` edit image_prompt → `regenerate_scene_image` regenerate one scene. ★For non-modern genres, set `set_era_contract` first, otherwise plates may be drawn in the wrong era and all downstream shot frames in that scene will follow. ★Check progress via get_pipeline_status generate_scene_images step. ⚠️ Batch quote confirmation flow: first call the corresponding quote_* tool to get estimated_points and quote_id, then call this tool with quote_id (quote confirmation follows execution mode: Professional mode / unconfirmed plan / this step is customer-controlled → explain to the customer and run only after customer approval; do not decide for them. This step in autopilot → do not ask the customer; follow get_production_plan autopilot.default_decisions, and the platform records it in get_autopilot_log). For autopilot steps, the quote must be within the hard budget cap; if blocked by 402 BUDGET_WOULD_EXCEED, stop and ask the customer. ★**Image-generation quotes (character sheets/scene images/frames) provide two numbers**: estimated_points is the **upper bound** (estimated by that model’s maximum reference-image count, ensuring you do not start with too-low a budget and get interrupted by 402 halfway); typical_points in the same response is the **typical cost**. Tell the customer both—only saying the upper bound makes it seem much more expensive (the full-reference upper bound can exceed the typical value by more than 2×), while only saying the typical value may leave insufficient balance. Under fixed-price models they are equal, in which case one number is enough. Video quotes and charges use the same function; this interval does not exist there.\n★【Post-completion QC·free】After generation, wait for images to be saved (poll corresponding get_* status; do not call again while pending), then call review_assets for asset-layer review (missing images / generating / failed / rejected by consistency gate / prop era conflict / color script). Tell the customer the findings verbatim, fix according to action, then re-review; then personally inspect each image according to the returned agent_qc (whether it resembles the profile, whether it is the same person, whether the era is correct; for character sheets, whether all angles are complete and proportions/structure are correct; whether props and scene images make sense in the story—check the referenced used_in_shots shots), submit_qc_report to submit the QC report; when generating shot frames, pass its review_token as asset_review_token to generate_frames / generate_shot_frame.",
97
+ "generate_scene_images": "After confirmation, batch generate **empty scene plates** (one character-free background image per scene): backend async, only fills scenes that \"do not yet have images\". ★Do this **before generating shot frames**. Skipping will not error or block you, but the cost is real: the platform fallback is \"when frame generation finds the scene has no image → generate one in the background\"; that generated image only benefits **subsequent** shots in the same scene. The triggering shot cannot wait for it, so **the first shot of each scene has no background anchor**—and the first shot is often the tone-setting shot; backgrounds will also drift across subsequent shots. It pairs with character sheets: character sheets anchor people, scene images anchor settings. ★If the output is wrong, do not rerun this tool (it only fills missing scene images and skips all existing ones): `get_scene_prompt` read the text → `update_scene` edit image_prompt → `regenerate_scene_image` regenerate one scene. ★For non-contemporary or surreal genres, set `set_era_contract` first, otherwise plates may be drawn in the wrong era and all downstream shot frames in that scene will follow. ★Check progress via get_pipeline_status generate_scene_images step. ⚠️ Batch quote confirmation flow: first call the corresponding quote_* tool to get estimated_points and quote_id, then call this tool with quote_id (quote confirmation follows execution mode: Professional mode / unconfirmed plan / this step is customer-controlled → explain to the customer and run only after customer approval; do not decide for them. This step in autopilot → do not ask the customer; follow get_production_plan autopilot.default_decisions, and the platform records it in get_autopilot_log). For autopilot steps, the quote must be within the hard budget cap; if blocked by 402 BUDGET_WOULD_EXCEED, stop and ask the customer. ★**Image-generation quotes (character sheets/scene images/frames) provide two numbers**: estimated_points is the **upper bound** (estimated by that model’s maximum reference-image count, ensuring you do not start with too-low a budget and get interrupted by 402 halfway); typical_points in the same response is the **typical cost**. Tell the customer both—only saying the upper bound makes it seem much more expensive (the full-reference upper bound can exceed the typical value by more than 2×), while only saying the typical value may leave insufficient balance. Under fixed-price models they are equal, in which case one number is enough. Video quotes and charges use the same function; this interval does not exist there.\n★【Post-completion QC·free】After generation, wait for images to be saved (poll corresponding get_* status; do not call again while pending), then call review_assets for asset-layer review (missing images / generating / failed / rejected by consistency gate / prop era conflict / color script). Tell the customer the findings verbatim, fix according to action, then re-review; then personally inspect each image according to the returned agent_qc (whether it resembles the profile, whether it is the same person, whether the era is correct; for character sheets, whether all angles are complete and proportions/structure are correct; whether props and scene images make sense in the story—check the referenced used_in_shots shots), submit_qc_report to submit the QC report; when generating shot frames, pass its review_token as asset_review_token to generate_frames / generate_shot_frame.",
98
98
  "upload_image": "Upload a local image to our COS and return image_url (browser/client uploads bytes directly to COS, not through the business server). Used as a reference image for video editing, or to get a URL before registration. Free.",
99
99
  "set_character_portrait": "Use the customer's own image as the character sheet (identity anchor, higher priority than AI-generated; later AI regeneration will not overwrite it by default). ★★Image requirements (platform auto-checks before registration; noncompliance returns 422 and does not register): **only this one character** (no other people/group photo/background passersby); **single image, single angle** (not a collage/nine-grid/multi-view turnaround—the platform generates turnarounds from the character sheet); front or 3/4 view, clear unobstructed face, clean background; **no text anywhere on the image** (watermarks/subtitles/name labels/logo/text on clothing are all forbidden; text will be replicated into every shot). Before uploading, first inspect the customer's image; if noncompliant, ask the customer to replace it first, do not upload directly. If rejected, tell the customer the issue in message verbatim; only if the customer has seen the issue and explicitly insists on using this image should you retransmit with allow_issues:true (auto-check may be wrong). ★Changing the image invalidates existing derived assets (turnarounds/multi-angle avatars/hair·body references) and rebuilds the face lock, but **the turnaround is not automatically regenerated**—after changing, you must run generate_character_sheet(character_id) to regenerate the turnaround from the new character sheet (next_step in the response will prompt this), otherwise the character has only the character sheet as an anchor. ★After changing the image, the response contains stale_frames=[{storyboard_id,storyboard_number,frames}]—the first frames of these shots were generated from the old character sheet and are contaminated. To make the new character sheet take effect: for each stale_frame, use quote_shot_frame+generate_shot_frame to regenerate that shot (the platform will automatically use the new character sheet/turnaround/face lock as anchors to preserve full-film consistency). No need to specify model/first/last frames shot by shot yourself. ★Never self-make first/last frames and then upload_shot_frame—external images lack character identity anchors/style anchors, so people·costumes·style will drift; that is the root cause of unusable films (not \"preventing unusable films\"). ★Changing the image only **unlinks references**; files for the old character sheet/turnaround are not deleted. old_assets in the response lists unlinked old assets item by item: unlinked=[{kind,url,in_history}] (in_history=false means the platform kept no record—typical for a customer's uploaded old character sheet; save the url yourself if you need to keep it), physically_deleted is always empty. If the customer says \"delete the old image\", tell them truthfully that it is no longer used but the file still exists; do not say it has been deleted. Pass either a local file (file_path, auto-upload to COS) or an already-hosted image URL (image_url). Registration is free; content checking is a small visual audit charged postpaid by usage.\n★【Post-completion QC · free】After generation, wait for images to be stored (poll the corresponding get_* for status; if pending, do not call again), then call review_assets to audit the asset layer (missing image / generating / failed / rejected by consistency gate / prop-era conflict / color script), tell the customer findings verbatim, fix according to action and re-audit; then personally inspect each image according to the returned agent_qc (whether it matches the profile, is the same person, era is correct; for the turnaround itself, whether all angles are complete and proportions/structure are correct; whether prop and scene images make sense in the plot—compare the shots listed in used_in_shots), submit_qc_report to submit the QC report; when generating shot images, pass its review_token as asset_review_token to generate_frames / generate_shot_frame.",
100
100
  "upload_shot_frame": "Use a **customer-owned image** as a shot's first_frame or last_frame. last_frame is optional—only pass it when you want to fix a shot's ending image (large camera move/reveal shot); normally only first_frame is needed. Marks any existing video for that shot as stale and awaiting regeneration. Auto-upload + registration. Free. ⚠️ Only use for customer-provided material, or **local repair of this shot's platform candidate** (recovery_options upload_fixed: crop/color-grade/fix small defects on the original image returned by get_frame_candidates, then upload after customer confirmation). To \"redraw a shot\", use generate_shot_frame to let the platform regenerate it—images generated from scratch by external tools do not carry this film's identity anchors and style anchors, so people/costumes/style will drift.",
@@ -181,8 +181,8 @@
181
181
  "update_character": "Modify character settings (name/appearance/age group/ethnicity/gender/personality/role weight/profile lock). After changes, regenerate character sheet/related images. Free. ★profile_locked=1: after customer confirms appearance, lock the profile; subsequent AI extraction will no longer overwrite appearance/personality/description—appearance is anchored by the character sheet and face lock; if overwritten = face changes across the whole film. Lock once satisfied; to modify again, pass 0 to unlock first.",
182
182
  "delete_character": "Delete a character (use for mistaken extraction/merging). Free.",
183
183
  "update_scene": "Modify scene settings (name/description/location/time_of_day/mood), plus the **scene image prompt body** (image_prompt). Free (pure text DB write). ★If the scene image is unsatisfactory, changing image_prompt is the direct method—changing only location/time_of_day makes the platform re-compose, but may not fix it; before editing, use get_scene_prompt to read the current value, then use regenerate_scene_image to regenerate this scene image. ★Changing the scene image will not automatically regenerate already-generated shot frames: those frames still use the old scene image as the background anchor; to catch up, regenerate shot by shot.",
184
- "set_era_contract": "Set the era contract for **this episode** (free, pure text DB write). ★This is the only era mechanism that overrides the visual lock—costume/republican/xianxia projects **must set it before image generation**; otherwise the platform can only fight via prompt text, and era confusion (modern objects in ancient images, fairy realms drawn as realistic ancient settings) is basically caused by this being empty.\nHow to choose the four levels:\n· modern —— modern/contemporary urban. Use this if unsure.\n· republican —— Republican era, early twentieth century.\n· historical —— researchable historical dynasties; this level pushes images toward **researched realism**.\n· fantasy —— ★xianxia/fantasy/fairy realms: cultivation worlds, spirits taking form, and other **non-realistic** oriental fantasy. For these projects **do not use historical**—that level requires researched realism and will judge glowing aura, floating landforms, and non-human forms as \"era-inappropriate\", dragging the image toward realistic ancient style.\n★Setting this will not automatically regenerate existing images: to make images follow it, call generate_frames / regenerate_scene_image again. ★To make an exception for one scene, use update_scene era_contract to override individually (scene-level overrides episode-level).",
185
- "get_era_contract": "Read the current era contract for this episode + the per-scene override list + usage notes for the four optional levels. Free. Read once before editing: it shows \"which level is set at episode level and which scenes have individual overrides\", avoiding the whole episode's unified era being messed up scene by scene. ★era_contract null means **unset**—if a costume/xianxia project shows null, set_era_contract before image generation.",
184
+ "set_era_contract": "Set the era contract for **this episode** (free, pure text DB write). ★This is the only era mechanism that overrides the visual lock—costume/republican/xianxia/surreal projects **must set it before image generation**; otherwise the platform can only fight via prompt text, and era confusion (modern objects in ancient images, fairy realms drawn as realistic ancient settings) is basically caused by this being empty.\nHow to choose among the five levels:\n· modern —— modern/contemporary urban. Use this if unsure.\n· republican —— Republican era, early twentieth century.\n· historical —— researchable historical dynasties; this level pushes images toward **researched realism**.\n· fantasy —— ★xianxia/fantasy/fairy realms: cultivation worlds, spirits taking form, and other **non-realistic** oriental fantasy. For these projects **do not use historical**—that level requires researched realism and will judge glowing aura, floating landforms, and non-human forms as \"era-inappropriate\", dragging the image toward realistic ancient style.\n· surreal —— ★modern + surreal: a contemporary city with author-defined surreal elements (surreal bodies, urban anomalies). Baseline is the same as modern; list each surreal element in positive—they are treated as world canon and never judged as era conflicts. Traits describing people's bodies apply to every person in frame (including unreferenced passers-by and crowds); traits describing the environment apply to the world only. For these projects **do not use fantasy**—that level hardcodes oriental xianxia and forbids contemporary clothing.\n★Setting this will not automatically regenerate existing images: to make images follow it, call generate_frames / regenerate_scene_image again. ★To make an exception for one scene, use update_scene era_contract to override individually (scene-level overrides episode-level).",
185
+ "get_era_contract": "Read the current era contract for this episode + the per-scene override list + usage notes for the five optional levels. Free. Read once before editing: it shows \"which level is set at episode level and which scenes have individual overrides\", avoiding the whole episode's unified era being messed up scene by scene. ★era_contract null means **unset**—if a costume/xianxia project shows null, set_era_contract before image generation.",
186
186
  "get_scene_prompt": "Read the prompt body for a scene's **scene image (empty-scene base plate)**, for direct fine-tuning then writing back via update_scene image_prompt. Free. ★Per-scene as needed: read the scene you want to edit (the full-episode list get_scenes is a pure asset view and does not include prompts). ★This is the body layer in the scene table; during image generation the platform also adds style blocks, empty-scene constraints, and era lock on top (not here, and you do not need to write them). The returned has_image indicates whether this scene already has an image.",
187
187
  "quote_scene_lighting_ref": "Quote for adding a lighting reference image to a scene (free, no image generation). Lighting reference image = an image that reproduces only this scene's lighting, not used as identity reference: the new version is an identity-free lighting probe (two matte calibration spheres on a neutral gray background, no people); if the platform has not yet switched this drama to the new version, it is still a neutral face close-up; the returned note explains which type this drama will get. Used to unify lighting when close-up/extreme close-up shots cannot see the scene image. Only needed when the scene lacks one (e.g. after uploading a new scene image); not needed for scenes with wide shots but no first frame yet (the platform derives it automatically when generating wide-shot frames). Returns 400 with the reason if not eligible. ⚠️ Batch quote confirmation flow: first call the corresponding quote_* tool to get estimated_points and quote_id, then use quote_id to call this tool (quote confirmation follows execution mode: professional mode / unconfirmed plan / customer-controlled stage → explain to the customer and proceed only after customer consent, do not decide for the customer; autopilot stage → do not ask the customer, follow get_production_plan autopilot.default_decisions, and the platform records it in get_autopilot_log). Autopilot-stage quotes must fit within the hard budget cap; if blocked by 402 BUDGET_WOULD_EXCEED, stop and ask the customer. ★**Image-generation quotes (character sheet/scene image/frame generation) give two numbers**: estimated_points is the **upper bound** (estimated by the max number of reference images for that model, ensuring you don't start with an under-budget and hit 402 halfway); typical_points in the same response is the **typical cost**. Tell the customer both—only stating the upper bound makes it look much more expensive (the full-reference upper bound can exceed typical by over 2x), while only stating typical may leave insufficient balance. For fixed-price models they are equal, so one number is enough. Video-generation quote and charging use the same function, so this range does not exist.",
188
188
  "generate_scene_lighting_ref": "Add this scene's lighting reference image per the quote (background image generation, deducts credits by usage). After completion, this scene's lighting reference field in get_scenes will have a value.",
@@ -237,5 +237,7 @@
237
237
  "set_voice_anchor_from_shot": "Select a character’s voice line (voice baseline) from a shot in this episode. Free. No external audio source is required from the client—use the voice this character has already spoken in the video.\n★★【In native-audio dramas (use_clip_audio=true, default), this is “voice locking”】After selection, later video generation will pass this audio to the video vendor as reference audio, so the same character’s voice across shots follows it; without locking, the vendor samples each shot independently and the voice may drift across shots.\n★Which shot to choose: a shot where the character **speaks alone, has a longer line, and has no background music or interruptions by others**; start_s/dur_s can clip only part of it (if omitted, the default window is used, and duration is automatically clamped to each engine’s limit).\n★Only affects videos generated **afterward**. Shots already generated before locking will appear in get_pipeline_status under native_voice_anchor.stale_shots; regenerate them with regenerate_shot_video to unify the voice. The cheapest workflow is: generate one shot for each speaking character first, select the voice line, then batch-generate the remaining shots.\n★Works even if the dialogue field is empty: actual audio is authoritative—the platform uses calibrated voice activity detection to confirm there is speech in the selected interval, and uses the transcription text as anchor text; if no speech is detected or no usable text can be transcribed, it rejects (a wrong anchor would pollute all later shots’ voices, so reject rather than guess). The response field text_source indicates whether text came from dialogue or transcription.\n★Preview first with preview:true: only clips and returns preview_url plus anchor text, **without writing to the character**; if it sounds right, remove preview and formally submit with the same start_s/dur_s.\n★Noise removal and acceptance check (effective when enabled by the platform for the episode; response contains hygiene): automatically removes pure environmental-noise pauses between two lines and measures sample noise floor (noise_floor_before/after, threshold threshold). In preview, preview_url is the **cleaned** sample and raw_preview_url is the original—**ask the client to compare both before/after by listening**. verdict=fail means obvious environmental noise or music is under the voice (removing pauses cannot fix it; cloning and the video vendor will learn it as part of the timbre), and formal submission will be rejected: choose a cleaner shot, or adjust start_s/dur_s to avoid background sound; only pass allow_issues:true to write it if the client has listened and explicitly insists.\n★If the client has an authorized external audio source, use clone_voice + set_character_voice instead; choose one of the two, and the later setting overrides the earlier one.",
238
238
  "export_handoff_pack": "After delivery traceability is enabled, an immutable export manifest is saved (assets are not modified). Keep pack_id and manifest_sha256, and reference them when returning an external final cut. Export the “asset handoff package” manifest for this episode: downloadable URLs for each-shot raw clips + dialogue tracks + sound effects + music + subtitles, for you to complete transition decisions, stitching, mixing, and subtitle burn-in **on your own side**—the platform does not participate in final assembly. Free, zero credits.\n★Local color grading / third-party AI post: purpose=local_color; when there are only images, pass media_type=images, no need to generate video. This mode preserves source files, disables the export package’s automatic LUT, and includes post-production notes and a local comparison-page flow; it does not upload to third parties, charge for generation, or backfill the platform. Image sources may already have been processed, so not all exported images can be promised as ungraded originals.\n\n【Recommended workflow】① Call this tool to get manifest; ② Download raw clips locally via clips[].url; ③ Watch the clips yourself and decide which transition to use at each seam (manifest provides scene_boundary as a scene-boundary criterion), write a plan.json; ④ Use get_handoff_toolchain to get compile_timeline.py to expand the timeline and assemble.sh to assemble the final cut. The toolchain already calculates how subtitles/dialogue/SFX shift after overlapping transitions are added.\n\n【Three facts that will break things if ignored】\n① **Where the voice is must be read per shot from `shots[].voice_track.location`, not from the episode-level audio_contract.mode**—the latter is an episode-level declaration, while in all-offscreen-narration shots the narration is mixed into the raw clip on the platform completion side, so it can differ per shot within the same episode. The four values require different handling: `separate_file`=dialogue is in dialogue_audio; if you do not lay it in, this shot has no lines; `baked_in_clip`=already in the raw clip audio track; overlaying it again causes double voice; `missing`=**platform side confirmed missing** (narration compensation failed); subtitles still exist but the sound is nowhere—regenerate this shot on the platform; extending a transition cannot hide it; `unknown`=there are lines but the source cannot be found, **you must listen to the raw clip** before deciding. ★Subtitles never imply there is sound: subtitles are per sentence, audio is per shot. For shots with `conflicts_with_contract=true`, trust measurement; notes already name them by shot number.\n② Each shot must be trimmed using trim_head_ms / duration_ms before use; directly stitching the full raw clip will include head/tail deformed frames that the platform already QC’d out.\n③ Subtitle cues, dialogue_audio.offset_ms, and sfx[].offset_ms are all based on “millisecond 0 after this shot’s trim”, not absolute final-cut time. No matter how many overlapping transitions you add, do not modify them—let compile_timeline.py expand them; do not manually accumulate times.\n\nIf you want the platform to assemble it, or need platform-level quality gates (final assembly precheck / equal audio-video duration / loudness mastering), use compose_episode.",
239
239
  "get_handoff_toolchain": "Get the source code for the asset handoff package assembly toolchain (compile_timeline.py timeline compiler / assemble.sh ffmpeg assembly script). Free. This tool only returns source text and **will not** write files on your machine—save it to your working directory yourself before running.\ncompile_timeline.py expands “shot-relative” subtitle/dialogue/SFX anchors into absolute timecodes on your own timeline and handles global offsets caused by overlapping transitions; assemble.sh is a complete ffmpeg assembly baseline from raw clips to final cut (trim → normalize → concat/xfade → music sidechain → subtitles → two-pass master). Dependencies: ffmpeg (with libass for subtitle burn-in), ffprobe, jq, python3.",
240
- "save_handoff_toolchain": "Write the assembly toolchain (fetch_pack.py / compile_timeline.py / assemble.sh) directly to a local directory, avoiding manual copy/paste. Free. The directory must **already exist** and be an absolute path; filenames are fixed and cannot be customized.\nRefuses to write into hidden directories (~/.ssh, ~/.config, .git…) and system directories—this is disk writing, not reading, and overwriting the wrong place is irreversible.\nFull workflow after writing to disk:\n python3 fetch_pack.py manifest.json -o ./pack # Download assets and materialize inline subtitles as SRT\n python3 compile_timeline.py ./pack [--transitions plan.json]\n ./assemble.sh ./pack out.mp4 [plan.json]"
240
+ "save_handoff_toolchain": "Write the assembly toolchain (fetch_pack.py / compile_timeline.py / assemble.sh) directly to a local directory, avoiding manual copy/paste. Free. The directory must **already exist** and be an absolute path; filenames are fixed and cannot be customized.\nRefuses to write into hidden directories (~/.ssh, ~/.config, .git…) and system directories—this is disk writing, not reading, and overwriting the wrong place is irreversible.\nFull workflow after writing to disk:\n python3 fetch_pack.py manifest.json -o ./pack # Download assets and materialize inline subtitles as SRT\n python3 compile_timeline.py ./pack [--transitions plan.json]\n ./assemble.sh ./pack out.mp4 [plan.json]",
241
+ "get_post_production_checklist": "Read this episode's **post-production effects checklist** (free). Items marked in the script as [VFX: …] or written in shot prompts as \"post-production / composited later\" are **not composited by the platform**—image and video generation leave them out and the final cut does not add them, so the finished episode lacks these story elements unless handled. Per item: shot_number, time start_s~end_s, content, source (vfx_tag shot annotation / prompt / script_unassigned = in the rewritten script but not attached to any shot), narrative_required (story-critical; cosmetic items such as color grading are false), status (pending / done_external / waived). ★Review before composing; tell the client about narrative_required pending items and ask: do it in external post (then mark_post_production_item done_external), change the shot so the platform draws it (update_shot then regenerate that shot), or drop it (waived). review_videos / compose_episode give an advisory for unhandled items.",
242
+ "mark_post_production_item": "Mark one item of the post-production checklist (free): status=done_external (client finished it outside the platform) / waived (client decided not to do it) / pending (undo). key comes from get_post_production_checklist; it changes after the shot or prompt is edited—on 400, re-read the checklist. (Marking post-production items requires explicit client consent in every execution mode, including autopilot.) Marking is bookkeeping only and does not change the final cut; if the client wants the externally finished version delivered, use register_external_delivery."
241
243
  }