import_asset
Places a searched asset on a new Krita layer, tiling textures or fitting photos/HDRI to the canvas for texturing and compositing.
Instructions
Put a search_assets result on a new layer. Textures tile across the canvas by default (tile_size = px per tile; texture_map: diffuse, normal, roughness, ao, displacement); hdris and photos cover the canvas (fit: cover, contain, stretch, tile, none). To texture a painted shape: import it, then update_layer(clipped=true, blend_mode='overlay' or 'multiply') above the shape in the same group. Returns the layer and the attribution to credit (photos).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| fit | No | ||
| kind | No | textures | |
| name | No | ||
| parent | No | ||
| opacity | No | ||
| tile_size | No | ||
| blend_mode | No | ||
| resolution | No | 2k | |
| texture_map | No | diffuse |