Blender can be controlled using program scripts written in Python. This plugin provides an easy to use interface that integrates Google's Gemini right in the UI, allowing you to use natural language commands to control Blender.
- Clone this repository by clicking
Code > Download ZIPon GitHub - Open Blender, go to
Edit > Preferences > Add-ons > Install from Disk - Select the downloaded ZIP file and click
Install from Disk - Enable the add-on by checking the checkbox next to
Gemini Blender Assistant - Paste your Gemini API key in the Addon preferences menu
- To view the code generations in realtime, go to
Window > Toggle System Console
- In the 3D View, open the sidebar (press
Nif not visible) and locate theGemini Blender Assistanttab. - Type a natural language command in the input field, e.g., "create a cube at the origin".
- Select an object and enable "Include Selected Geometry" to provide the LLM with detailed information about the object's location, shape, etc.
- Enable "Target with 3D Cursor" to guide actions near the 3D cursor. The add-on will send the cursor's world location, orientation, and nearest objects to improve targeting and alignment.
- Tip: Place the cursor on or near the area of interest (Shift+Right-Click by default). For orientation-aware tasks (arrays, cuts, alignment), rotate the cursor to define axes.
- Enable "Attach Viewport Screenshot" to include a 3D Viewport image for additional visual context.
- Enable "Enable Grounding" to allow Gemini to use Google Search grounding for more verifiable, up-to-date responses.
- Click the
Executebutton to generate and execute the Blender Python code.
Note: Gemini will automatically attempt to fix error-producing scripts (up to 1 time by default).
- Blender 3.1 or later
- Gemini API key