[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112890":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":14,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":21,"createdAt":10,"pushedAt":10,"updatedAt":42,"readmeContent":43,"aiSummary":44,"trendingCount":16,"starSnapshotCount":16,"syncStatus":45,"lastSyncTime":46,"discoverSource":47},112890,"BlendClone","blixvip\u002FBlendClone","blixvip","Turn a reference video into an editable Blender project: AI scene analysis, declarative compiler, side-by-side fidelity scoring, .blend export.","https:\u002F\u002Fdiscord.gg\u002Fgrokbot",null,"Python",66,8,1,21,0,42.96,"MIT License",false,"main",[22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"3d","3d-reconstruction","ai","ai-3d","blender","blender-addon","blender-python","bpy","computer-vision","fastapi","good-first-issue","help-wanted","motion-tracking","open-source","pydantic","python","reconstruction","scene-reconstruction","video","video-to-3d","2026-11-24 04:01:32","\u003Cdiv align=\"center\">\n\n# BlendClone\n\n**Turn a reference video into an editable Blender project.**\n\nImport a clip, let an AI planner describe the scene, compile it into native Blender objects,\ncompare the render side by side, refine it in plain English, and export the `.blend`.\n\n\u003Cimg src=\"docs\u002Fmedia\u002Fshowcase\u002Fshowcase-grid.gif\" alt=\"Four scenes compiled by BlendClone: studio turntable, domino cascade, neon title, low-poly island\" width=\"880\">\n\n\u003Csub>Four scenes compiled from scene JSON into native Blender objects and rendered in Cycles. Every frame is editable in the exported \u003Ccode>.blend\u003C\u002Fcode>.\u003C\u002Fsub>\n\n![Python 3.12](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpython-3.12-3776AB?logo=python&logoColor=white)\n![Blender 5.1+](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fblender-5.1%2B-F5792A?logo=blender&logoColor=white)\n![FastAPI](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FFastAPI-local%20app-009688?logo=fastapi&logoColor=white)\n[![tests](https:\u002F\u002Fgithub.com\u002Fblixvip\u002FBlendClone\u002Factions\u002Fworkflows\u002Ftests.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fblixvip\u002FBlendClone\u002Factions\u002Fworkflows\u002Ftests.yml)\n![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue)\n![Status](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fstatus-experimental-orange)\n\n🛠 **Built in the open** — 4 contributors · 12 good first issues · we review PRs within 24h → [start here](https:\u002F\u002Fgithub.com\u002Fblixvip\u002FBlendClone\u002Fissues\u002F14)\n\n\u003C\u002Fdiv>\n\n---\n\n## Contents\n\n- [What it does](#what-it-does)\n- [Gallery](#gallery)\n- [Screenshots](#screenshots)\n- [How it works](#how-it-works)\n- [Quick start](#quick-start)\n- [Verify](#verify)\n- [Repository layout](#repository-layout)\n- [Safety model](#safety-model)\n- [Honest limits](#honest-limits)\n- [Roadmap](#roadmap)\n- [Contributing](#contributing)\n\n## What it does\n\n| | |\n|---|---|\n| **Import** | YouTube \u002F Vimeo \u002F X links via `yt-dlp`, or local MP4 \u002F MOV \u002F WebM. Pick any 0.25–60 s section. |\n| **Analyse** | Samples timestamped frames (extra samples around big visual changes) and asks the planner model for geometry, materials, cameras, lights, shot cuts and animation. |\n| **Compile** | Validated scene JSON → native Blender objects, keyframes, shape keys, cameras and lights. Model-written Python **never** runs. |\n| **Compare** | Synchronized reference \u002F remake players with shared seeking, speed and audio, plus a per-frame fidelity score (layout SSIM, colour ΔE, motion, timing). |\n| **Refine** | Type a correction (\"at 0:02.5 move the camera closer\"). One review pass compares source and render frames automatically. |\n| **Export** | Editable `.blend`, remake MP4, side-by-side comparison MP4, and a project ZIP with the scene JSON and a standalone compiler. |\n\nAlso included: procedural asset recipes (hands, skin cutaways, follicles, vessels, splinters, tweezers), shape-key swelling, procedural skin\u002Fwood textures, subsurface materials, depth of field, native frame-rate preservation (29.97 fps included), and Eevee\u002FCycles pinned per project so previews and finals match.\n\n## Gallery\n\nEach clip below is one JSON file in [`examples\u002F`](examples). The same validated contract the AI planner writes goes through the same compiler, so this is exactly what the engine can build. Rebuild any of them with `python scripts\u002Fshowcase.py --only \u003Cname>`.\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd width=\"50%\">\u003Cimg src=\"docs\u002Fmedia\u002Fshowcase\u002Fturntable.gif\" alt=\"Studio turntable\">\u003C\u002Ftd>\n\u003Ctd width=\"50%\">\u003Cimg src=\"docs\u002Fmedia\u002Fshowcase\u002Fcascade.gif\" alt=\"Domino cascade\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cb>Studio turntable\u003C\u002Fb> · coated, chrome and glass materials, noise-textured marble, depth of field, orbiting camera\u003Cbr>\u003Csub>\u003Ca href=\"examples\u002Fturntable.json\">scene\u003C\u002Fa> · \u003Ca href=\"docs\u002Fmedia\u002Fshowcase\u002Fturntable.mp4\">MP4\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd>\u003Cb>Domino cascade\u003C\u002Fb> · staggered keyframes pivoting on the floor edge, two shots with a hard camera cut\u003Cbr>\u003Csub>\u003Ca href=\"examples\u002Fcascade.json\">scene\u003C\u002Fa> · \u003Ca href=\"docs\u002Fmedia\u002Fshowcase\u002Fcascade.mp4\">MP4\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd width=\"50%\">\u003Cimg src=\"docs\u002Fmedia\u002Fshowcase\u002Fneon.gif\" alt=\"Neon title\">\u003C\u002Ftd>\n\u003Ctd width=\"50%\">\u003Cimg src=\"docs\u002Fmedia\u002Fshowcase\u002Fisland.gif\" alt=\"Low-poly island\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cb>Neon title\u003C\u002Fb> · 3D text, emissive bezier tubes, glossy reflections, dolly push-in\u003Cbr>\u003Csub>\u003Ca href=\"examples\u002Fneon.json\">scene\u003C\u002Fa> · \u003Ca href=\"docs\u002Fmedia\u002Fshowcase\u002Fneon.mp4\">MP4\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd>\u003Cb>Low-poly island\u003C\u002Fb> · one generated mesh with per-face materials by height, flat shading, sun light, flyover\u003Cbr>\u003Csub>\u003Ca href=\"examples\u002Fisland.json\">scene\u003C\u002Fa> · \u003Ca href=\"docs\u002Fmedia\u002Fshowcase\u002Fisland.mp4\">MP4\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n### Reference vs remake\n\nThe compare view plays the source and the rebuild in sync and scores every frame.\n\n\u003Cimg src=\"docs\u002Fmedia\u002Fball-drop-comparison.gif\" alt=\"Ball-drop pipeline test: reference (left) vs Blender remake (right)\" width=\"640\">\n\n\u003Csub>Pipeline test: synthetic reference (left) vs the BlendClone remake (right).\u003C\u002Fsub>\n\n## Screenshots\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd width=\"50%\">\u003Cimg src=\"docs\u002Fmedia\u002Fapp-home.png\" alt=\"New remake screen\">\u003C\u002Ftd>\n\u003Ctd width=\"50%\">\u003Cimg src=\"docs\u002Fmedia\u002Fapp-project.png\" alt=\"Project compare view\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd align=\"center\">\u003Csub>Start a remake: link or upload, section, quality\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\">\u003Csub>Compare, refine, export\u003C\u002Fsub>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## How it works\n\n```mermaid\nflowchart LR\n    A[Link or upload] --> B[Normalize clip]\n    B --> C[Timestamped frames]\n    C --> D[AI scene analysis]\n    D --> E[Validate scene JSON]\n    E --> F[Compile Blender scene]\n    F --> G[Render preview frames]\n    G --> H[AI visual correction]\n    C --> H\n    H --> E\n    F --> I[Render animation]\n    I --> J[Score, compare, export]\n```\n\n![Scene JSON compiled into a Blender render](docs\u002Fmedia\u002Fshowcase\u002Fscene-to-render.png)\n\n- **Planner**: the official Codex CLI with your ChatGPT login (`BLENDREMAKE_MODEL`, default `gpt-6-astra`). No API key is stored by the app.\n- **Contract**: `app\u002Fmodels.py` is a Pydantic schema with bounded objects, meshes, keyframes and durations. It rejects parent cycles, missing materials, uncovered time and out-of-range keys before Blender starts.\n- **Compiler**: `app\u002Fblender_scene.py` is repository-owned Blender Python that turns the contract into editable collections per shot.\n- **Fidelity**: `app\u002Ffidelity.py` scores every rendered frame against the reference (worst-tile SSIM, ΔE, optical flow, timing lag), with gates in `app\u002Ffidelity_gates.json` calibrated by `scripts\u002Fcalibrate_fidelity.py`.\n- **Jobs**: one worker at a time, atomic `job.json` per project, cancel\u002Fretry\u002Frevise, and restarts mark unfinished jobs as interrupted.\n\nMore detail: [all docs](docs\u002FREADME.md) · [Architecture](docs\u002FARCHITECTURE.md) · [Implementation](docs\u002FIMPLEMENTATION.md) · [Final plan](docs\u002FFINAL-PLAN.md)\n\n## Quick start\n\n**Requirements:** Windows (macOS\u002FLinux untested), Python 3.12, Blender 5.1+, FFmpeg\u002Fffprobe, and the Codex CLI (`codex login` with your ChatGPT account).\n\n```powershell\n.\\start.ps1\n```\n\nThis creates `.venv` if needed, starts the app at **http:\u002F\u002F127.0.0.1:4331** and opens your browser.\n\nManual setup:\n\n```powershell\npy -3.12 -m venv .venv\n.venv\\Scripts\\python.exe -m pip install -r requirements.lock.txt\n.venv\\Scripts\\python.exe -m uvicorn app.server:app --host 127.0.0.1 --port 4331\n```\n\n| Variable | Default | Purpose |\n|---|---|---|\n| `BLENDER_PATH` | auto-detect | Full path to `blender.exe` |\n| `BLENDREMAKE_MODEL` | `gpt-6-astra` | Planner model available to your Codex account |\n| `BLENDREMAKE_DATA` | `.\u002Fdata\u002Fprojects` | Where projects are stored |\n\n## Verify\n\n```powershell\n.venv\\Scripts\\python.exe -m pytest -q                 # 168 contract \u002F API \u002F pipeline tests\n.venv\\Scripts\\python.exe scripts\\renderer_check.py     # renders the synthetic ball drop in Blender\n.venv\\Scripts\\python.exe scripts\\browser_check.py      # UI at 5 widths (app must be running)\n.venv\\Scripts\\python.exe scripts\\fidelity_selftest.py  # fidelity scorer sanity check\n.venv\\Scripts\\python.exe scripts\\ai_check.py           # optional live planner run (uses account allowance)\n```\n\n`scripts\\showcase.py` re-renders the gallery scenes and rebuilds the README media (needs Blender + FFmpeg).\n\nThe 9 tests that shell out to FFmpeg (all of `tests\\test_reference.py` plus two in `tests\\test_complex_scenes.py`) are skipped automatically when `ffmpeg`\u002F`ffprobe` are not on `PATH` (reason: `needs FFmpeg + ffprobe on PATH`). CI installs FFmpeg, so all 168 tests run there.\n\n`scripts\\export_check.py PROJECT_ID` rebuilds a finished project's ZIP in a fresh folder, reopens the `.blend`, and recaptures the comparison.\n\n## Repository layout\n\n| Path | Purpose |\n|---|---|\n| `app\u002Fmodels.py` | Validated scene contract and timing rules |\n| `app\u002Fai.py` | Planner prompts, correction loop, Codex bridge |\n| `app\u002Fblender_scene.py` | Deterministic JSON → Blender compiler |\n| `app\u002Fblender_worker.py`, `app\u002Fworker.py` | Persistent Blender worker for fitting passes |\n| `app\u002Fanatomy.py`, `app\u002Fgeometry.py`, `app\u002Freference_anatomy.py` | Trusted procedural asset recipes and mesh builders |\n| `app\u002Ffidelity.py`, `app\u002Fmeasurements.py`, `app\u002Ffitting.py` | Frame scoring, measured tracks, parameter fitting |\n| `app\u002Fmedia.py`, `app\u002Freference.py` | Imports, normalization, frame sampling, source manifests |\n| `app\u002Frender.py`, `app\u002Fpipeline.py`, `app\u002Fprocess.py` | Blender runs, encoding, job orchestration, owned-process control |\n| `app\u002Fserver.py`, `app\u002Fstore.py` | Local FastAPI app and project storage |\n| `web\u002F` | Single-page workspace: import, library, compare, revise |\n| `examples\u002F` | Gallery scenes (turntable, cascade, neon, island) and the ball-drop fixture |\n| `scripts\u002F` | Renderer \u002F browser \u002F export \u002F fidelity \u002F pilot tooling |\n| `tests\u002F` | 168 pytest tests |\n| `docs\u002F` | Architecture, plans, benchmarks, audits |\n\n## Safety model\n\n- Only repository-owned Blender Python executes. The model emits data, not code: no file paths, shell commands, imports or downloads.\n- The server binds to loopback, checks Host\u002FOrigin and mutation headers, limits upload size, and serves only named artifacts.\n- Cancellation signals only the exact child process a job started. Nothing else is touched.\n- Project ZIPs exclude the source video and reference frames. Downloads never contain credentials or prompt logs.\n- Selected frames and review renders **are** sent to the planner model, and link imports contact the source site. It is a local app, not an offline one.\n\n## Honest limits\n\nThis is an experimental **reconstruction** tool, not a way to recover an original project file. The planner infers unseen geometry, lighting and motion from sampled images, so **a successful render does not mean a close match**. The fidelity score exists to make that gap visible.\n\nSupported today: primitives, custom meshes, tube curves, text, procedural anatomy assets, textured and per-face materials, bevel\u002Fsubdivision, parenting, transform \u002F shape-key \u002F material keyframes, camera targets, depth of field, lights, shot cuts, and packed captions.\n\n**Not supported yet:** skinned rigs, facial animation, imported character assets, physics, image textures, asset search. Characters and complex anatomy remain approximate.\n\nThe complex benchmark (a 30 s, seven-shot anatomy short, [notes](docs\u002FSPLINTER-BENCHMARK.md), [frame audit](docs\u002FFRAME-AUDIT.md), [fidelity log](docs\u002FFIDELITY-LOG.md)) builds a full editable scene. It does **not** reach frame-accurate fidelity yet. Third-party reference footage is not included in this repository.\n\n## Roadmap\n\nSee [docs\u002FROADMAP.md](docs\u002FROADMAP.md). The next major direction is stylized character shorts: rigged characters, facial expressions and story-driven scenes generated from a prompt, not only rebuilt from a reference.\n\n## Contributing\n\n[![Open in GitHub Codespaces](https:\u002F\u002Fgithub.com\u002Fcodespaces\u002Fbadge.svg)](https:\u002F\u002Fcodespaces.new\u002Fblixvip\u002FBlendClone?quickstart=1)\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) — its \"Your first PR in 10 minutes\" section gets you from zero to a pull request. The Codespace comes with Python 3.12, FFmpeg and all dependencies installed, so `python -m pytest` runs straight away (Blender is not included; the tests don't need it). Licensed under [MIT](LICENSE).\n\n\u003C!-- discord-incentive:start -->\n### 💬 Why join the Discord first\n\n**[discord.gg\u002Fgrokbot](https:\u002F\u002Fdiscord.gg\u002Fgrokbot)** is the one server for every blixvip repo, and it gets you more than a chat window:\n\n- 🟢 **Claim an issue and it is yours.** Say which one in `#contributors` and it is assigned to you, so two people never build the same thing twice.\n- 🏷️ **A contributor role** on the server the moment your first pull request is merged.\n- 🗺️ **A say in what gets built.** The roadmap is argued out there before it turns into issues.\n- 🙋 **A human to ask.** Stuck on setup, or unsure whether an idea is even wanted? Faster than waiting on an issue thread.\n\u003C!-- discord-incentive:end -->\n\n## Contributors\n\nThank you to everyone who has contributed to BlendClone! New here? Read [CONTRIBUTING.md](CONTRIBUTING.md) and pick a [good first issue](https:\u002F\u002Fgithub.com\u002Fblixvip\u002FBlendClone\u002Fissues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fblixvip\u002FBlendClone\u002Fgraphs\u002Fcontributors\">\u003Cimg src=\"https:\u002F\u002Fcontrib.rocks\u002Fimage?repo=blixvip\u002FBlendClone\" alt=\"Contributors\" \u002F>\u003C\u002Fa>\n\n---\n\n\u003Csub>Display name BlendClone; folder, environment variables and protocol identifiers keep the original `blendremake` name for compatibility.\u003C\u002Fsub>\n\n## Community and contributing\n\n[![Join the contributor Discord](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-Join%20the%20open%20source%20community-5865F2?logo=discord&logoColor=white)](https:\u002F\u002Fdiscord.gg\u002Fgrokbot)\n\n**Want to send a PR? Join the [blix open source Discord](https:\u002F\u002Fdiscord.gg\u002Fgrokbot) first.** It's the one server for everyone contributing to any blixvip repo: questions, ideas, PR discussion, help, and release news.\n","BlendClone 是一个将参考视频自动转换为可编辑 Blender 项目的 AI 辅助工具。它通过 AI 场景分析提取几何、材质、相机、灯光和动画信息，生成结构化场景描述（JSON），再经声明式编译器安全地转换为原生 Blender 对象与关键帧；支持逐帧保真度评分（SSIM\u002FΔE\u002F运动\u002F时序）与侧边对比渲染，并允许用自然语言修正细节，最终导出完整可编辑的 .blend 文件。项目基于 Python 和 Blender Python API（bpy），采用本地 FastAPI 服务协调流程，不执行用户模型生成的任意代码，强调安全性与可调试性。适用于快速原型制作、3D 教学演示、视频资产复刻及独立艺术家的轻量级视频到 3D 工作流。",2,"2026-11-18 04:45:19","CREATED_QUERY"]