# How to use AI Material Snap?

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.

![image](https://docs.d5render.com/~gitbook/image?url=https%3A%2F%2F3611830798-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MjbN1iGmN_HBnj_fyU9%252Fuploads%252FaEshUHVRRNsz5SyrSnDM%252Fimage.png%3Falt%3Dmedia%26token%3Db382b8a6-1489-449d-8e80-5f62713da529&width=768&dpr=3&quality=100&sign=73df5c3b&sv=2)

**AI Material Snap** supports the following control parameters:

  * **Aspect ratio** : You can choose from preset ratios such as 1:1, 16:9, 3:4, etc., to ensure that the generated results match the dimensions of the target application scenario

  * **Tiling Direction** : Supports four modes: **Both** (bidirectional), **Horizontal** , **Vertical** , and **None** (no tiling), controlling the seamless splicing direction of materials 

  * **Quality** : Offers two levels, **Default** and **High definition** , allowing trade-offs between generation speed and detail accuracy

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.**_

![image](https://docs.d5render.com/~gitbook/image?url=https%3A%2F%2F3611830798-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MjbN1iGmN_HBnj_fyU9%252Fuploads%252FvDiYwIeJXMTAeoOGZlcr%252Fimage.png%3Falt%3Dmedia%26token%3D9abc6dde-5bff-4c3f-a810-d079a6f415f8&width=768&dpr=3&quality=100&sign=588587a&sv=2)

Add to Local/ Apply

**Rights Statement:**

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