# 3D Generation

BonzAI generates 3D assets by using AI to write Three.js code, which is then rendered in a WebGL viewer.

## How It Works

Unlike traditional 3D generation models, BonzAI uses a code-generation approach:

1. You describe the 3D object or scene you want
2. An LLM generates Three.js JavaScript code to create it
3. The ThreeViewer component renders the code in a WebGL canvas
4. You can interact with the 3D scene (rotate, zoom, pan)

This approach enables procedural 3D generation without requiring a dedicated 3D model like TRELLIS.

## Minting 3D NFTs

Generated 3D objects can be minted on Base. Requires **LVL5** (33,000 BONZAI held).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bonzai.sh/ai-generation/3d.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
