Overview
Transform text descriptions into optimized 3D models suitable for game engines.
Usage
Input
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt |
string | Yes | - | Text description of the 3D model to generate |
api_key |
string | Yes | - | Your Buu API key (get it from buu.fun) |
output_format |
string | No | glb |
Output format: glb, obj, or fbx |
Output
Returns the generated 3D model file in the specified format.
Example
import replicate
output = replicate.run(
"buu_fun/buu-gameready-v2",
input={
"prompt": "a medieval sword with ornate handle",
"api_key": "your-buu-api-key",
"output_format": "glb"
}
)
# output is the path to the generated 3D model
print(output)
JavaScript Example
import Replicate from "replicate";
const replicate = new Replicate();
const output = await replicate.run("buu_fun/buu-gameready-v2", {
input: {
prompt: "a cute robot character",
api_key: "your-buu-api-key",
output_format: "glb"
}
});
console.log(output);
Output Formats
| Format | Description | Use Case |
|---|---|---|
glb |
Binary glTF | Web, Unity, Unreal, most engines |
obj |
Wavefront OBJ | Universal compatibility |
fbx |
Autodesk FBX | Unity, Unreal, 3D software |
Performance
Generation time: approximately 2-5 minutes per model, depending on complexity.
Getting an API Key
- Visit buu.fun
- Create an account or sign in
- Navigate to your account settings to generate an API key
Model created
Model updated