code-to-video-previz
БесплатноЗапускает вложенные скриптыНе проверенPrototype a video in code with an agent. Decides if a shot needs a 3D prototype at all and which tool fits (Three.js, Blender, a phone act-out, storyboards…
от vargai417 установок в других каталогахОб этом скилле
Code to video: a prototype in 3D, then a real video
Step 6 of 10 in How to make a video with an AI agent in ten steps. The full guide, with every test and source: https://varg.ai/how-to/previz-a-video-in-threejs-or-blender (as Markdown: add
.md).
Video models redraw the world on every call, so cameras wander, counts change and rooms rearrange. A prototype fixes those things for free, before the paid step. The agent can build it, because camera and layout are maths. Three limits decide everything below, so tell the person about them:
- Agents can't watch video. They check frames and numbers. Pacing and feel stay a human call.
- Agents block well and model badly. Cameras, layout and scale come out right. Curves, faces and hero objects don't.
- The video model copies what you show, bad motion included. A crude clip is an advantage, not a compromise.
1 · Does this shot need a prototype?
Find the one hard thing in the shot, then use the cheapest prototype that pins it down. People who tested previz and say to use it selectively give the same order: words, then images, then references, then previz, each only when the last one fails.
| the hard thing | use | why |
|---|---|---|
| nothing exact: one or two subjects, randomness welcome | no prototype: prompt + start frame | a previz adds cost and can make motion worse |
| the idea and look of a sequence | storyboard stills | fast to redo, and stills are the cheapest place to find problems |
| timing, tempo, positions, crowd paths, side-on shots | 2.5D conte in Remotion or HyperFrames | minutes to make. Not for orbits, occlusion, height or hands |
| an exact camera path, exact counts, spatial continuity, long takes | 3D prototype: section 2 | this is what 3D is for |
| a human performance and a real camera could shoot it | phone act-out | carries weight and timing better than any stand-in |
| a performance and an impossible camera | act-out → mocap → 3D | Motion2MixamoRig, Move.ai or DeepMotion, then Blender |
No same-shot test of act-out against 3D has been published, so say that if asked. Faces are unsolved on every route.
2 · Pick the 3D tool
| pick | when | the catch |
|---|---|---|
| Three.js (default) | rough placement and the model fills in the rest; live and editable; no install, weak laptop, a phone; many shots in one diffable file; a code-rendered final | no rigs; agent-written human animation looks stiff |
| Blender | you must lock acting, camera and timing yourself; rigs, Mixamo or mocap, real assets; heavy sets; stills for storyboards; an artist will open the file | more tokens (one report, on a finished render: $20.39 vs $0.97 for the same prompt and model); needs a local install or bpy |
| Cinema 4D (Maxon's MCP) | you already own and know it, and a hero object needs a real rig and motion blur | paid; the GUI stays open; no headless path |
| Unreal + MetaHuman | fast human bodies, big casts, and you work on a Windows GPU | agent + Unreal + Seedance has not been shown joined end to end |
| Gaussian splat world (Marble) | the place itself is the hard part and nothing touches the set | one full report only, from a World Labs employee |
Nobody was found using Unity, Godot, Houdini (except simulation), Rhino or SketchUp for this. Skip them unless you already live there. HyperFrames, After Effects and DaVinci belong after generation, for type and finish.
You don't have to commit. Write the scene as data (staging.json) and both Three.js and Blender render it, with
the same lens maths. Start in Three.js. Move to Blender (--blend scene.blend) when you need a rig or an asset.
For Blender setup, MCP vs headless and what to do by hand: references/blender.md.
3 · Name the object you're making
| object | for | looks like |
|---|---|---|
| guide clip | a video model, as @video1 |
crude and flat-lit, no text, no shadows, stand-ins. Exact seconds |
| storyboard pages | people, or a model as key frames | stills from the shot cameras, 2 to 4 per shot, captions |
| code-rendered film | the audience | textures, light, a pure function of time. No video model |
No video model named? A plain "render it as a clip" means a code-rendered film, so keep the light. One file can't be all three. An animatic with outlines, text and hard shadows has to be rebuilt before it can be a guide clip, because "the reference video is a pixel channel, not a spec channel": whatever is visible can come back in the film.
4 · The loop
- Write the brief down in the person's words, dated, with format, length, and what the shot must achieve.
- Write beats in seconds and metres. Who, where, doing what, which way they face, the end state of each beat, one camera move per beat. "The parts you can't write are the parts that are vague in your own head."
- Write
staging.json, not a new engine. → `references/staging-format.m
Установить code-to-video-previz в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл code-to-video-previz?
Prototype a video in code with an agent. Decides if a shot needs a 3D prototype at all and which tool fits (Three.js, Blender, a phone act-out, storyboards, Remotion, Cinema 4D, Unreal), stages geometry, people, camera and light in real metres, copies a reference video shot by shot with a solved 3D camera, stages a shot from a painting or still, invents one when there is no reference, checks everything with numbers and frames, and writes the handoff to Seedance or other video models. Same scene file renders in Three.js and headless Blender. Use for "previz", "blockout", "3D animatic", "three.js or blender", "prototype this video", "copy this shot", "recreate this video in 3D", "stage this painting", "camera blocking with Claude or Codex", "code to video", "rank takes", "LLM judge", or when generated shots keep drifting. Not for a full multi-shot three.js film with a review UI (threejs-animatic, varg-previz), prompting a shot with no prototype (varg-video-prompting) or the full animation pass (video-animate).
Как установить скилл code-to-video-previz?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл code-to-video-previz запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic