How Claude and Blender Make Product Ads Without a 3D Artist
The author walks through a full workflow using Claude to write Blender Python scripts, then combining Cycles and three.js to produce a 27-second vertical product ad. In one test on a 2-core, GPU-free cloud machine, 146 parts and 163,256 triangles were generated and the finished spot was completed in about 30 minutes; Cycles rendered only the final hero frame, while the remaining frames were captured frame by frame in the browser.
This hands-on tutorial connects Claude, Blender, Cycles, and browser rendering into a reusable workflow, and provides production times and ways to avoid common pitfalls when no GPU is available.

Most people who try 3D with Claude stop at one model on a grey floor. A product ad needs more than that: parts that come apart, light that moves across metal, a hero frame that looks photographed, and text that never covers the product.
What you'll make by the end: a 27-second ad, about 30 minutes, no 3D artist.
This guide is the full route, with every prompt and the real timings from one run on a 2-core machine with no GPU.
The short version
- Blender builds it. Claude writes one Python script. Blender runs it with no window and exports every part as a named object. A full rebuild takes about 2 seconds.
- Cycles makes it real. One photoreal hero frame took 2 min 45 s on 2 CPU cores. Too slow for a whole video, perfect for the last shot.
- The browser films it. three.js animates the named parts, headless Chrome renders frame by frame, ffmpeg glues the frames into an mp4.
- An ad alone isn't enough. Open with the prompt, close with the proof. That's the part people share.

01. What you're making
A 27-second vertical ad (1080×1350, 4:5, fills the feed on a phone) in three acts: hook, ad, proof.

| Time | Shot | Built with |
|---|---|---|
| 0–2.6 s | Hook: the prompt typing into a chat box, a "Claude Opus 5.5" badge, "modelling 146 parts in Blender…" | HTML |
| 2.6–5.3 s | Macro: the engraved logo on the back plate, a light sweeps across it | three.js |
| 5.3–7.9 s | Macro: along the headband, brushed aluminium, leather grain, stitching | three.js |
| 7.9–12.1 s | The cup's parts float apart in the dark, then click together | three.js |
| 12.1–15.1 s | Hero turntable, "Introducing Halden H1" | three.js |
| 15.1–17.6 s | Photoreal hero frame, slow push-in, four specs | Blender Cycles |
| 17.6–27.1 s | Proof: wireframe scan, part count, the 4 steps with timings, back to the photo | three.js + HTML |
Why three acts: a clean ad on its own reads as an ad, and people scroll past ads. The first 2 seconds tell the viewer a model made this. The last 9 show how. The middle is what a store owner wants for their own product.
02. Setup (one time)
You don't need a GPU. Every number in this guide comes from a 2-core cloud machine without one.
- Claude that can run code. Claude Code in a project folder works. So does any Claude session with a code sandbox.
- Blender as a Python module. No window, no clicking:
pip install bpy # Blender 5.3 as a Python module (our run: Python 3.13)
npm i three@0.170 @fontsource/inter @fontsource/jetbrains-mono
npm i playwright # drives headless Chrome, frame by frame
# plus Google Chrome and ffmpeg on the machine
If pip can't find bpy, your Python version doesn't match the wheel. Install the version it asks for.
3. A rules file. Claude reads it before every build. Paste this into CLAUDE.md:
# CLAUDE.md — product ads
You build product ads in Blender with Python and film them in three.js.
- Units: 1 unit = 1 cm. Write geometry Y-up, convert to Blender Z-up once.
- Every part is its own named object. Names are the animation API.
- Internals first, shell last. Count only real parts (screws yes, stitches no).
- After every build: export GLB + parts.json (part count, triangles).
- After every change: render 4 stills and look at them before going on.
- Every number on screen comes from the scene or a timer. Never estimate.
- Invented brands only. No real logos, no copies of real products.
- Text never covers the product.
- When I correct you, add the correction to this file.
The last line matters most. Each correction stays, so the tenth product doesn't repeat the mistakes of the first.
03. Step 1: the brief, as numbers
Don't let Claude touch Blender yet. First it writes the part list with sizes. Fixing a size in a list takes seconds. Fixing it in a finished model means rebuilding everything attached to it.
I'm making a 15-second ad for an invented product: over-ear headphones, brand "Halden H1".
Before any modelling, write parts.json: every part with its size in cm, its material,
which part it sits inside or attaches to, and whether it's visible from outside.
List the internals (driver, voice coil, magnet, board, battery) separately from the housing.
Show me the list and wait.
What ours settled on: an oval cup 9.9 cm tall and 8.1 cm deep, a 40 mm driver, a 2.3 cm cushion, a headband on an 11.45 cm radius. Every later step reads from these numbers.
04. Step 2: the Blender script
One Python file builds the whole product. Ours is 363 lines and makes 146 parts and 163,256 triangles. A rebuild takes about 2 seconds, so every fix is cheap.

Five building blocks cover almost every hard-surface product:
- Lathe for anything round: cups, cushions, driver, magnet, buttons. Scale one axis for ovals.
- Sweep a rounded rectangle along an arc: the headband.
- Tube along a path: cables, the yoke fork, the voice coil helix.
- Box + bevel modifier: housings, chips, the USB-C port.
- Text to mesh: the engraved brand on the back plate.
The rule that makes the rest possible: every part is its own named object. The film step moves parts by name. A board with its 30+ components sits in one group, so it moves as one.
Write build_product.py for Blender (bpy), run headless with python3.
Build every part from parts.json as its own named object.
Use: lathe for round parts (oval cups: scale z by 0.82), a swept rounded rectangle
for the headband, tubes along curves for cables and the yoke, boxes with a bevel
modifier for housings and chips.
Add what a close-up will show: stitching on the cushions, screw heads, a rippled
diaphragm with a dust cap, a wound voice coil, a board with components, engraved
brand text on the back plate.
Build one side; the viewer mirrors it. Box-project UVs on every mesh.
Export product.glb and parts.json (part count, triangles). Print BUILD_OK when done.
Then make it look at its own work:
Render the model from the front, the side, three-quarter, and a close-up of the back plate.
Look at each image and list what reads wrong: floating parts, gaps, parts poking
through the shell, anything that looks like a toy.
Fix and re-render. Max 3 rounds, then show me.
05. Step 3: one photoreal frame in Cycles
Cycles is Blender's path tracer. It's where the realism comes from, and it's slow without a GPU. Our numbers:
- Preview at 40% size, 24 samples: 7–10 s.
- Final at 1350×1688, 96 samples, denoised: 2 min 45 s.
- 15 s of video at that rate would take about 20 hours.

So Cycles renders one frame: the hero shot the ad ends on. A slow 6% push-in on that frame turns it into a 2.5-second shot.
The light. A dark room with five soft boxes that the camera can't see: top, two side strips, a back kicker, a soft front fill. Then one huge, dim ceiling panel. Metal shows only what it reflects, so in a dark studio it needs big soft sources around it to pick up highlights. The floor is glossy black at roughness 0.42.
The materials, with no image files:
- Leather: a Voronoi pattern (distance to edge) into a bump node.
- Brushed aluminium: noise stretched along one axis, plus anisotropy 0.55.
- Fabric: wave bands into a bump.
- Soft-touch plastic: very fine noise.
The camera must match the browser camera exactly: same position, 28° vertical field of view. Later the photo crossfades into the wireframe. If the cameras differ, that cut jumps.
Write render_cycles.py. Open product.blend, mirror the right side into a left side.
Add procedural detail: Voronoi bump for leather, stretched noise + anisotropic 0.55
for brushed aluminium, wave bump for fabric, fine noise for plastic.
Studio: near-black world, 5 emissive soft boxes invisible to camera (top, left strip,
right strip, back kicker, front fill) plus a large dim ceiling panel for the metal.
Glossy black floor. Camera: vertical FOV 28°, same position as the web end card.
Cycles CPU, 96 samples, adaptive sampling, OpenImageDenoise, AgX.
Render a 40% preview first and show it to me. Then render the final at 125%.
06. Step 4: film it in the browser
three.js renders a frame in about 1 second on the same machine where Cycles needs 165. It loads the GLB, swaps each material by name for a physical one with a generated normal map (leather grain, fabric weave, brushed streaks), and lights the scene with the same soft boxes as the Cycles studio.
Four shots, and the one trick each needs:
- Macro on the logo. Camera 7–8 cm from the back plate, depth of field on. A strip light slides across, and the engraving catches it.
- Macro along the headband. The camera tracks the band. Leather grain at 1x looked like crocodile skin at this distance; at 4x it reads as leather.
- Float, then click. The cup's parts spread along the cup's axis, each drifting and turning a little. Then they ease home in 1.5 s. The camera looks along the axis at an angle, because a sideways stack doesn't fit a 4:5 frame.
- Turntable. A 52° orbit with a light sweep across the band. The title sits on top, the product below it, never under it.
Post-processing: subtle bloom, depth of field only on the macros, vignette and film grain.
Capture. The page exposes renderFrame(f) and nothing depends on the clock. Playwright calls it for frames 0 to 449 and screenshots each one, so every run gives the same video. 450 frames took about 8 minutes.
Write ad.html + ad.js (three.js r170). Load product.glb, mirror the right side.
Replace materials by name with MeshPhysicalMaterial; generate normal maps on a canvas
(leather grain, fabric weave, brushed metal).
Light: PMREM environment built from emissive soft boxes on black, a top spotlight
with soft shadows, two rim area lights, one moving strip light for sweeps.
Shots at 30 fps: (1) macro on the engraved logo with a light sweep and depth of field,
(2) macro tracking the headband, (3) internals float apart along the cup axis and
click back together, (4) a 52° hero orbit with the product name.
Expose window.renderFrame(f). Nothing may depend on real time.
Render stills at frames 40, 120, 200, 250, 340 and check text never covers the product.
07. The hook and the proof
This is the part that turns a nice render into a post people share.
The hook (2.6 s). A black screen, a "Claude Opus 5.5" badge, the brief typing into a chat box, then "modelling 146 parts in Blender…". The viewer knows what they're looking at before the first shot.
The proof (9.5 s).
- The Cycles photo crossfades into the same camera in the browser.
- A scan line passes across, and behind it the product turns into a colour-coded wireframe.
- The cup explodes: "146 parts, each one modelled", "0 polygons placed by hand".
- The four steps appear with their real timings: Brief → Blender script (2 s) → Cycles render (2 min 45 s) → Film (8 min).
- "≈ 30 min from brief to final cut · 0 hours of a 3D artist".
- The parts snap back, the scan runs the other way, and it lands on the photo again: "Full workflow + every prompt ↓".
The first version of this outro showed triangles and lines of code. Both true, but nobody outside 3D cares. Keep the numbers a store owner gets: parts, minutes, people.
Write intro.html: black, a "Claude Opus 5.5" badge, the brief typed into a chat box
over 2 seconds, then "modelling N parts in Blender…". Expose renderFrame(f).
Write making.html + making.js: start on the exact Cycles camera with the photo on top,
fade to the live scene, sweep a scan line that turns the model into a wireframe tinted
by material, explode the cup, show the part count, "0 polygons placed by hand",
the 4 steps with timings measured in this run, then reverse it all and end on the photo
with "Full workflow + every prompt ↓". Keep every text out of the product's area.
08. Assemble, and the real numbers
Each part renders into its own frame folder. A short script links them in order and ffmpeg encodes the result:
# intro (78) + ad shots (375) + Cycles card (75) + proof (285) = 813 frames, 27.1 s
ffmpeg -framerate 30 -i fr_final/%04d.jpg -c:v libx264 -crf 17 -pix_fmt yuv420p \
-movflags +faststart halden_h1_ad.mp4
What each step cost in our run (2 CPU cores, no GPU):
| Step | What runs | Time |
|---|---|---|
| Model | Blender script → GLB, 146 parts | ~2 s per build |
| Hero frame | Cycles, 1350×1688, 96 samples | 2 min 45 s |
| Ad shots | three.js, 450 frames | ~8 min |
| Proof outro | three.js, 285 frames | ~3.5 min |
| Hook + card | HTML, 153 frames | under 10 s |
| Brief to final cut | Claude writing + all renders | ≈ 30 min |
The film, the hook and the outro are templates. A new product mostly means a new Blender script.
09. 12 rules that stop it looking like a toy
Every rule here came from a mistake in this build.

- Internals first, shell last. If the shell lands first, the best parts arrive where nobody can see them.
- Bounce only the big outer parts. An overshoot on a magnet flies it straight through the shell.
- Explode along the product's axis, film along it at an angle. A sideways stack doesn't fit a vertical frame.
- Give metal something to reflect. In a dark studio, metal shows only what it reflects: no bright panels, no highlights.
- Scale textures to the camera. Grain that looks right at arm's length looks like crocodile in a macro.
- Fade the floor out. A visible floor edge draws a horizon line through every shot.
- Reserve zones for text. Title in the top quarter, specs in the bottom fifth, the product in between.
- Match the two cameras. Cycles and the browser must share position and field of view, or the photo-to-wireframe cut jumps.
- Count from the scene. Parts from parts.json, triangles from the GLB, minutes from a timer.
- Invented brands only. Or the reader's own product. Never someone else's logo or design.
- Show the real prompts. The brief in the hook is a summary. The replies get the real ones. A "one prompt" claim gets called out fast.
- Look before you render. Check 5 stills before committing to 450 frames.
10. When it breaks
- Parts poke through the shell mid-assembly → an easing with overshoot on internal parts. Rule 2.
- Aluminium looks flat and dark → nothing bright to reflect. Add soft boxes or a big dim panel. Rule 4.
- The exploded stack doesn't fit the frame → the camera is square to the axis. Turn it to look along the axis.
- Text sits on the product → move the camera back or the target down until the product lives in the middle band.
- The 3D area is a shade darker than the page (light layouts) → tone mapping darkens the background. Sample the rendered pixel and use that colour for the page.
- Ghost halos in a cutaway → the ambient-occlusion pass ignores clipping planes. Turn AO off while the cut is open.
- The wireframe pass erases the solid half → the second render pass repaints the background. Set it to none for that pass.
- Headless Chrome shows a blank canvas → launch it with --use-angle=swiftshader --enable-unsafe-swiftshader.
- Two renders crash with "address in use" → each capture runs its own local server. Give each a different port.
- Cycles takes forever → you're rendering video in it. Stills only.
11. Our run: Halden H1, part by part
The ad at the top is one pass through this guide. The headphones don't exist: the brand was invented for the test.
- 146 parts, none placed by hand. Shell, stitched cushions, sliders with size marks, yokes and pivots, a back plate with the engraved logo.
- Inside the cup: a 40 mm driver with a rippled diaphragm and dust cap, a voice coil wound in 12 turns, a magnet stack, a board with 30+ components and a gold antenna trace, a Li-ion cell with its flex cable, a USB-C port.
- 163,256 triangles from one 363-line Python script that rebuilds in about 2 seconds.
- One frame from Blender Cycles (the ending). Everything else was filmed in the browser.
- About 30 minutes from brief to final cut, on 2 CPU cores and no GPU.
Same pipeline, new script: that's the whole cost of the next product.
12. Make it yours
What works best: anything you could measure with a ruler, with insides worth taking apart, some metal or glass for the light, and one detail that deserves a macro. Organic shapes (shoes, characters, animals) are a different job.
Ten products that fit: wireless earbuds in a magnetic case, a 65% mechanical keyboard, a smartwatch, an insulated bottle, a portable speaker, a mirrorless camera, a gamepad, a jointed desk lamp, a coffee grinder, a drone.
What changes per product:
- parts.json and the Blender script: new.
- The animation table: for each part, the order it arrives, where it flies in from, how far it moves in the explode.
- Two macro targets: the logo shot and the texture shot.
- The text: name, tagline, four specs that really exist in the model.
- The Cycles camera.
If it's your real product, give Claude photos and measurements, not brand files you don't own.
What should it build next? Drop a product in the replies. The best one becomes tomorrow's ad.
Brief in. Ad out.
Source: VibeDino · x.com