/blockout:blockout-renderfrom blockout
Renders Blockout timeline exports into finished videos via ComfyUI reference-to-video workflows (Seedance 2.5 or saved recipes). Handles rendering, upscaling, and workflow saving.
Ships in blockout. 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; scripts run unread.
An optional step after the blockout: the export of the whole timeline (every shot, cut together, as
canvas export makes it) goes into a ComfyUI reference-to-video workflow as one motion reference, next to the user's reference images and audio, and a finished video comes back into
the Blockout chat. Blockout itself has no ComfyUI code. You do the adapting, with the ComfyUI tools the
user already has.
You need the blockout skill for every canvas command below (node bin/canvas.mjs …, or canvas …
from the plugin). This skill's own helper is scripts/recipe.mjs in this folder; it only reads and writes
workflow JSON and never talks to ComfyUI.
canvas ask
card (references/questions.md): one short question at a time, choices they can tap. Chat replies in
this flow are one or two lines. Never post the plan as a block of text.recipe.mjs fill --out).canvas brief, not from memory or from watching the video."type": "secret"), which saves it on the user's machine, and pass it with
canvas secret run NAME -- <command>. Never ask for a key in words, read the secrets file or echo one.A request that starts "Upscale the latest video in the chat" (the /upscale command), or any request to
upscale a render, follows references/upscale.md instead of the flow below. That flow uses the built-in
upscale-seedvr2-7b recipe (SeedVR 7B Sharp or SeedVR 7B, node pack, on the cloud) or upscale-seedvr2-core (core nodes, any SeedVR model; every local run): the user picks the model on the confirm card. The rules above still apply.
The request usually comes from Render with Comfy in the Export menu, or the /render command in the chat. Both
send "Render this timeline with ComfyUI (blockout-render skill)." with anything the user typed after it. Most people send just that, so
expect to ask for the rest. A request typed by hand is the same thing.
Work out everything you can without asking, in this order: what the request says, files attached to it,
renders/settings.json, the brief, what is connected. Then put only what is still open on one question
card (references/questions.md has the card to start from): what sets the look and the images for it,
which model when the recipe offers more than one, where to run when both cloud and local are connected,
and a key block when the runner needs a key that canvas secret list does not show. If nothing is open,
skip the card. Do the free work (export, brief, render folder) while the user answers.
--shot <id> everywhere
below in place of the timeline.canvas status prints scene: <path>; that file's folder is the scene folder.
Recipes are in <scene folder>/recipes/, renders go to <scene folder>/renders/.node bin/canvas.mjs brief --timeline # every shot in order with its cuts: moves, framings, moving objects, audio
node bin/canvas.mjs export # the blockout mp4 of the whole timeline, with the audio; prints its path
brief --timeline gives every time in seconds of the exported video, with a CUT at <t>s line where
each shot starts. Those are the times the prompt uses. --json has every number. For beat times add
--beats: it covers the shot the tab is on, so for a timeline with music switch to each shot in turn
(canvas shot <id>, then brief --timeline --beats) and keep the beat lines, which are already in video
time. Make the render folder and keep both there:
node <skill>/scripts/recipe.mjs folder --root <scene folder> --scene <scene name> --shot timeline
# -> <scene folder>/renders/<scene>-timeline-<date>-<time>/ copy the export in as blockout.mp4, the brief as brief.txt
If the scene has audio, the export already carries it, laid out exactly as the timeline plays it. Take the
audio slot from the export, not from the source file:
ffmpeg -i <render folder>/blockout.mp4 -vn -c copy <render folder>/audio.m4a (re-encode if -c copy
fails). No audio in the export: fill with --audio none.
node <skill>/scripts/recipe.mjs list --root <scene folder> # the user's recipes, then the built-in ones
node <skill>/scripts/recipe.mjs slots <recipe.json> # where video, images, audio, prompt and settings go
Use the recipe the user names, else their last one (renders/settings.json), else
seedance-2.5-reference (the upscale-… recipes are only for upscaling). Read the recipe's .md notes if it has them. How slots are found, how to save a
new recipe and what to do when a graph does not fit: references/recipes.md.
Write the prompt to <render folder>/prompt.txt: read the recipe's example prompt in full
(<recipe>.prompt.txt, shown by recipe.mjs list) and adapt it to this shot at the same level of detail,
following references/prompt.md. Then upload the inputs
(step 5 explains where; uploading is free) and fill a copy with the names the upload returned:
node <skill>/scripts/recipe.mjs fill <recipe.json> --out <render folder>/workflow.json \
--video <uploaded blockout name> --image <uploaded image 1> --image <uploaded image 2> \
--audio <uploaded audio name | none> --prompt-file <render folder>/prompt.txt \
--duration <whole seconds> --ratio <ratio from the brief> --prefix blockout/<scene>/timeline
Images go in the order the prompt names them (@image_1, @image_2, …). Fewer images than the recipe has
slots removes the spare ones; more adds slots. fill prints every change and warns when the prompt names a
reference the graph does not have, or a placeholder is left. Fix every warning before the plan.
Duration: the timeline's length rounded up to a whole second, within what the model allows (the recipe
notes, or ask the node: get_node / comfy nodes show <class>).
["Length", "4s, trimmed to 2.94s"]).blockout.mp4 at the brief's cut times with ffmpeg, one prompt
per part with times restarting at 0, each part costing its own credits).Ask with a confirm card and end your turn (or canvas wait). It has two steps: the full prompt to review,
then the plan as rows (at most five, a few words each, no tags, paths or seeds) with the Render button.
{ "title": "Render with Comfy", "questions": [
{ "id": "prompt", "q": "Check the prompt", "type": "review", "file": "<render folder>/prompt.txt",
"note": "This is what the model gets. Edit it here, or say what to change." },
{ "id": "go", "q": "Ready to render the timeline?", "when": { "prompt": ["approved", "edited"] },
"rows": [["Video", "<n> shots · <length>s"], ["Look", "<2 images: her, the room | from the prompt>"],
["Audio", "<track>, <from>–<to>s | none"], ["Output", "<resolution> · <ratio> · <model>"],
["Cost", "about <n> credits | no estimate"]],
"options": [{ "value": "go", "label": "Render", "note": "Spends about <n> credits." }, "Not yet"],
"other": "Change something" } ] }
The prompt answer comes back as one of three:
approved as shown: use prompt.txt as it is.approved with their edits: write their text to prompt.txt exactly, refill with it, and run fill's
checks. Do not reword it. If an edit broke a reference tag or a time from the brief, say which in one
line and show the card again rather than fixing it silently.NOT approved. Feedback: …: the Render step was not shown. Revise prompt.txt (from their edited text
if they changed it), refill, and show the same card again. Keep the brief's times unless they ask
for a different move, which is a camera change (see Follow-ups).Show the whole prompt every time it changes, and never a summary of it. A re-run with the same prompt (another take) can skip the review step.
Only go is a go. A typed change: make it, refill, and show the card again. "Not yet" or a closed card:
reply in one line that it is ready when they are. Add a row only for something the user would not expect
(the model renders 4s for a 2.94s timeline: ["Length", "4s, trimmed to 2.94s"]). Everything else about
the run is in the render folder, not in the chat.
Get the cost from estimate_credits when the cloud MCP is connected; otherwise the row says no estimate.
Never invent a number, and give one figure for the chosen model, not a range across models. A workflow
with no paid nodes on the user's own GPU is free: the card is still shown, unless they have told you to
skip it for free local runs (keep that in renders/settings.json).
Where: what the user says in the request ("on my machine", "on cloud"), else renders/settings.json, else
whatever is connected, in this order: Comfy Cloud MCP, local comfy-mcp, comfy CLI. The steps are the
same everywhere: upload the inputs, validate, submit the filled workflow, wait, download the video.
Tool names and commands for each: references/running.md.
Show the job on a progress card from the moment the user says go, and keep it true until the video is in the chat:
ID=$(node bin/canvas.mjs progress "Rendering on Comfy Cloud" --steps "Upload|Queue|Render|Download" --eta <seconds>)
node bin/canvas.mjs progress --id $ID --step 2 # submitted, waiting in the queue
node bin/canvas.mjs progress --id $ID --step 3 --pct 40 # running; --pct only when the job reports one
node bin/canvas.mjs progress --id $ID --step 4 # downloading the result
node bin/canvas.mjs progress --id $ID --done "Rendered in 3m 40s" # or: --fail "<what went wrong, in plain words>"
get_job_status, comfy --json jobs status <id>, or
wait_for_job with a short timeout) every 15 to 30 seconds and move the card when the status changes:
queued or pending is step 2, running is step 3. Pass a percentage only if the status carries real
progress; a partner model such as Seedance usually reports none, and then the stage and the clock are
the progress. Never make a percentage up.--eta: seconds the whole job usually takes, from the recipe notes or the last render.json with the
same recipe (seconds). Leave it out when you have nothing to go on.--done when render.mp4 is saved, --fail on an error or when the user stops the job
(cancel_job / comfy jobs cancel). Do not also post "working" messages; the card replaces them.
If the job fails, say what the error was in plain words, fix what is fixable (a missing input, a value the
node rejects) and ask before submitting again when the failed run may have cost credits.Put the result in the render folder as render.mp4, with workflow.json, prompt.txt, brief.txt,
blockout.mp4, the reference images under refs/, and a render.json:
{ "recipe": "seedance-2.5-reference", "where": "cloud", "runner": "comfy-cloud-mcp", "job": "<id>",
"shots": "all", "seed": 1, "duration": 11, "ratio": "9:16", "seconds": 220, "credits": null }
Write { "where": …, "runner": …, "recipe": … } to <scene folder>/renders/settings.json so the next
render starts from the same choices. Then show it in the chat, where it plays in place:
node bin/canvas.mjs say --reply <promptId> --attach <render folder>/render.mp4 "Render done in 3m 40s, Seedance 2.5 on Comfy Cloud. Saved in <render folder>."
recipe.mjs fill <last render>/workflow.json --out <new folder>/workflow.json --seed new.
The uploaded inputs can usually be reused; nothing else changes. It spends credits, so it needs the
confirm card unless the request itself is the go ("run another take").prompt.txt or swap the file, refill, confirm card, go.recipes/seedance-2.5-reference.json (opens in a new tab)recipes/seedance-2.5-reference.md (opens in a new tab)recipes/seedance-2.5-reference.prompt.txt (opens in a new tab)recipes/upscale-seedvr2-7b.json (opens in a new tab)recipes/upscale-seedvr2-7b.md (opens in a new tab)recipes/upscale-seedvr2-core.json (opens in a new tab)recipes/upscale-seedvr2-core.md (opens in a new tab)references/prompt.md (opens in a new tab)references/questions.md (opens in a new tab)references/recipes.md (opens in a new tab)references/running.md (opens in a new tab)references/upscale.md (opens in a new tab)scripts/recipe.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
blockout, comfyui, seedance, video-rendering, reference-to-video
npx claudepluginhub shrimbly/blockout --plugin blockout3 skills in this plugin
/blockoutOperate Blockout, the three.js blockout tool for 3D scenes and camera moves: build and edit the scene, drive the camera timeline, answer prompts typed in the Blockout chat, and export blockout videos for generative video models. Use only for Blockout work: after /blockout:start, when the user names Blockout, when a prompt arrives from the Blockout hooks, or when the user asks to block out a 3D scene or camera move for a video. Not for other canvases (design canvases, HTML canvas, Figma)./startStart Blockout - open the blockout canvas in the browser and listen for prompts typed there. Run only when the user invokes /blockout:start.Other plugins' skills for the same job