Patina Material Generation
- PATINA Material model, generates tileable textures and PBR maps
- Supports text-to-material and image-to-material, configurable tiling mode and upscale factor
- Asynchronous processing mode, use the returned task ID to query task status
- Generated image links are valid for 24 hours, please save them promptly
Authorizations
All APIs require Bearer Token authentication
Add to request header:
Authorization: Bearer YOUR_API_KEY
Body
patina-material: Generates tileable textures and PBR maps
"patina-material"
Material description prompt
Notes:
- Describe the desired material appearance
- Supports English and Chinese
"Weathered red brick wall with moss"
PBR map types to generate
Options:
basecolor— Base color mapnormal— Normal maproughness— Roughness mapmetalness— Metalness mapheight— Height map
[
"basecolor",
"normal",
"roughness",
"height"
]Reference image public URL
Notes:
- Optional, used as reference for material generation
- When omitted, pure text-to-material mode
"https://example.com/brick-photo.jpg"
Mask image public URL
Notes:
- Used with
image_urlto specify local area for material generation
"https://example.com/mask.png"
Output image size (pixels)
Notes:
- Controls the size of generated textures and PBR maps
512
Tiling mode
Options:
none— No tilingx— Horizontal tilingy— Vertical tilingxy— Bidirectional tiling
Do not pass this parameter unless necessary.
"xy"
Upscale factor
Notes:
- Upscales the output material
- Enabling increases billing
Do not pass this parameter unless necessary.
2
Response
Task created successfully
Task creation timestamp
1757165031
Task ID
"task-unified-1757165031-uyujaw3d"
Actual model name used
Specific task type
image.generation.task Task progress percentage (0-100)
0 <= x <= 1000
Task status
pending, processing, completed, failed "pending"
Async task information
Task output type
image "image"