AI PBR Material Generator
generate_pbr_materialCreates tileable PBR textures from a text prompt, outputting albedo, normal, roughness, and height maps. Returns a generation ID to poll for results.
Instructions
Seamless 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | texel-quality = best (2K/4K/4K native), texel-express = fastest (2K/4K), texel-classic = alternative look. | texel-quality |
| style | No | realistic | |
| prompt | Yes | Material description, e.g. "mossy medieval cobblestone, wet". | |
| resolution | No | 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. | |
| enhance_seamless | No | Beta: second AI pass that repaints the edges (+5 to +10 credits, about 1 minute longer). |