A Blender add-on for generating 3D models from text descriptions or images using Masterpiece X's GenAI API.
- Text-to-3D Generation: Create 3D models directly from text descriptions
- Image-to-3D Generation: Upload an image to generate a 3D model
- Non-blocking Interface: Continue working in Blender during generation
- Direct Import: Models are automatically imported into your Blender scene
- Custom Parameters: Control texture size, seed, and other generation settings
- Blender 4.0 or newer (tested with Blender 4.3)
- Internet connection
- Masterpiece X API key
- Download the latest release (
masterpiece_x_generator-1.0.0.zip) - In Blender, go to Edit > Preferences > Add-ons > Install
- Select the downloaded zip file
- Enable the add-on from the list
- Enter your Masterpiece X API key in the addon preferences
- Open the Masterpiece X panel in the 3D View sidebar (press N)
- Select "From Text" tab
- Enter your text prompt
- Adjust parameters if needed
- Click "Generate 3D Model"
- Open the Masterpiece X panel in the 3D View sidebar
- Select "From Image" tab
- Click "Select Image" and choose an image file (PNG, JPG, WEBP, BMP)
- Adjust parameters if needed
- Click "Generate 3D Model"
For best results when generating from images:
- Center the object in the image
- Use diffuse lighting with minimal shadows
- Use a solid background with high contrast to the object
- Avoid complex scenes with multiple objects
- Simple filenames work best (use only letters, numbers, underscores)
- Clone this repository
- Ensure Blender 4.0 or newer is installed on either the default location of set the environment variable BLENDER_PATH. On Windows (set BLENDER_PATH="C:\Path\to\blender.exe") and on Mac/Linux (export BLENDER_PATH="/Path/to/blender.exe")
- Run
build_extension.bat(on Windows) orbuild_extension.sh(on Mac/Linux). Note, you may need to run chmod +x build_extension.sh on Mac/Linux the first time. - The built extension (
masterpiece_x_generator-1.0.0.zip) will be created
- If installation fails, try restarting Blender
- Check the Blender console for error messages
- Ensure you have a valid API key entered in preferences
- For image generation, ensure your image meets the guidelines
If you encounter errors during uninstallation:
- Completely close Blender
- Restart Blender
- Try disabling and removing the add-on again
- If problems persist, see manual cleanup instructions in the troubleshooting section
GPL-3.0