# AI Prompting in Template Editor

### **How does prompting in Sloyd work?**

The Template Editor operates like a "LEGO pack" with pieces that you can customize. When you prompt, the AI creates a target and then tries to pull up the right model generator and customize it so it matches your prompt. However, this means that today you can only generate objects using those specific pieces.

{% hint style="info" %}
**Auto-draft note (needs review)**

Template Editor can also start from an uploaded 3D model (if enabled on your plan/workspace).

See [Upload 3D Object](/documentation/start-here/uploading-3d-model.md).

If you generate in **Ultra**, it may consume Ultra credits.

See [Ultra Credits (500K faces)](/documentation/start-here/ultra-generation-with-credits.md).
{% endhint %}

As the Sloyd library expands, you will be able to create a wider variety of objects. New pieces and models are added every week!

The cool thing is that you have direct control over every part in the model, and you get immediate response! No more waiting minutes or hours to see what your prompt did 🙂

#### What are the benefits of this approach?

Use this for highly optimized geometry and UVs.

With this method of combining parametric customization with AI prompting, you get the power of AI with the preciseness and speed of parametric models.

### **How to generate a new object with text**

Provide simple descriptions. Include the object's name and one or two adjectives. To achieve optimal results, focus on props, buildings, weapons and furniture.

Try this example: "A well with a Chinese roof".

### **How to customize a generated object with text**

You can change an object with sliders, toggles and buttons, or you can do it with text.

When you choose text, the AI tries to fulfill your request by changing those sliders, toggles and buttons for you!

* Some requests are not possible because there's no parameter for it (for example there is no slider like that available)
* The AI knows relative terms ("Make this table 50% higher"), however it doesn't yet know absolute terms ("Make this table 2 meters high")
* The AI can't change the position or rotation of an object on the canvas.
* Go to the Materials tab, and prompt there to change textures and materials

### **What's next?**

This is a new feature we improve constantly. Therefore, you may find bugs and your feedback is valuable! Do you have suggestions or need more help? Ask the community in [Discord](https://discord.gg/jbEg8gVbeM) or [fill this feedback survey.](https://survey.typeform.com/to/whHwt0PS?typeform-source=app.sloyd.ai)


---

# 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://sloyd.gitbook.io/documentation/creating-3d/template-editor/ai-prompting-in-template-editor.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.
