AI PBR Material Generator
generate_pbr_materialSeamless PBR material from a text prompt: albedo (base color), normal, roughness and height maps. Realistic or stylized. Precise layouts (herringbone, chevron, Versailles parquet, basket weave, hexagon tiles...) are drawn exactly so they tile. Asynchronous: returns a generation id; poll get_generation. Spends credits (refunded automatically on failure). Typical time: 120 s.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>",
"max_credits": "<max_credits>"
},
"name": "generate_pbr_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | texel-quality = best (1K / 2K / 4K), texel-express = fastest and cheapest (1K only: any other resolution is delivered and charged in 1K), texel-classic = alternative look (1K / 2K / 4K). The 4K is native. | texel-quality |
| style | No | realistic | |
| prompt | Yes | Material description, e.g. "mossy medieval cobblestone, wet". | |
| resolution | No | 4k_native is accepted as 4k (the 4K is native). texel-express always runs in 1K. | 4k |
| max_credits | Yes | Highest price the user accepted (from quote_generation). The call fails with confirmation_required if missing. | |
| output_format | No | png | |
| idempotency_key | No | Optional. Same key = same generation, never charged twice. Default: derived from the parameters for 10 minutes; pass a new value to intentionally run the same prompt again. | |
| save_to_library | No | Optional. When the generation succeeds, publish it in the public 3DTexel community library and add it to the user's library (free). Only if the user asked for it. |