SandBase is live — $1 in free credits on signupStart free ›

patina modelsimage generation api

patina/material/extract

Material Extract by patina - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.

Input
Describe which texture to extract from the image.

PNG, JPEG, WebP, or GIF · 20 MiB maximum

URL of the image to extract a texture from.
18
Number of denoising steps for texture generation. Range: 1 to 8.
How much to transform the input image. Only used when image_url is provided. Maximum: 1.
Output image format for textures and PBR maps. Allowed values: jpeg, png.
Which PBR maps to predict. Deselect all to skip PBR estimation entirely. Defaults to all five.
32256
Tile size in latent space (64 = 512px, 128 = 1024px). Range: 32 to 256.
Upscale 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. Allowed values: 0, 2, 4.
Tiling direction: 'both' (omnidirectional), 'horizontal', or 'vertical'. Allowed values: both, horizontal, vertical.
16128
Tile stride in latent space. Range: 16 to 128.
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
Random seed for reproducible generation.
Idle

Example output — click Run to generate your own

API README

PATINA Material Extract

PATINA Material Extract is the PATINA route for material extraction, turning a material photograph into a production-ready result while keeping the operation distinct from neighboring endpoints. Material Extract by patina - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly. The workflow is designed for creators who need the model’s specific transformation to remain visible in the request, so the source, intended change, and finished artifact can be reviewed as one coherent creative decision.

In practical use, this route exposes maps, seed, image, prompt, strength, tile_size, tile_stride, tiling_mode to shape the exact deliverable. Those controls let a team preserve the important source constraints, state subject behavior or material treatment precisely, choose supported timing or output characteristics, and reproduce successful settings across alternate takes. The result fits an iterative pipeline: establish the core brief, compare controlled variations, then pass the selected asset into editorial, design, localization, visualization, or publishing work.

Highlights

  • Image-to-material extraction. Recover a usable material representation from a supplied source photograph.
  • Surface-map recovery. Separate appearance information into the documented material outputs needed by a shading workflow.
  • Asset-ready conversion. Turn captured references into a repeatable digital surface for look development and visualization.
  • Focused reconstruction. Keep the workflow centered on material properties instead of treating the input as a generic image prompt.

Pricing

ConfigurationPrice
Per request$0.170000

When to Use

ScenarioWhy it fits
Exact workflow fitChoose this route when the required deliverable is material extraction, rather than a related route with different source media.
Directed creative iterationUse it when subject, motion, material, speech, framing, or finish should be expressed explicitly and compared across controlled variants.
Existing-asset continuityUse it when supplied images, video, audio, references, or styles must remain the anchor for the generated result.
Repeatable productionUse it when successful inputs need to be saved and rerun across a campaign, asset set, localization pass, or batch.
Pipeline handoffUse it when the returned artifact will move into editorial, compositing, visualization, review, storage, or publishing.

Prompt Guide

Start with the source or subject, then describe the intended transformation, movement or behavior, camera and composition, and the desired finish. Keep media URLs reachable, use only fields documented for this exact route, and change one major control at a time when comparing results. For source-led tasks, describe what should change as well as what must remain recognizable.

{
  "prompt": "the wall",
  "image": "https://static.sandbase.ai/examples/patina/material/extract/input_image_0.png",
  "aspect_ratio": "21:9"
}

Technical Specs

PropertyValue
Model IDpatina/material/extract
Execution modeasync
Required inputsprompt, image
mapsarray; default: ['basecolor', 'normal', 'roughness', 'metalness', 'height']
seedinteger
imagestring
promptstring
strengthnumber; maximum: 1; default: 0.6
tile_sizeinteger; minimum: 32; maximum: 256; default: 128
tile_strideinteger; minimum: 16; maximum: 128; default: 64
tiling_modestring; options: both, horizontal, vertical; default: both
aspect_ratiostring; options: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16
output_formatstring; options: jpeg, png; default: png
upscale_factorinteger; options: 0, 2, 4; default: 0
num_inference_stepsinteger; minimum: 1; maximum: 8; default: 8

Related Models

  • patina/material

Related Models