Giter Site home page Giter Site logo

pshtfp / blendergpt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gd3kr/blendergpt

0.0 0.0 0.0 1.92 MB

Use commands in English to control Blender with OpenAI's GPT-4

License: MIT License

Shell 0.04% Python 97.30% Cython 2.33% Roff 0.33%

blendergpt's Introduction

BlenderGPT

Header

Blender can be controlled using program scripts written in Python. Recent Large Language Models like OpenAI's GPT-4 can generate these Python scripts from simple English and execute them. This plugin provides an easy to use interface that integrates OpenAI's GPT-4/GPT-3.5 right in the UI, allowing you to use natural language commands to control Blender.

Note

Access to GPT-4 in this addon can ONLY be obtained through the OpenAI waitlist (https://openai.com/waitlist/gpt-4-api), which in turn grants your account access to this model via the API.

GPT-4 access via the API is different from GPT-4 access via ChatGPT-Plus ($20/month subscription). This addon will only work with GPT-4 if you have been accepted into the waitlist (https://openai.com/waitlist/gpt-4-api) and have access to the API via your OpenAI API key

Installation

  1. Clone this repository by clicking Code > Download ZIP on GitHub
  2. Open Blender, go to Edit > Preferences > Add-ons > Install
  3. Select the downloaded ZIP file and click Install Add-on
  4. Enable the add-on by checking the checkbox next to GPT-4 Blender Assistant
  5. Paste your OpenAI API key in the Addon preferences menu.
  6. To view the code generations in realtime, go to Window > Toggle System Console

Usage

  1. In the 3D View, open the sidebar (press N if not visible) and locate the GPT-4 Assistant tab
  2. Type a natural language command in the input field, e.g., "create a cube at the origin"
  3. Click the Execute button to generate and execute the Blender Python code

Requirements

Demonstration

GPT-4.Blender.Demo.mov

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.