blender-code-film
БесплатноЗапускает вложенные скриптыНе проверенMake a short 3D film in Blender written entirely in Python by an agent (Claude Fable 5.2, Claude Code, Codex): the shots and the look as data, a world built…
от vargai399 установок в других каталогахОб этом скилле
Blender film from code
An agent can make a finished 3D film without touching Blender's interface: it writes one Python file that builds the world, places the cameras and renders the frames. On the day Claude Fable 5.2 came out (2026-11-09) this was one of the most saved formats on X:
- @rileybrown: one prompt, live on stream. A desk room in Blender, the laptop screen showing a web page the model also built, 13 camera shots, golden hour to night to sunrise, graded, titled and scored. 4K rendered in 52 min on 10 rented GPUs for $5.75. 606k views and 6,165 bookmarks; his reply with the recipe alone got 812 bookmarks.
- @alexmichael: "made this entire video from scratch, writing Python to control Blender" (117k views).
- @kevin_t_ngo: a music video animated in Python and rendered in Blender; his earlier storybook film rebuilt a 2D code animation in 3D.
The starter in scripts/film.py is this skill's own test: a lantern orb drifts up a low-poly forest valley
at dusk in three shots (wide, follow, reveal), with haze, sparks and a warm rim light. Nothing is downloaded.
1. Ask before building
Put these to the person (in their language) and wait:
- Look: low-poly storybook (flat shading, warm lamps), stylized toon, or photoreal (Cycles, slower).
- Length and frame: 9–30 s; 16:9 for X and YouTube, 9:16 for Reels and TikTok, 1:1 for a feed.
- Sound: none, a music bed from varg (about $0.10 per track; quote it from
estimate_cost), or sounds synthesized in code. - Render budget: this machine with Eevee (minutes), this machine with Cycles (hours with volumes), or a rented GPU farm for 4K Cycles (Riley's 52 min on 10 GPUs cost $5.75).
2. Set up
blender --version || brew install --cask blender # or the installer from blender.org
blender -b --factory-startup -P scripts/film.py -- --stills --draft --out render/stills
Always run headless (-b) with --factory-startup so the user's add-ons and preferences can't change the
picture. Arguments after -- go to the script.
3. The film is data
Everything that changes the picture sits at the top of film.py:
LOOK: the palette in linear RGB (sky, ground, materials, key and fill colors). One palette for the whole film; one warm key light and one cool fill; practical lights (lamps, the orb) for the rest.SHOTS: one row per shot withstart/endframes,lensin mm, the camera's start and end position in metres, what it aims at (a moving point or an object), andkey, the frame that--stillsrenders.- The
build_*functions: one per part of the world, in metres, seeded (--seed) so a re-render gives identical frames.
Write the beat sheet first (what happens in each shot, in one line), then turn it into SHOTS. Rebuild the
whole scene from scratch on every run (read_factory_settings(use_empty=True)); never patch a saved .blend.
4. Building the world in code
- Ground you can ask about. Make terrain a Python function of (x, y) (
ground_zin the starter) and build the mesh from it. Then every tree, rock and path sits on the ground exactly, with no ray casts. - Hundreds of props, one mesh. Build a prototype once, create objects that share its mesh
(
bpy.data.objects.new(name, proto.data)), then delete the prototype. The starter places 420 trees this way. - Keep the lens clear. Sample every camera move and keep props 5 m from it, or the first wide shot opens on a giant tree trunk (the starter's first render did).
- Materials are node trees set in code: Principled BSDF with
Base Color,Roughness,Emission ColorandEmission Strength. Dark albedos (below 0.05) read as black under a grazing sun; start near 0.1. - Cameras: one camera per shot with a Track To constraint on an aim object, depth of field focused on it,
and a timeline marker at the shot's first frame with
marker.camera = cam. Keyframes fromkeyframe_insertare Bezier and already ease in and out. - Sound in code if chosen: synthesize with numpy and write WAV beside the frames;
mux.shtakes any audio.
5. Stills first, then motion
--stills --draft: one quarter-size still per shot (under 1 s each after the first run). Look at them.- Send the stills to a fresh critic (below). Fix, repeat.
--stillsat full size: show the person and get a yes before any animation.--draft: every frame at quarter size, thenscripts/sheet.sh render/draft 12makes a contact sheet of every 12th frame. Check: the camera never clips through geometry, nothing pops or flickers, no shot is empty, exposure holds across cuts, the subject stays in the frame.- Final:
blender -b --factory-startup -P film.py -- --out render/final, or--shot <name>to redo one shot. Frames are PNGs, so a crash keeps every
Установить blender-code-film в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(blender:*)Bash(ffmpeg:*)Bash(ffprobe:*)Bash(bash:*)ReadWriteEditFAQ
Что делает скилл blender-code-film?
Make a short 3D film in Blender written entirely in Python by an agent (Claude Fable 5.2, Claude Code, Codex): the shots and the look as data, a world built from code (procedural terrain, hundreds of instanced props, node materials, lights, haze), one camera per shot bound to timeline markers, a stills-first approval pass, a quarter-size draft, a contact-sheet audit, a fresh critic subagent, then the final render to PNG frames and an ffmpeg encode with an optional varg music bed. Includes a tested starter (scripts/film.py, a 9 s three-shot film) and the Blender 5.x traps that turn frames black. Use when someone asks for a Blender animation or film made with code or Python, "make a video in Blender with Claude", a 3D short, music video, toy commercial or product film rendered in Blender, a low-poly or storybook 3D film, or a remake of a viral Fable 5.2 Blender video. Not for previz that feeds Seedance (code-to-video-previz, varg-previz), three.js films in the browser (karpathy-3d-story, code-3d-explainer), recording a browser game (code-game-trailer), 2D motion graphics (hyperframes, kinetic-type-art) or AI-generated footage (varg-ai).
Как установить скилл blender-code-film?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл blender-code-film запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic