Dexpull 3D - full installation and usage guide
Dexpull 3D turns a text prompt into a real, editable Blender model. A local or BYOK text provider writes one JSON scene specification; the FastAPI backend validates it, compiles it into tool calls, and a loopback bridge inside Blender builds the geometry, materials, camera and lights, renders a PNG and exports a GLB. No geometry, render or job progress is invented: every step is a real operation with an error message you can inspect. Generation runs on your own machine, and no cloud API is needed unless you choose a BYOK provider.
1. Download the product
Sign in at https://dexpull.in
Open Products -> Dexpull 3D
Issue a free 30-day key and press "Download for localhost"
The key is checked server-side before the ZIP is streamed; it is not stored in the bundle and no payment is collected. The download is named dexpull-3d.zip.
2. Extract and install
Open PowerShell in the folder containing the ZIP:
Expand-Archive .\dexpull-3d.zip -DestinationPath .\dexpull-3d -Force
cd .\dexpull-3d
py -3 -m venv backend\.venv
backend\.venv\Scripts\python.exe -m pip install -r backend\requirements.txt
cd frontend
npm install
npm run build
cd ..
These are the commands a setup-windows.cmd would perform for this product: create the Python venv, install backend\requirements.txt, install frontend packages and build frontend\dist. The build is optional on a fresh machine because a prebuilt frontend\dist ships in the ZIP, but running it confirms your Node install works. The bundle excludes node_modules, .venv, .next, .env* and caches; frontend\dist is deliberately included.
Requirements: Windows 10/11, Python 3.10+, Node.js 20+ and Blender 5.x. Ollama with qwen2.5:0.5b is the default free provider. A GPU is not required for the text stage; Blender rendering is faster with one.
3. Start the backend and frontend
Terminal 1, backend on port 8000:
cd .\dexpull-3d
backend\.venv\Scripts\python.exe -m uvicorn app.main:app --app-dir backend --port 8000
Terminal 2, Vite frontend on port 5173:
cd .\dexpull-3d\frontend
npm run dev
Frontend: http://localhost:5173
Backend: http://127.0.0.1:8000
API docs: http://127.0.0.1:8000/docs
Health: http://127.0.0.1:8000/api/health
There is no single start.cmd for this product; run those two commands, then start the Blender bridge in section 5. Close the terminals to stop the product.
4. API token and backend configuration
E:\YouTubeAI\dexpull3d\api.token is the DEFAULT token path, used when DEXPULL_3D_ROOT is unset. On first start the backend creates the token there (or at $DEXPULL_3D_ROOT\api.token when the variable is set). Open the frontend, go to Settings, paste that token and save. It stays in browser localStorage, is sent as header X-Dexpull-Token, and jobs WebSocket clients pass it as a subprotocol instead of a query string. Override the token itself with DEXPULL_3D_API_TOKEN.
DEXPULL_3D_ROOT must be set to the SAME value in BOTH processes: in the backend before starting uvicorn (SQLite, api.token and export serving use it) and in Blender before starting the bridge (tools.py uses it as the exports root). If only one process has the override, renders land in a different folder than the backend serves.
DEXPULL_3D_ROOT=E:\YouTubeAI\dexpull3d default storage root; set in both processes
DEXPULL_3D_API_TOKEN=<your token> optional override of the token file
DEXPULL_BRIDGE_PORT=9877 loopback bridge port
DEXPULL_BRIDGE_TOKEN=<shared secret> optional override of bridge.token
DEXPULL_BRIDGE_SCOPE=all optional tool cap: read, write, render, export
The frontend already defaults to http://127.0.0.1:8000; the ZIP excludes dotfiles, so there is no .env.example to copy. If you move the backend, create frontend.env.local yourself with VITE_DEXPULL_API_URL=http://127.0.0.1:<port>. Run the frontend checks with:
cd frontend
npx tsc --noEmit
npm run build
Backend checks:
cd backend
.\.venv\Scripts\python.exe -m pytest tests -q
5. Blender MCP bridge startup
Blender must be open before you generate anything; the frontend never starts Blender itself.
-
Open Blender and switch an area to the Text Editor.
-
Open blender\bridge.py from the extracted product and click Run Script. Or, in Blender's Python Console, set file explicitly so tools.py and the token file resolve from the script folder and not from Blender's cwd:
__file__ = r"D:\Dexpull3D\blender\bridge.py" exec(compile(open(__file__, encoding="utf-8").read(), __file__, "exec")) start_bridge()After extraction, replace D:\Dexpull3D with your own extracted folder path. If you override DEXPULL_3D_ROOT, set it in Blender before this step and to the same value in the backend.
-
The bridge listens on 127.0.0.1:9877, writes the shared secret to bridge.token next to the blender folder and prints that token. The backend reads the same file. To pin a secret, set DEXPULL_BRIDGE_TOKEN in both the backend and Blender before starting. To change the port set DEXPULL_BRIDGE_PORT in both processes. DEXPULL_BRIDGE_SCOPE (read in the Blender process, default all) caps tools by level: read (scene inspection), write (scene edits and generate_scene), render (render_scene), export (export_model and save_project). A tool above the level is refused with HTTP 403, including nested generate_scene components. Do not expose the port to the network: browsers must send Origin http://127.0.0.1:9877 or no Origin at all, and every call needs X-Dexpull-Token.
-
Stop it from Blender's Python Console with stop_bridge().
For an external AI assistant, run the MCP stdio server with the same virtualenv:
backend\.venv\Scripts\python.exe mcp\server.py
Configure your MCP client with cwd set to the extracted product folder. Tool discovery lists 20 tools; inspect_scene with an empty params object is a harmless first call. The bridge accepts only named JSON tool calls, never arbitrary Python code, and times out a stalled tool after 60 seconds.
6. Text-to-3D workflow
- Open http://localhost:5173, paste the API token in Settings and choose a provider and model.
- Type a description of the object and press Generate. POST /api/generate creates a real job and returns a job id; at most two jobs may run at once.
- The provider returns one JSON object with keys object_type, dimensions, components, materials, lighting, camera and details. Components use shapes cube, sphere, cylinder, cone, plane or mesh; a mesh may include vertices and faces. Materials are named with RGB colors between 0 and 1.
- Pydantic validates the spec (limits: 64 components, 32 materials, 10000 vertices, 20000 faces, 256 bridge calls, 15-minute deadline). Invalid output gets exactly one repair attempt with the real validation error; if it is still invalid the job fails with that message.
- The planner emits ordered bridge calls: materials first, then objects/meshes, material assignment, camera, lighting, render_scene and export_model. Progress and log lines arrive over /ws/jobs and are also stored in SQLite, so a restart never reports invented completion.
- When the job reaches done, open the result in the built-in Three.js viewer, orbit the model, regenerate with a changed prompt or save the project in the library.
7. Supported categories
Prompts work best when they name one of these categories: vehicles, architecture, furniture, characters, animals, robots, props, game assets, consumer products, interiors and natural environments. Geometry is assembled from the supported primitive shapes or custom mesh data, so describe concrete parts, colors and proportions rather than asking for a photorealistic scan. Image-to-3D is not implemented in this build: POST /api/image returns a real HTTP 501 and no image.
8. File structure
dexpull-3d\
README.md short overview and commands
backend\
requirements.txt pinned Python dependencies
app\main.py FastAPI routes, token auth, CORS, /ws/jobs
app\engine.py spec validation, call planner, job runner
app\providers.py ollama, openai, gemini, anthropic adapters
app\db.py SQLite projects, models, jobs, keys, settings
app\crypto.py AES-256-GCM provider key encryption
tests\ pytest suite
frontend\
src\ Vite/React/Three.js UI and error guidance
dist\ prebuilt production frontend (included in ZIP)
blender\
bridge.py loopback HTTP bridge, run inside Blender; scope checks (403)
tools.py 20 validated bpy tool handlers
mcp\
README.md bridge and MCP setup
server.py MCP stdio server forwarding to the bridge
9. Export paths and storage
All state lives under E:\YouTubeAI\dexpull3d when DEXPULL_3D_ROOT is unset. If you override it, set the same DEXPULL_3D_ROOT in the backend and Blender processes before starting them:
E:\YouTubeAI\dexpull3d\dexpull3d.db SQLite database, WAL mode
E:\YouTubeAI\dexpull3d\api.token local API token
E:\YouTubeAI\dexpull3d\exports\ PNG renders and GLB models
E:\YouTubeAI\dexpull3d\exports\dexpull\<job-id>\render.png
E:\YouTubeAI\dexpull3d\exports\dexpull\<job-id>\model.glb
Every generated job writes to its own dexpull\subfolder. The bridge rejects absolute or traversing output paths, so exports cannot escape that directory. Downloaded files are served through GET /api/files/{path} with the token header; .glb is returned as model/gltf-binary and .png as image/png. The bridge can also export .gltf, .obj and .blend from its own tools.
10. Provider keys (BYOK)
Ollama is local and needs no key; install it and pull the model named in Settings, for example ollama pull qwen2.5:0.5b. The default Ollama endpoint is http://127.0.0.1:11434. To use a cloud provider, paste your own key in Settings -> Provider keys. The backend stores it encrypted with AES-256-GCM in SQLite (PUT /api/settings/keys); there is deliberately no GET route that returns keys. Optional environment fallbacks are OPENAI_API_KEY, GEMINI_API_KEY and ANTHROPIC_API_KEY. Default models: gpt-4o-mini, gemini-4-hydrogen and claude-sonnet-4-5. Each provider uses its own default when the optional Model field is empty; the saved Preferred Ollama model applies only to Ollama, and a typed model is remembered per provider. Edit & retry restores the provider and model from the original job. Provider errors are returned verbatim with the key text redacted; nothing is fabricated.
11. Verification
curl http://127.0.0.1:8000/api/health
curl -H "X-Dexpull-Token: <token from api.token>" http://127.0.0.1:8000/api/providers
backend\.venv\Scripts\python.exe -m pytest tests -q
cd frontend && npx tsc --noEmit && npm run build
Expected: health returns status ok, providers lists ollama plus the three BYOK providers with availability only, tests pass, and TypeScript plus the Vite build are clean.
12. Troubleshooting
Backend unreachable start uvicorn on port 8000; check the configured API URL
Token rejected re-copy the current value of api.token into Settings
Blender bridge missing run blender\bridge.py inside Blender before generating
Bridge token not found start the bridge once so it writes bridge.token
Bridge HTTP 401 match DEXPULL_BRIDGE_TOKEN in Blender and the backend
Bridge HTTP 403 DEXPULL_BRIDGE_SCOPE is below the tool's level (read/write/render/export)
Tool call times out check Blender is responsive; the job fails instead of faking success
Invalid model spec use a clearer prompt or another provider; one repair was attempted
No local model start Ollama and pull qwen2.5:0.5b, or choose a BYOK provider
Queue full wait for one of the two active jobs to finish
Image generation 501 image-to-3D is not implemented; use a text prompt
Empty exports DEXPULL_3D_ROOT must match in the backend and Blender processes; check the job's dexpull\<job-id> folder
13. Paste this into ChatGPT
The raw, machine-readable version of this guide is served at:
https://dexpull.in/api/docs/dexpull-3d
On a local install the same path is:
http://localhost:4000/api/docs/dexpull-3d
Copy either URL into ChatGPT. It returns plain Markdown with Content-Type text/markdown, including the extract and setup commands, ports, token files, Blender bridge startup, workflow, categories, file structure, export paths and troubleshooting steps.