GET
/v1/schemas/fal/image/fal-ai/patina/material/extract
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace0badddb7c7fa287bd9ad154bc950a698e37bbb33b8d33990fc1001b789b5c63f{
"fetchedAt": 1788670830,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
15 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Describe which texture to extract from the image. | |
| image_url* | string | URL of the image to extract a texture from. | |
| strength | number | How much to transform the input image. Only used when image_url is provided. | 0 < n ≤ 1 · default: 0.6 |
| tile_size | integer | Tile size in latent space. Automatically capped to the generated image dimensions on tiled axes (64 = 512px, 128 = 1024px). | 32 ≤ n ≤ 256 · default: 128 |
| num_images | integer | Number of texture images to generate. | 1 ≤ n ≤ 4 · default: 1 |
| tile_stride | integer | Tile stride in latent space. Automatically capped to half the effective tile size. | 16 ≤ n ≤ 128 · default: 64 |
| num_inference_steps | integer | Number of denoising steps for texture generation. | 1 ≤ n ≤ 8 · default: 8 |
| upscale_factor | enum | 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. | 0 | 2 | 4 · default: 0 |
| output_format | enum | Output image format for textures and PBR maps. | jpeg | png | webp · default: "png" |
| seed | integer | Random seed for reproducible generation. | nullable |
| tiling_mode | enum | Tiling direction: 'both' (omnidirectional), 'horizontal', or 'vertical'. | both | horizontal | vertical · default: "both" |
| enable_safety_checker | boolean | Enable the safety checker for generated images. | default: true |
| maps | enum[] | Which PBR maps to predict. Deselect all to skip PBR estimation entirely. Defaults to all five. | default: ["basecolor","normal","roughness… |
| enable_prompt_expansion | boolean | Expand prompt with an LLM for richer detail. Adds ~0.0025 credits. | default: true |
| image_size | ImageSize | enum | Output texture dimensions in pixels. | default: "square_hd" |
Types
1 $defsImageSizeobject
| height | integer | The height of the generated image. | 0 < n ≤ 14142 · default: 512 |
| width | integer | The width of the generated image. | 0 < n ≤ 14142 · default: 512 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/patina/material/extract","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}