# How to use AI Material Snap?

<figure><img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2FzUIBzllC4JdwQ2GBDomg%2Fimage.png?alt=media&#x26;token=4d32a953-0cf5-4d55-bd01-a92bf19ad8c1" alt=""><figcaption><p>AI Material Snap</p></figcaption></figure>

The ''AI Material Snap'' entry has been added to **Asset Library - Online - Material.** This feature supports uploading local images for material reference sampling. After uploading the reference image, users can select a specific area or use the entire image to generate materials. AI will intelligently analyze the selected image content and generate high-quality, directly applicable PBR materials with a single click. The generated materials can be applied directly to the current scene or saved to the local library for future use.

<figure><img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2Fjwsv4WHickbvAF35tKxc%2Fimage.png?alt=media&#x26;token=ae966061-d97f-4359-9f35-2d3820ba281a" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2FvDiYwIeJXMTAeoOGZlcr%2Fimage.png?alt=media&#x26;token=9abc6dde-5bff-4c3f-a810-d079a6f415f8" alt="" width="391"><figcaption><p>Add to Local/ Apply</p></figcaption></figure>

At the same time, D5 will also intelligently recommend similar-style materials from the online Asset Library based on the characteristics of the sampled image, thereby improving the efficiency of material creation and search.

***\*Note: The maximum supported image resolution for uploads is 6K.***

{% hint style="warning" %}
**Rights Statement:**

Generating Materials will be counted as part of the **50 credits** for Community accounts.
{% endhint %}


---

# 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.d5render.com/user-guide/ai/how-to-use-ai-material-snap.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.
