GET
/v1/schemas/fal/image/bria%2Fproduct-dimensions
Accept:
Request body
13 properties · 3 required · 3 $defs| property | type | description | constraints |
|---|---|---|---|
| image* | string | Source product image as a public URL or raw base64-encoded image bytes. | |
| dimensions* | DimensionEntry[] | Dimension callouts to render. At least one entry is required. | items ≥ 1 |
| style* | enum | Rendering style. | default | childlike | elegant |
| background | string | Hex color or one of: white, cream, charcoal. | default: "white" |
| capacity | CapacityInput | Optional capacity badge below the product. | nullable |
| weight | WeightInput | Optional weight badge below the product. | nullable |
| proportional_lines | boolean | Scale dimension line lengths by measurement. | default: true |
| units_display | enum | How labels display primary and secondary units when both are provided. | single | dual_bullet | dual_slash | dual_parens · default: "single" |
| sync | boolean | When true, return generated images directly as base64 instead of CDN URLs. | default: false |
| output_size | integer | Square output edge length in pixels. | 256 ≤ n ≤ 2200 · default: 2200 |
| title | string | Optional headline above the product. | length ≤ 80 · nullable |
| title_position | enum | Title placement along the top. | top_left | top_center | top_right · default: "top_center" |
| output_format | enum | Controls the rendered response: png, jpeg, or dual composite plus transparent overlay. | png | jpeg | dual · default: "png" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"bria/product-dimensions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}