> For the complete documentation index, see [llms.txt](https://docs.m-xr.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.m-xr.com/marso-studio/integrations/blender/building-with-your-agent.md). Agents can also search and read this documentation through its [MCP server](https://docs.m-xr.com/~gitbook/mcp).

# Building with your agent

Your AI agent models the object in Blender, part by part. Then it gives the model a new look from your prompt with Retexture, and Marso adds predicted PBR materials to every part. Your agent lights it, renders it and shows you the result in the chat.

Set up both parts of [Blender](https://docs.m-xr.com/marso-studio/integrations/blender.md) first.

## Make something

### 1. Model it with your agent

Describe a real object, and ask for each part as its own named object, with a colour close to its real material:

> Build me a 1910s brass desk fan in Blender: base, motor, six blades, wire guard, cord, each as a separate named part under one empty. Give every part a base colour close to the real material.

> Model a Victorian brass microscope from this photo, with bevelled edges, screws and knurled knobs. Make each part its own named object under one empty, and colour each part.

Attach the photo to the second one. Your agent builds the parts in your scene, shows you the model and asks whether it's ready before it textures it.

### 2. Make it look real with Retexture

Tell your agent the look, and which Marso Studio project to save into:

> Retexture the fan: aged brass, darkened and worn in the crevices, a black enamel base and a cloth-covered cord. Save it to a new project called Desk Fan.

Your agent chooses the project under **Save to**, prepares the model and runs Retexture. Marso gives the whole model its new look, then adds predicted albedo, metallic, roughness, IOR and normal maps. Every part shares one texture and one material, and stays its own object.

To run it yourself instead, choose a project under **Save to**, at the top of the **Marso** tab, or click **+** to make one. Retexture saves into it, and stays off until you choose. Then open **Retexture**:

1. Click any part of the model, then **Use Whole Asset**. **What will be retextured** now names the model and how many parts it has. If the parts have no common parent, select them all and click **Group Selected into Asset** instead.
2. Describe the look: the materials, their age and wear, and where grime collects.
3. Leave **Prompt Enhance**, under **More options**, as it is. It adds "lots of detail realistic lighting and shading" to the end of your prompt.
4. Check the cost, then click **Retexture**.

For the details, such as **Prepare UV** and a reference image, see [Retexture](https://docs.m-xr.com/marso-studio/integrations/blender/using-the-marso-panel.md#retexture).

### 3. Light it and render it

> Set up a black studio, frame the object and render me a turntable.

Your agent builds the studio, lights it, renders the turntable and shows it to you in the chat. The video also lands in `Renders/` in your Downloads Path.

### 4. Save your file

Save the `.blend`. The materials live in it, and the maps are in your Downloads Path.

## Get the best results

* **Describe a real object, or attach a photo of one.** Period, materials and wear matter more than adjectives.
* **One object per material.** Brass, wood and enamel as separate parts give cleaner materials and a tidy outliner.
* **Colour before you retexture.** Marso reads each part's current colour as a reference for your prompt.
* **Ask for the small details:** bevels, rivets, seams and knurling. Lighting catches them, and that's what sells PBR.
* **Opaque materials work best:** metal, wood, plastic, fabric and ceramic.
* **Be specific in the Retexture prompt:** material, age, wear, where grime collects.

## More you can ask for

* **Marso assets in your scene:** "Make me a set of five kitchen props and put them in my Blender scene." Your agent makes them in Marso Studio and imports them.
* **Assets from your Library:** "Put the chair from my Lounge project into Blender."
* **A showcase:** "Arrange everything in the scene on a grid and render a showcase video."

Something not working? See [Blender troubleshooting](https://docs.m-xr.com/marso-studio/integrations/blender/blender-troubleshooting.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.m-xr.com/marso-studio/integrations/blender/building-with-your-agent.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
