/topview-browser:operate-topview-canvasfrom Topview
List, create, open, and manage Topview Canvas projects; place nodes with an orderly layout protocol; run Canvas-owned generation via capabilities → V2 submit → refresh; assemble and export Timeline videos through the unified remote Topview MCP.
Ships in Topview. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use the plugin's topview-browser MCP server as the Canvas data and action boundary. It is the same remote MCP connection used by other Topview skills.
If this task used Topview MCP tools, immediately before the final user reply follow the installed Topview plugin's shared references/skill-feedback.md once with skillName="operate-topview-canvas". Diagnose whether this Skill or its Topview MCP contract should improve using the current task context; this is best-effort guidance, never a blocking Hook.
When the user asks whether the Topview plugin is up to date, which version is installed, or asks to upgrade/reinstall the plugin, call topview_check_plugin_update first. Use its returned downloadUrl and host-specific upgradePrompt verbatim — never invent a CloudFront URL or substitute a host marketplace command. After a successful upgrade, call topview_ack_plugin_update with action=upgraded; if the user declines an upgrade prompt, call it with action=dismissed.
For multi-stage Canvas creation workflows (replication, ecommerce, short film, social, element editing, research→generate), use $canvas-agent-workflows on top of this skill. This skill stays the atomic MCP / V2 / layout / Timeline contract (no Agent-facing Canvas revision CAS).
Contract reference for parameters and text envelopes: references/canvas-mcp-api.md.
Layout algorithms and default sizes: references/node-layout.md.
Generic Group composition: references/node-groups.md.
Capability-first planning and universal duration splits: references/generation-planning.md.
Seedance 2.5 task-mode and prompt contract: references/seedance-2.5.md.
Topview T1 video parameter contract: references/topview-t1.md.
Local files → durable upload sources: references/local-media-bridge.md.
content[0].text. Use structuredContent when present. Business failures often set isError=true while HTTP stays 200.revision for observability. Do not send expectedRevision on node mutations, generation submit, or generation refresh. Do not chain revisions, keep a revision cursor, or take max(revision) after a parallel wave for the next write. Do not call get_topview_canvas_state solely to obtain a revision. Do not request fields=["revision"] — revision is always present on the state root when returned and is not a filterable field. Do not claim sinceRevision exists. Do not teach Canvas REVISION_CONFLICT recovery via fresh expectedRevision (Timeline ETag conflict is separate — see Timeline).nodeId / taskId / mediaRef / shortCode) from this wave; (b) distinct targets / parentId / sceneNodeId / tasks — never same-target concurrent writes; (c) distinct commandId per paid intent, params frozen from capabilities, no paid probing; (d) geometry preplanned from one state snapshot with non-overlapping explicit coords for top-level creates/submits — if the next placement needs a previous returned height, eject strip, or scene stack, stay serial; (e) wait-all wave results before the next turn; (f) projection/mention dependents wait for consistencyStatus=projected. Prefer parallel for independent reads, preplanned Asset/Scene creates, independent submits with layout/parentId, and independent refreshes. Must stay serial for Asset→Scene, storyboard→video, same-node mutations, same asset-slot submit, geometry-dependent placements, and commandId retries. Keep parallelSameCanvasWrites=false for same-target / dependency-unsafe writes. Background generation may run concurrently after submits return._test middle segment (for example open_topview_canvas, not open_topview_canvas_test). Project lifecycle tools have no _test aliases.uid, userId, teamId, or org fields; OAuth supplies identity.nodeId plus optional shortCode, mentionToken, and consistencyStatus. Prefer canvas_node.nodeId for typed inputs. Use shortCode / mentionToken only for prompt mentions (<<@shortCode>>). Do not require or read Agent-facing assetId. Do not use deprecated wire canvas_asset even if Gateway schema still exposes it.submit_topview_canvas_generation_task in this Agent task, follow Paid generation approval mode under Generate media — ask once for confirm_each_submit vs autonomous; never paid-submit before the mode is set.open_topview_canvas or open_topview_canvas_workspace; both validate access and return the authorized public webLink without iframe resources, embed tickets, OAuth tokens, or credentials in the URL. If the requested workspace is known, use only open_topview_canvas_workspace (currently workspace="canvas"); otherwise use only open_topview_canvas. Never call both for the same request, never assemble or guess a Canvas URL, and never offer a ui://… resource URI as a browser link.webLink automatically and keep the Canvas visible in the host's browser pane or right-side panel. Do not claim a fixed pane placement the host cannot guarantee. If Browser access is unavailable, disabled, or awaiting user approval, return webLink verbatim as a clickable Markdown fallback and state the specific boundary. A second Topview web login is acceptable; never request or relay passwords, cookies, OAuth codes, or tokens.world_3d, and director_stage creation must target a resolved/created Canvas that is already visible in the host Browser or has been handed off through the clickable fallback. Reuse an already-visible matching Canvas. Keep the Canvas visible so the user can participate manually throughout the workflow.On errorCode=CAPABILITY_VERSION_EXPIRED: call get_topview_canvas_generation_capabilities again, pick a matching entry, and resubmit with the new capabilityVersion.
On errorCode=PARAMETER_VALIDATION_FAILED (fieldErrors present): fix only the listed fields using capability requiredParameters / defaults / parameterEnums / inputRoles (or include=["schema"] when summary is insufficient). Do not probe with paid submits.
canvasId from the user's Canvas URL, explicit ID, attached target, or a lifecycle-tool result. Never substitute a shared demo Canvas.canvasId is available, call list_topview_canvases first. Use a bounded limit (prefer 20, maximum 50). If the result is truncated, say so. Let the user choose when multiple Canvases plausibly match.create_topview_canvas when the user asks for a new Canvas. Report its name first; retain canvasId as an operational reference, not the primary user-facing text. Creating a project does not create nodes.get_topview_canvas_metadata for name and timestamps. update_topview_canvas_metadata renames only.delete_topview_canvas only after explicit confirmation. Restate name and canvasId, then send the same ID as both canvasId and confirmCanvasId.Project lifecycle tools do not read or mutate node state. Board tools (topview_list_boards, topview_create_board, …) manage Marketing Studio boards, not Canvas projects.
open_topview_canvas_workspace when the requested workspace is known, otherwise use only open_topview_canvas. Then navigate the returned webLink with the host Browser when available; otherwise present that exact link as the fallback. Do not call both MCP open tools. If the Canvas is already open and the user only asks for data mutations, do not reopen it.topviewCanvasSelection.selectedNodeIds as the intended target. Do not substitute nearby nodes.get_topview_canvas_state when you need geometry for layout or to confirm attached node IDs still exist — not to fetch a write cursor. Optional filters truly project/crop the response: fields / nodeIds / types. Allowed fields: nodes.basic, nodes.geometry, nodes.identity, nodes.generation, nodes.hierarchy. The root always keeps canvasId plus observational revision (not a fields value). Do not request fields=["environment"] — deploy-environment markers are not Agent projection fields; if a full state response still includes environment, ignore it and do not report it to the user. Prefer minimal projections; do not re-fetch full state solely between writes/refreshes.get_topview_canvas_node_details only for known IDs when type-specific fields, mediaRef, draft settings, or mention tokens are required.create_topview_canvas_text_nodeprepare_topview_canvas_media_upload → HTTP PUT → create_topview_canvas_media_node for local JPG/JPEG/PNG, MP4/MOV/WebM, or MP3/WAV/M4A; create media directly only for an existing durable URL/S3 keycreate_topview_canvas_generation_card (draft only, no paid submit)create_topview_canvas_scene_node (persisted SceneCard only; no storyboard/image/video submit)create_topview_canvas_file_nodecreate_topview_canvas_asset_nodecreate_topview_canvas_group_node (empty group; group existing nodes with group_topview_canvas_nodes)update_topview_canvas_node, update_topview_canvas_asset_node, set_topview_canvas_node_parent (destination coordinates), set_topview_canvas_nodes_state (hide/lock).move_topview_canvas_node, transform_topview_canvas_nodes, arrange_topview_canvas_nodes, normalize_topview_canvas_layout, set_topview_canvas_node_layer, duplicate_topview_canvas_nodes, group_topview_canvas_nodes, ungroup_topview_canvas_nodes. Arrange requires the same parent space; normalize is the overlap/group-frame repair.focus_topview_canvas_nodes or open_topview_canvas_node_tool. Keep using Canvas data tools for mutations and let the user inspect or finish UI-only forms in the open web Canvas. download_topview_canvas_nodes remains usable when the user explicitly requests downloads because it returns artifacts rather than rendering the Canvas.canvasId, nodeId, shortCode, mentionToken, and observational revision in working state for follow-up tools, but do not lead a user-facing update with raw IDs. Only include a compact “technical references” tail when it helps the user troubleshoot or identify an item. Honor consistencyStatus when present: pending_projection means DO committed but asset index is retrying—do not repeat the write or invent a shortCode; wait for projected when the next step needs that mention. Report projection_failed as an indexing failure even though the Canvas write committed. Do not chase or require assetId.title is node metadata and mention identity; the visible card body is content. Never create a title-only TextNode. Put the heading in the first line of content as well as in title when a heading is needed.content must be meaningful and non-empty. After a create or content update, use node details when needed to verify that data.content is present before claiming the note was written.backgroundColor: "#1A1A1A", backgroundOpacity: 1, color: "#FFFFFF". Use valid hex colors and choose foreground/background contrast deliberately.backgroundColor and backgroundOpacity are rendered. If a populated note is still not visible, keep the content, restore the safe visual payload, and ask the user to inspect the card in the open Canvas rather than recreating it blindly.Before any create_* that takes x/y, read references/node-layout.md and compute positions from the latest state. For grouping related nodes (briefs, reference packs, version clusters, storyboard paragraphs, etc.), also read references/node-groups.md and use it with the layout rules — Groups are a general composition pattern, not Scene-only. Summary:
| Rule | Value / behavior |
|---|---|
| Gap | 32px between top-level bboxes |
| Collision buffer | Expand rects by 24px before overlap tests |
| Row gap | 150px (BATCH_ROW_GAP) between one kind row and the next — a group frame and its floating title need this much clearance. node-layout.md §2 owns the value |
| Default image/video card | 480×270 (16:9); text 320×240; audio 480×160; file 360×120 |
| Asset card size | No assumable size — height is not accepted, the server computes it and it varies by assetKind. Create serially and read w/h back from each response before placing the next node. |
| Default SceneCard | 480×350; use the returned state geometry for the next placement |
| Single source / selection | Place below source (y = bottom + 32) or right of multi-select bbox |
| Row key | Asset cards row by assetKind (character / object / environment / style / custom / product); other nodes row by node type. get_topview_canvas_state omits assetKind — read it with get_topview_canvas_node_details before placing next to existing asset cards |
| No source | Extend that row key's row rightward (rightmost same-kind node + 32, same y); a kind new to the canvas starts a row at minX, maxBottom + BATCH_ROW_GAP; empty canvas (0,0) |
| Batch of N | One row per kind, never wrapped — eight character cards are one row of eight. On collision keep stepping right, never down, never fall back to a free slot |
| Forbidden | Stacking every node at (0,0) or one shared coordinate |
Paid generation placement tiers:
nodeId on submit (server placeholder). Prefer layout: { x, y, width?, height? } with non-overlapping coords from one state snapshot. layout is forbidden together with nodeId / parentId / sceneNodeId. Omitting layout keeps (0,0) compat; there is no BFF auto-avoidance — repair overlap with move / transform if needed.x/y/size, then submit with that nodeId (no layout on submit).nodeId and layout; pass parentId = <asset nodeId>; the server mounts the placeholder inside the card's 16:9 slot at { x: 12, y: 80 } (Asset Tier C auto layout unchanged). Prefer parameters.aspectRatio = "16:9" to fill that slot. Any existing image child is ejected below the card, not deleted — treat that strip as occupied when placing later nodes. The ejected take keeps its place under the Asset even when the board below is full: the server pushes whatever stood there clear, moving that row as a row. So a retry can change the coordinates of nodes you never touched — re-read state before your next placement. Never fall back to "generate at top level, then set_topview_canvas_node_parent after success" for asset media.sceneNodeId uses Scene column auto layout (unchanged); do not send layout.After creates, let the user inspect the new nodes in the already-open browser Canvas. If overlap already exists, repair it with normalize_topview_canvas_layout before more creates — pass parentId for one group's children, omit it for the top level. It only writes when something is actually broken, it is the only tool that also refits the group frame, and dryRun: true previews the fix. Fall back to explicit transform_topview_canvas_nodes coordinates when you need a layout it will not produce; do not use arrange_topview_canvas_nodes, whose align_* modes stack nodes rather than separate them. Repair overlap by moving nodes, not by shrinking asset cards — transform will not accept an asset card height either.
Use create_topview_canvas_scene_node when the user asks to add a scene/shot card. This is a persistence-only operation: it creates the story_scene node and its backend scene record, then stops. It never submits storyboard, image, or video generation and does not authorize a paid call.
fields including geometry) and compute layout (x/y, optional width/height) with the layout protocol. Use 480×350 for collision planning when size is omitted. Do not call get_state before every subsequent card solely to chase revision.commandId, sceneNumber, sceneSummary, sceneText, optional referenceNodeIds (at most 32 live Asset nodes), optional duration (integer 4…30), optional aspectRatio, and layout. Do not send environmentText, plotText, storyboardPrompt, or videoPrompt. Do not send expectedRevision.sceneText as <<@shortCode>> tokens. referenceNodeIds declares the complete asset relation: the server preserves existing tokens, injects a token at an exact unambiguous title/mention match, or visibly appends an unpositioned reference warning. Assets must already be projected (consistencyStatus=projected / usable shortCode); never invent shortCodes.commandId; otherwise a changed card gets a new commandId. Recompute placement from fresh geometry when layout is stale — do not recover via Canvas expectedRevision / REVISION_CONFLICT chaining.status=created|recovered, nodeId, sceneId, observational revision, final sceneText, referenceBindings, and warnings. REFERENCE_MEDIA_PENDING permits a draft but blocks paid storyboard generation until the asset has a durable image.Only enter the paid generation workflow below when the user separately asks to generate media.
Content edits go through update_topview_canvas_scene_node. Pass nodeId plus at least one of sceneText, sceneSummary, environmentText, duration, aspectRatio, videoPrompt. It writes the backend scene record and the canvas card in one call, so a later storyboard / video submit off the same sceneNodeId picks up the new text. No commandId, no payment.
Do not reach for update_topview_canvas_node — its patch whitelist has no scene fields and it rejects a story_scene node outright.
Two fields are create-only end to end, because the backend's update contract cannot carry them and the web editor cannot change them either:
sceneNumberreferenceNodeIds)Sending either to the update tool is rejected rather than silently dropped. Changing them means a new card with a new commandId, because create_topview_canvas_scene_node is create-only in three ways:
nodeId is derived from canvasId + commandId; you cannot target an existing node.commandId with changed fields fails with Scene node does not belong to this command — the content is hashed into the command identity.commandId with identical fields returns status=recovered and changes nothing.When re-creating to replace a whole set:
story_scene nodes with delete_topview_canvas_nodes. It now removes the backend scene record alongside the Canvas node and reports sceneCleanup; if a record could not be retired the response says so in a warning and names the orphan. Prefer set_topview_canvas_nodes_state (hide + lock) when the user may still want the old version back.sceneNodeIds. Superseding a Scene never requires a paid call by itself.Use this paid workflow only when the user explicitly asks to generate. A draft-only request stops after create_topview_canvas_generation_card and does not authorize payment.
The Canvas-first creation gate is a hard prerequisite: do not call any paid submit until the target Canvas has been made visible. Never use standalone topview_generate_image, topview_generate_video, or topview_generate_music for plugin creation requests. Whiteboard, world_3d, and director_stage are interactive Canvas surfaces: keep the Canvas open and use the existing UI path so the user can create/select/edit the surface directly. If there is no MCP create action for the base surface, ask the user to create or select it in the visible Canvas and resume from Use in chat; do not replace it with an unrelated generated asset.
Before submit, read references/generation-planning.md (capabilities before task counts; universal duration splits). When the selected live model is Seedance 2.5, also read references/seedance-2.5.md before freezing task intent or prompt text. When the selected live model is Topview T1 (topview-t1), read references/topview-t1.md and do not copy Seedance-only parameters onto it. If any inputs come from local files or FFmpeg artifacts, read references/local-media-bridge.md first and finish upload validation before submit.
Credit-consuming Canvas generation uses only submit_topview_canvas_generation_task. Before the first such call in the current Agent task / conversation, after capabilities are locked and the first submit plan is ready, ask the user to choose a paid generation approval mode. Ask in the user's language. Do not invent defaults. Do not call paid submit until a mode is set. New Agent tasks reset the mode.
Interaction requirement: use the host's native Ask Question UI (or its equivalent single-select question surface), with exactly two mutually exclusive options. Do not ask the user to type an internal mode ID and do not expose confirm_each_submit or autonomous in the option labels. Map the selected label back to the internal ID before continuing:
| User language | Question | Option label | Internal mode | Option description |
|---|---|---|---|---|
| Chinese | 请选择付费生成的审批方式 | 逐步请求审批 | confirm_each_submit | 每次付费生成前展示本次参数,等待你的确认。 |
| Chinese | 请选择付费生成的审批方式 | 自动推进完成 | autonomous | 本任务内按计划自动提交后续付费生成,无需逐次确认。 |
| English | Choose how paid generations should be approved | Request approval step by step | confirm_each_submit | Review and approve the parameters before each paid generation. |
| English | Choose how paid generations should be approved | Automatically proceed to completion | autonomous | Automatically submit later paid generations in this task without asking each time. |
| Mode id | Behavior |
|---|---|
confirm_each_submit | Before every paid submit_topview_canvas_generation_task (or each planned parallel wave), show a concrete parameter summary and wait for explicit approval of those paid params. One approval covers only the listed submits. |
autonomous | After the mode is chosen, decide parameters and submit without per-submit parameter asks for the rest of this task. |
Rules:
OK / continue / 继续 merely to advance a stage that only needs task completion or refresh. Do not run preview → approve → real submit rounds.autonomous still requires an explicit user request to generate; it only skips per-submit parameter confirmation.get_state, refresh_*, Timeline, or non-Canvas topview_generate_*.mediaType, taskType, model, optional generationKind, prompt summary or scene anchor (sceneNodeId), key parameters, inputs / parentId / nodeId / layout as applicable, task count, and commandId list.confirm_each_submit or autonomous.get_topview_canvas_generation_capabilities
# prefer taskType / taskTypes / models + include=[] (summary)
# include=["schema"] only when summary is insufficient
→ capabilityVersion + capabilities[]
(+ requiredParameters/defaults/parameterEnums/inputRoles)
get_topview_canvas_state # only when geometry / identity confirmation needed
# fields/nodeIds/types truly project/crop; revision observational; no sinceRevision
→ geometry (+ observational revision)
paid generation approval mode gate
# first paid submit in this task: ask confirm_each_submit vs autonomous
# confirm_each_submit → show param summary and wait for approval of that submit/wave
safe parallel wave (when Safe Parallel Policy holds) OR serial:
submit_topview_canvas_generation_task # all paid image/video/audio/storyboard V2
# top-level: prefer layout:{x,y,width?,height?}; forbidden with nodeId/parentId/sceneNodeId
# do not send expectedRevision
→ nodeId, taskId, commandId (+ observational revision)
wait-all → next turn / dependent stage (projection barrier when needed)
loop (independent refreshes OK under Safe Parallel Policy):
refresh_topview_canvas_generation_task(default slim — omit or include=[])
# diagnostics only: include=["state"]; do not send expectedRevision
→ until success | fail (success includes mediaRef; revision observational)
Prefer capabilities with taskType (or taskTypes) and optional models, and include=[] first for a compact index. Read role/cardinality from summary inputRoles. Use include=["schema"] only when you need full parametersSchema / additionalProperties / constraints detail that the summary lacks — do not hard-require parametersSchema every time. Omitting include returns full payload (compat). Lock requiredParameters / defaults / parameterEnums / inputRoles into the plan before any paid submit.
When the user does not specify a model or setting, follow the Gateway-owned defaultSelectionPolicy, select the compatible capability marked preferred, and copy its defaults into the submit plan. Do not hardcode model names or parameter defaults in this Skill. Use only exact values exposed by the selected live capability; explicit user choices take priority.
Do not call topview_get_generation_config, topview_generate_image, topview_generate_video, topview_generate_audio, or any Legacy hyphen toolType / sourceNodeIds submit shape for a Canvas-owned result. There is no dedicated Scene submit tool and no submissionTool capability fork — every paid Canvas generation uses submit_topview_canvas_generation_task. The single exception is cross-shot narration, which has no Canvas capability at all; see "Audio routing" below.
Storyboard and Scene video both use the unified submit_topview_canvas_generation_task; only storyboard is derived from the persistent Scene snapshot.
mediaType=image, taskType=storyboard_to_video, and generationKind=scene_storyboard; submit that triple plus sceneNodeId, parameters, and commandId. Use the compatible model returned and preferred by that capability; do not substitute a generic image-edit model. Do not send prompt, non-empty inputs, or parentId: the server compiles persisted Scene mention tokens in place (shortCodes such as <<<char_1>>>) and derives ordered images.video_edit or image_to_video (there is no scene_video taskType / generationKind). Pass prompt + typed inputs as for any other video task, plus sceneNodeId so the card lands in that Scene's column instead of floating free.commandId for every paid task. Reuse it only for an uncertain retry of identical arguments; otherwise fetch state and use a new command.nodeId/taskId with refresh_topview_canvas_generation_task until success or fail.Intent mapping:
| User intent | Sequence |
|---|---|
| Create a SceneCard | create_topview_canvas_scene_node only; stop without a paid task |
| Generate storyboard | readiness barrier → submit(image + storyboard_to_video + generationKind=scene_storyboard + sceneNodeId) → refresh* |
| Generate Scene video | submit ordinary video (video_edit / image_to_video / … + sceneNodeId + prompt/inputs) → refresh* |
| Complete generation | Create SceneCard → Scene video submit → refresh*; do not insert storyboard by default |
| Generate storyboard and video | Two paid intents with separate commandIds; storyboard→video on the same scene stays serial; independent scenes may parallel under Safe Parallel Policy |
| Generate video based on storyboard | Storyboard submit → refresh to success → image_to_video with the storyboard IMAGE as start_frame and the same sceneNodeId → refresh* |
For ordinary V2 submissions, required: canvasId, mediaType, prompt, capabilityVersion, taskType (snake_case from capabilities), model (exact capability entry), commandId (1…256). Do not send expectedRevision. For scene_storyboard, replace caller prompt/inputs with required sceneNodeId.
generationKind: optional; required for Scene storyboard — pass scene_storyboard when the selected capability exposes that value with mediaType=image + taskType=storyboard_to_video. Ordinary image/video/audio submits omit it.sceneNodeId: required for scene_storyboard, optional for mediaType=video, rejected otherwise. It must be a persisted story_scene. For scene_storyboard the server also rejects caller prompt, non-empty inputs, and parentId; for video it only anchors the output to that Scene's column and leaves prompt/inputs to the caller.nodeId: omit for Tier A (recommended). Include only for an existing output draft card (Tier B or user-selected draft).parentId: Tier C only — an asset card nodeId that receives the image placeholder at submit time. Image-only; reject-on-conflict with nodeId. An existing image child of that card is ejected to the Canvas root, not deleted.layout: optional { x, y, width?, height? } for top-level Tier A placeholders. Prefer it so cards land on a preplanned grid. Forbidden with nodeId / parentId / sceneNodeId. Omit → (0,0) compat; no BFF auto-avoidance. Asset Tier C and Scene auto layout stay server-owned.parameters: keys/types must match the selected capability. Prefer summary requiredParameters / defaults / parameterEnums; pull parametersSchema (additionalProperties: false) via include=["schema"] only when the summary is insufficient. Prefer parameters.resolution / parameters.duration over flat legacy fields; pass number vs string exactly as the capability states.omniReferenceTaskType, pass exactly one live enum under parameters: auto for ordinary or omni-reference generation, edit for in-place source modification, or extend for standalone new footage adjoining an unchanged source. edit and extend require a real reference_video. Omit the field for every capability that does not expose it; never add an unadvertised key or communicate the mode by appending keywords to the prompt. Read references/seedance-2.5.md for workflow invariants and fallback behavior.topview-t1, submit that exact capability. Read references/topview-t1.md. Do not send draftMode, resolution 480, internetSearch, or omniReferenceTaskType unless that capability advertises the key. Image-to-video omits aspectRatio.inputs: typed { role, source: { kind, … }, mention? }. Roles and cardinalities come from capability summary inputRoles (or schema inputs[] when needed). Use source.kind = canvas_node with the Asset / media nodeId for all Canvas references, or task_result for an eligible task result. Gateway may still expose deprecated wire canvas_asset + assetId for compatibility — Agent must not use them; Asset refs are always canvas_node.nodeId. upload_file is not a Canvas source. Never invent roles or pass presigned URLs / local paths as durable sources.<<@shortCode>> (or returned mentionToken); matching input must set mention.shortCode to the same value. Do not write backend wire tokens such as <<<Image1>>>.commandId.commandId (no revision cursor).nodeId → new commandId.Poll refresh_topview_canvas_generation_task with nodeId + taskId until success or fail. Do not send expectedRevision. Default refresh is slim (no full nodes): for normal polling omit include or pass include=[]. Use include=["state"] only for diagnostics. Do not insert get_state solely between polls. Independent task refreshes may run in the same turn under Safe Parallel Policy (distinct nodeId/taskId, wait-all). Same-target or dependency-unsafe refreshes stay serial. Success text/structuredContent includes durable mediaRef (storage: s3, objectKey, …). That same generation node holds draft → running → result. Never call create_topview_canvas_media_node for the result and never create a second result node. For a short-lived download URL use download_topview_canvas_nodes. Do not write task status or media keys via update_topview_canvas_node.
| taskType | Typical inputs |
|---|---|
text_to_image | none |
image_edit | reference_image 1…16 |
text_to_video | none |
image_to_video | start_frame 1, optional end_frame |
video_edit | at least one of reference_video / reference_image |
storyboard_to_video | Scene storyboard IMAGE; submit with generationKind=scene_storyboard + sceneNodeId; server derives prompt and reference images |
motion_control | reference_image + reference_video required |
music / audio_design / voice_design | per capability inputs — read the semantics below before picking one |
For N results, submit N times (one card / one task / one result each). Apply the layout protocol so cards do not overlap.
Canvas exposes exactly three audio task types, and none of them is a general text-to-speech tool:
| taskType | What it is for | What it is not |
|---|---|---|
music | Score / BGM | Not narration, not SFX |
audio_design | Standalone SFX and ambience beds | Not speech |
voice_design | Designing a reusable voice identity (timbre) | Not TTS. Do not send a script here to have it read aloud |
Two consequences:
nativeAudio per shot (see references/generation-planning.md).topview_generate_voice (pick a voice with topview_list_voices, poll topview_query_task), then bring the result in as a Canvas audio node via prepare_topview_canvas_media_upload → create_topview_canvas_media_node, and place it on the Timeline as its own track. One task for the whole narration keeps timbre, pace and loudness consistent and leaves it independently mixable; per-scene narration does not.topview_generate_voice is the one topview_generate_* tool this Skill allows, precisely because the capability index has no TTS entry to route to. Every other paid Canvas result still goes through submit_topview_canvas_generation_task.
voice_design is the one capability that takes no prompt. It carries its text in two required parameters instead, and a submit that includes prompt is rejected outright — that field is the only way a narration script lands in the wrong place:
parameters | Meaning | Example |
|---|---|---|
description | The timbre you want to exist afterwards. Shown on the card. | Warm low female narrator, unhurried, slight breathiness |
script | A one-or-two-sentence sample read in that timbre so you can hear it — not the content you want narrated. | Good evening. Tonight we go back to where it started. |
Both must be non-blank and are length-capped per model; the caps arrive as maxLength in parametersSchema, so read the capability before writing long text. Takes no inputs.
The result is an ordinary audio node. Narrating an actual script in that voice is still a separate standalone TTS task.
{
"canvasId": "<canvasId>",
"capabilityVersion": "sha256:…",
"mediaType": "video",
"taskType": "image_to_video",
"model": "<capabilities[i].model>",
"prompt": "Animate <<@img_1>> with a gentle camera push-in.",
"parameters": { "resolution": 480, "duration": 5 },
"inputs": [{
"role": "start_frame",
"source": { "kind": "canvas_node", "nodeId": "node_gen_…" },
"mention": { "shortCode": "img_1" }
}],
"commandId": "cmd_i2v_<unique>"
}
nativeAudio is left out on purpose. When the capability exposes it, decide it per shot — copying a fixed value from an example is how in-shot dialogue and action sound go missing. See references/generation-planning.md.
get_topview_canvas_timeline → complete draft + strong timelineEtag. For a conditional poll, pass the exact prior ETag as ifNoneMatch; notModified=true deliberately omits draft and mediaUrls.edit_topview_canvas_timeline currently accepts only append_clip. Send the exact expectedTimelineEtag, one stable commandId, and 1-50 append operations in the requested order. Each operation contains only op, operationId, persisted sourceNodeId, startMs, and optional matching track ID. Do not call split, trim, move, remove, duplicate, detach/reattach, clip/track settings, or full-draft replacement.operationResults[].createdClipIds.MEDIA_INFO_PENDING, wait retryAfterMs, then retry with the identical ETag, commandId, and operations. Pending does not write the Timeline. On ETag conflict (REVISION_CONFLICT), re-read and re-evaluate the empty/exact-match safety check before retrying.submit_topview_canvas_timeline_export (exportType: full_video | all_segments, plus removeWatermark; optional range {startMs,endMs}; optional hiddenVisualTrackIds[] only for full_video) and poll get_topview_canvas_timeline_export until success or fail. A submitted task is not a completed deliverable.revision CAS. The plugin Timeline UI is temporarily hidden; use the browser editor for any manual or non-append editing.| Goal | Tool sequence |
|---|---|
| Open and inspect | open_topview_canvas → projected get_topview_canvas_state (fields/filters) → (optional) get_topview_canvas_node_details |
| Create nodes without overlap | state/layout once → preplanned parallel create_* when Safe Parallel Policy holds; else serial; wait-all |
| Create SceneCard(s) | layout once → safe-parallel or serial create_topview_canvas_scene_node; wait-all / chain geometry/shortCode |
| SceneCard to storyboard | make Asset media ready → capabilities(taskType=storyboard_to_video, include=[]) → submit(generationKind=scene_storyboard + sceneNodeId) → refresh* |
| SceneCard to video | capabilities(video, summary) → submit(video_edit / image_to_video + sceneNodeId + prompt/canvas_node inputs) → refresh* |
| Storyboard-based video | storyboard submit → refresh success → submit(image_to_video + storyboard start_frame + sceneNodeId) → refresh* |
| Text to image | capabilities(image, summary) → submit(text_to_image) → refresh* |
| Image edit | capabilities → submit(image_edit + canvas_node inputs) → refresh* |
| Text to video | capabilities(video, summary) → submit(text_to_video) → refresh* |
| Image to video | capabilities → submit(image_to_video + start_frame canvas_node) → refresh* |
| Video edit | capabilities → submit(video_edit + reference_) → refresh |
| Download result | confirm success / mediaRef → download_topview_canvas_nodes |
| Layout repair | state for geometry → move / transform / arrange |
| Timeline assembly/export | get timeline → verify empty/exact match → edit_topview_canvas_timeline append-only when empty → read back → submit export → poll to terminal result |
Topview MCP Gateway → Topview Canvas API → Canvas Worker. The Gateway never calls the Worker directly.mediaRef objects, never raw credentials.get_topview_canvas_web_link. Never derive a link from an iframe resource, embed bootstrap route, or Canvas ID.agents/openai.yaml (opens in a new tab)canvas-generation-contract.fixture.json (opens in a new tab)references/canvas-mcp-api.md (opens in a new tab)references/generation-planning.md (opens in a new tab)references/local-media-bridge.md (opens in a new tab)references/node-groups.md (opens in a new tab)references/node-layout.md (opens in a new tab)references/seedance-2.5.md (opens in a new tab)references/topview-t1.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
3 skills in this plugin
/canvas-agent-workflowsOrchestrate end-to-end Topview Canvas creation while preserving the user's original deliverable and choosing the correct production workflow. Use for image, video, music, whiteboard, 3D world, or 3D director-stage creation; storyboarding, remakes, edits, replication, product/social videos; and story, episode, chapter, screenplay, or short-film adaptations that may require reusable character/environment/object assets and per-scene generation. Never compress narrative source material into a direct single-prompt video unless the user explicitly requests that narrower deliverable./marketing-studioPlan and execute Topview Marketing Studio workflows for ecommerce market research, product analysis, listing and content optimization, TikTok Shop operations, Amazon operations, Shopee operations, YouTube or Instagram creator discovery, audience analysis, outreach, and campaign reporting. Use when a user asks for a marketing strategy, platform-specific research, creator campaign, content plan, product selection, trend analysis, or an operational review.npx claudepluginhub topviewai/plugins --plugin topview-browser