Patina Material Extraction
- PATINA Material Extract model, extracts textures from existing images and generates complete PBR material
- 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-extract: Extracts textures from images and generates PBR maps
"patina-material-extract"
Input image public URL
Notes:
- Source image for material extraction
- Must be a publicly accessible URL
"https://example.com/wall-photo.jpg"
PBR map types to generate
Options:
basecolor— Base color mapnormal— Normal maproughness— Roughness mapmetalness— Metalness mapheight— Height map
["basecolor", "normal", "roughness"]Mask image public URL
Notes:
- Specifies which area of the image to extract material from
"https://example.com/mask.png"
Output image size (pixels)
Notes:
- Controls the size of extracted textures and PBR maps
512
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"