A Blender add-on that integrates Google's Gemini AI to help you generate Python scripts for Blender operations. This add-on provides a chat interface where you can describe what you want to create or modify in Blender, and Gemini will generate the appropriate Python code.
- Blender 3.0.0 or newer
- Internet connection
- Google Gemini API key
- Download the latest release ZIP file from this repository
- In Blender, go to Edit > Preferences > Add-ons
- Click "Install..." and select the downloaded ZIP file
- Enable the add-on by checking the checkbox next to "Development: Gemini Chat Assistant"
- Get your Gemini API key from the Google AI Studio
- In Blender, open the Gemini panel in the 3D Viewport's sidebar (press N to show the sidebar)
- Enter your API key in the "API Key" field at the top of the panel
- Open the Gemini panel in the 3D Viewport's sidebar (press N and select the "Gemini" tab)
- Enter your question or request in the text field at the bottom
- Click "Send Message" or press Enter
- If the response contains code:
- It will be automatically saved to Blender's Text Editor
- If auto-execute is enabled, it will run automatically
- You can manually copy or execute the code using the buttons below the code block
- "Create a simple cube and sphere scene"
- "Generate a spiral staircase"
- "Add a camera that orbits around the selected object"
- "Create a procedural wood texture for the selected object"
You can modify the following parameters in the CONFIG
dictionary at the top of the script