manage_asset_library
Search, browse, and import HDRI, texture, and 3D model assets from Poly Haven and Sketchfab directly into Blender. Manage asset libraries with operations for categories, search, and import.
Instructions
PORTMANTEAU: Poly Haven + Sketchfab asset discovery and import (fleet subprocess Blender).
Operations:
info: Capabilities and env vars (SKETCHFAB_API_TOKEN).
polyhaven_categories: List category counts for hdris | textures | models.
polyhaven_search: Search catalog (uses api.polyhaven.com/assets).
polyhaven_import: Download + import — HDRIs set as world env; textures/models via files API bundles.
sketchfab_search: Sketchfab v3 search (requires token).
sketchfab_import: Download + import glTF from Sketchfab (requires token + downloadable model).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | No | Which operation to run. | info |
| asset_type | No | For Poly Haven: hdris, textures, models, or all (search). | hdris |
| categories | No | Optional comma-separated Poly Haven categories filter. | |
| page | No | Results page for polyhaven_search. | |
| asset_id | No | Poly Haven asset slug (e.g. venice_sunset) or Sketchfab UID for import. | |
| resolution | No | 1k | 2k | 4k | 8k | 16k where applicable. | 4k |
| file_format | No | For HDRIs: hdr | exr. For models: gltf | fbx | blend preference chain start. | |
| model_prefer | No | Preferred model package: gltf, fbx, or blend. | gltf |
| query | No | Sketchfab search query. | |
| sketchfab_uid | No | Model UID for sketchfab_import. | |
| sketchfab_token | No | Optional; defaults to SKETCHFAB_API_TOKEN env. | |
| search_limit | No | Max Sketchfab results (1-100). | |
| downloadable_only | No | Sketchfab search filter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||