Canvas

From ArcoCodes/renoise-plugins-official · View interactive version

Canvas is an AI agent skill from the GitHub repository ArcoCodes/renoise-plugins-official. Open and use the Renoise annotation board for explicit image or video-frame annotation and structured visual requests. Use only when the user explicitly asks to open the annotation board, accepts an offer to annotate, or submits an existing Renoise revisionIntentId.

How to use this skill

Skill file

Renoise annotation board

Use the annotation board as an optional visual-intent surface, not as a node graph, timeline, creation workspace, or automatic step in generation.

Decide whether to open

Open a board

  1. Resolve the project directory already in scope. Do not guess a broader directory.
  2. Call render_renoise_whiteboard_widget with that absolute projectDir to create a new session. For an existing active session, pass only canvasSessionId to reopen it.
  3. A new session shows a compact launcher and opens only after the user clicks it and approves the exact path. Reopening an already authorized session requests fullscreen immediately and requires no second approval.
  4. Keep the returned canvasSessionId; every later operation requires that active authorization. Board data and submitted annotation requests persist in the approved project and may be read through a later authorized session for the same page.

Handle an annotation submission

Uploads, estimates, and generation go through the Renoise MCP tools (upload_files, estimate_cost, create_tasks, wait_tasks), the same as everywhere else; the board's own tools only read the annotation and prepare local files.

The widget sends a user message containing canvasSessionId and revisionIntentId only after it has atomically saved the source selection, related annotations, timecodes, and instruction.

  1. Call get_renoise_whiteboard_revision_intent with both identifiers.
  2. Use only the returned revisionIntent, interpretation, objects, and AnnotationRecord relationships. Prefer interpretation.annotationBindings: each binding explicitly maps an annotation to its authoritative source, rendered annotation guide, normalized regions, and (for video frames) exact sourceTimeMs. Never infer that nearby objects are references.
  3. If interpretation.defaultOperation is source-video-segment-edit, apply the video-edit default below before model routing or duration selection.
  4. Call prepare_renoise_whiteboard_references with preparableAssetIds when generation needs the annotation guides and authoritative sources. Match each prepared path back to interpretation.uploadPlan by assetId and purpose: upload them in one upload_files call, giving annotation_guide entries scope: "mask" and authoritative_source entries the default scope (user). scope=mask hides a tool intermediate from the user library; it does not turn the visible marks into a provider mask. Never expose an annotation guide as a reusable user-library material.
  5. Treat only materialReferences / materialIds / materialTokens returned by this exact revision intent as already-existing Renoise materials. Do not locally prepare or upload them, and never include other entries from the page's material pool. Add the referenced IDs to the estimate and to the create_tasks references: use reference_image for image references and reference_video for video references, adjusted only when the user's explicit semantics require another compatible reference role. These remote references supplement the local source and annotation snapshots; the local source video remains authoritative and the snapshots remain the location/edit guides.
  6. Finish model routing and every deterministic prompt transformation first, including material tokens, Seedance-only time suffixes, preservation constraints, and any required edit trigger. This produces the exact text that will be sent as the create_tasks prompt; do not add or rewrite prompt text after approval.
  7. Run the matching estimate_cost, then follow the Renoise tools' approval rule for paid work: show the complete final prompt in a fenced block with the model, type, resolution, duration/ratio, ordered material IDs and roles, estimated credits, and current balance, end the turn, and wait for the user's explicit approval.
  8. Pressing Send annotation approves only the structured annotation intent, never a final prompt or price the user had not yet seen; neither does an earlier “直接生成”, “生成最终结果”, or “按标注生成”.
  9. After approval, create exactly one task with create_tasks using the approved prompt and arguments. Any prompt, model, parameter, material, or price change invalidates the approval and requires a new proposal and confirmation. Reuse the returned task ID with wait_tasks; never create again merely because a wait ended before the task finished.
  10. Return the final generated result directly in the current conversation. The annotation board is only an input surface and must not be used for result backfill, revision approval, or generated-result comparison.

What the proposal must show

Video-edit default (hard rule)

Image-revision default

If Codex or the plugin restarted and the old canvasSessionId expired, open and authorize the exact same project again. Then call get_renoise_whiteboard_revision_intent with the new canvasSessionId and the known revisionIntentId. If the intent ID is no longer present in task context, omit revisionIntentId to recover the latest persisted annotation for that authorized page. Do not ask the user to redraw or resubmit solely because a session expired.

Read only the reference needed for the current task:

Safety rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.