Skip to content

Commit

Permalink
Merge pull request #12 from Zhou-Shilin/main
Browse files Browse the repository at this point in the history
feat: Update README.md
  • Loading branch information
Zhou-Shilin authored May 12, 2024
2 parents 7a69b02 + 74849aa commit 8d38840
Showing 1 changed file with 7 additions and 40 deletions.
47 changes: 7 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@
BuilderGPT is an open source, free, AI-powered Minecraft structure generator. It was developed for minecraft map makers. It can generate structures in `*.schem` format and users can import them via worldedit, etc.

# Showcase
![](https://github.com/Zhou-Shilin/picx-images-hosting/blob/master/img-mUATep311QjghtgbcihXCJwZ.png?raw=true)
![](https://github.com/Zhou-Shilin/picx-images-hosting/blob/master/Snipaste_2024-05-12_21-11-55.png?raw=true)

## GET YOUR FREE API KEY WITH GPT-4 ACCESS
We are pleased to announce that SEC-API is offering a free apikey for users of programs developed by CubeGPT!
This key has access to gpt-4-1106-preview and gpt-3.5-turbo-1106.

**Note that this key does not have access to models such as gpt-4-vision and gpt-4-turbo-preview and expires at any time.**
**Note that this key does not have access to models such as gpt-4-vision and expires at any time.**

Get the key from [here](https://github.com/orgs/CubeGPT/discussions/1). You can use it in BuilderGPT.

Expand All @@ -35,10 +39,9 @@ Get the key from [here](https://github.com/orgs/CubeGPT/discussions/1). You can

- [x] Generate structures
- [x] Preview rendered schematic in-program
- [x] Generate structures directly
- [x] Export generated structures to `*.schem` files
- [ ] Export generated structures to OOC commands
- [ ] **Advanced Mode** (Use Stable Diffusion/DALL-E to generate the design image and let `gpt-4-vision` generate the struture base on it.)
- [ ] Export generated structures to `*.mcfunction` files
- [x] **Advanced Mode** (Use Stable Diffusion/DALL-E to generate the design image and let `gpt-4-vision` generate the struture base on it.)
- [ ] Edit structures

### Other projects of CubeGPT Team
Expand All @@ -49,44 +52,8 @@ Get the key from [here](https://github.com/orgs/CubeGPT/discussions/1). You can

## How it works

### Advanced Mode
After the user enters a requirement, the program uses `gpt-4-preview` to expand the details of the requirement and generate a specific solution. The program then uses the generated solution to generate a drawing tag using `gpt-4-preview`, and then calls Stable Diffusion WebUI or DALL-E to generate a design using the generated tag. The generated schematic is then given to `gpt-4-vision-preview` along with the optimized requirements to generate a `json` containing the content of the structure, for example:

```json
{
"materials": [
"A: \"minecraft:air\"",
"S: \"minecraft:stone\""
],
"structures": [
{
"floor": 0,
"structure": "SSSSSSSS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSSSSSSSS"
},
{
"floor": 1,
"structure": "SSGGGGSS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSSSSSSSS"
},
{
"floor": 2,
"structure": "SSGGGGSS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSSSSSSSS"
},
{
"floor": 3,
"structure": "SSSSSSSS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSSSSSSSS"
},
{
"floor": 4,
"structure": "SSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\n"
}
]
}
```
The program then parses this `json` response and generates a `*.schem` file for the user to import the structure into the game.


### Simple Mode
After the user enters a requirement, the program causes `gpt-4-preview` to generate a `json` containing the content of the structure, for example:
```json
{
"materials": [
Expand Down

0 comments on commit 8d38840

Please sign in to comment.