infery
← All models

PATINA

patina-material

Image generationby Patina

Generate complete seamlessly tiling PBR materials including normal, roughness, basecolor, height and metalness maps up to 8K

images

Details

Accepts
text

Pricing

Price
1.25 cr / megapixel

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
mapsarrayWhich PBR maps to predict. Deselect all to skip PBR estimation entirely. Defaults to all five.
seedRandom seed for reproducible generation.
promptrequiredstringThe text prompt describing the material/texture to generate.
mask_urlURL of a mask image for inpainting. White regions are regenerated, black regions are preserved. Requires image_url.
strengthnumberHow much to transform the input image. Only used when image_url is provided.
image_urlURL of an input image for image-to-image or inpainting. When provided without mask_url, performs image-to-image; with mask_url, performs inpainting.
tile_sizeintegerTile size in latent space. Automatically capped to the generated image dimensions on tiled axes (64 = 512px, 128 = 1024px).
image_sizeOutput texture dimensions in pixels.
num_imagesintegerNumber of texture images to generate.
tile_strideintegerTile stride in latent space. Automatically capped to half the effective tile size.
tiling_modestringenum: both, horizontal, verticalTiling direction: 'both' (omnidirectional), 'horizontal', or 'vertical'.
output_formatstringenum: jpeg, png, webpOutput image format for textures and PBR maps.
upscale_factorintegerenum: 0, 2, 4Upscale factor for predicted PBR maps via SeedVR seamless upscaling. 0 = no upscaling, 2 = 2× resolution, 4 = 4× resolution. The base texture image is not upscaled.
num_inference_stepsintegerNumber of denoising steps for texture generation.
enable_safety_checkerbooleanEnable the safety checker for generated images.
enable_prompt_expansionbooleanExpand prompt with an LLM for richer detail. Adds ~0.0025 credits.

Output

FieldTypeDescription
seedintegerSeed used for texture generation.
imagesarrayGenerated tileable texture image(s) from z-image and predicted PBR material maps from PATINA.
promptstringThe prompt used for texture generation (possibly expanded).
timingsobjectEnd-to-end timing breakdown (seconds).