NativeBlend CLI - Generate 3D models in Blender using AI
Project description
NativeBlend CLI
Open-source command-line interface for generating 3D models in Blender using AI.
Features
- 🎨 Text & Image to 3D - Generate models from natural language descriptions
- ⚡ Local Blender Execution - Fast rendering on your machine, no bandwidth waste
- 🔄 Real-time Progress - Live streaming updates from the AI agent
- 🎯 Multiple Quality Modes - Express, Standard, and Pro generation modes
- 🔐 Secure - API keys stored in system keychain
Installation
pip install nativeblend
Or install from source:
git clone https://github.com/addy999/nativeblend-cli.git
cd nativeblend-cli
uv sync
alias nativeblend="uv run nativeblend --"
Then use nativeblend command in your terminal.
Quick Start
- Initialize the CLI:
nativeblend init
# You'll be asked if you want to start background workers
-
Get your API key from nativeblend
-
Configure your API key:
nativeblend auth login
# Enter your API key when prompted
- Generate your first model:
nativeblend generate "a low poly spaceship"
Usage
Generate a 3D Model
# Basic generation
nativeblend generate "a red cube"
# Use different quality modes
nativeblend generate "a spaceship" --mode pro
# Use a reference image
nativeblend generate "a car" --image reference.jpg
# Enable verbose output
nativeblend generate "a tree" --verbose
Modes
- express - Fast generation, single iteration (~30s)
- standard - Balanced quality with refinement (~2min)
- pro - High quality with multiple refinement passes (~5min)
Change output dir
By default renders and outputs are saved to ./outputs. Change this in your config:
nativeblend config set output.default_dir /path/to/outputs
Background Workers
Run workers in the background to execute Blender tasks without blocking your terminal.
Workers can be started during nativeblend init, or manually anytime:
# Start workers in the background
nativeblend worker start
# Start with custom settings
nativeblend worker start --workers 2 --poll-interval 10
# Check worker status
nativeblend worker status
# View worker logs
nativeblend worker logs
# Follow logs in real-time
nativeblend worker logs --follow
# Stop workers
nativeblend worker stop
Worker Options:
--workers, -w- Number of concurrent workers (1-10, default: 1)--poll-interval, -p- Polling interval in seconds (default: 5)--lines, -n- Number of log lines to show (default: 50)--follow, -f- Follow log output liketail -f
Workers run as background daemons and will continue executing tasks even after closing your terminal.
Authentication
# Login with API key
nativeblend auth login
# Check authentication status
nativeblend auth status
# Logout
nativeblend auth logout
How It Works
- CLI sends prompt - Your prompt is sent to NativeBlend's cloud API
- AI generates code - NativeBlend creates Blender Python scripts
- Local execution - Code runs on YOUR Blender (fast, private)
- Iterative refinement - NativeBlend reviews renders and improves until perfect
Your Blender installation stays local - only prompts and small images are sent to the cloud.
Configuration
Configuration file location: ~/.config/nativeblend/config.toml
[api]
endpoint = "https://blender-ai.fly.dev"
timeout = 300
[blender]
executable = "/Applications/Blender.app/Contents/MacOS/Blender" # macOS
# executable = "/usr/bin/blender" # Linux
# executable = "C:\\Program Files\\Blender Foundation\\Blender\\blender.exe" # Windows
[output]
default_dir = "./outputs"
save_renders = true
Requirements
- Python 3.12 or higher
- Blender 4.5 or higher installed locally
- NativeBlend API key
Pricing
- Free Tier: 5 generations/month (express or standard mode)
- Indie: $29/month - Unlimited generations (express + standard + pro)
- Team: $79/month - Unlimited generations + 3 seats + team collaboration features
See pricing for details.
Troubleshooting
Blender Not Found
If you get "Blender executable not found":
# Set blender path explicitly
nativeblend config set blender.executable /path/to/blender
Development
# Clone the repository
git clone https://github.com/addy999/nativeblend-cli.git
cd nativeblend-cli
# Install development dependencies
uv sync
# Format code
black src/
ruff check src/
License
MIT License - see LICENSE for details.
Support
- 📖 Documentation (coming soon)
- 💬 Discord Community
- 🐛 Issue Tracker
- 📧 Email: support@nativeblend.app
Powered By
NativeBlend CLI is powered by NativeBlend's proprietary AI agent infrastructure, combining industry knowledge with advanced vision models for iterative 3D generation.
Made with ❤️ by the NativeBlend team
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nativeblend-0.1.1.tar.gz.
File metadata
- Download URL: nativeblend-0.1.1.tar.gz
- Upload date:
- Size: 38.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30e5ea14af8c796ee0aa50ba78efb579834295bd333f17fd632c2d19e1cb247d
|
|
| MD5 |
7c5bf7d3b2571c91b3f5e5e27eb551b4
|
|
| BLAKE2b-256 |
528cf68270378486025187510a46d792398f1cc9b0e7f584f791062d16aaf8f5
|
File details
Details for the file nativeblend-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nativeblend-0.1.1-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8c76bf71a39f7b88084c6ddb235b17ed4693aceaf96ecb1987d13a1994d3363
|
|
| MD5 |
527d90373fe2993b6f83fbe6a1769993
|
|
| BLAKE2b-256 |
21efad22ce363c68888f634ed0a9cf260c51135c6a116a763b1444b50bed1c01
|