GET

/v1/schemas/fal/image/fal-ai/recraft-20b

kind inputactivity imagehash 1f89758e…extracted Aug 10, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.
Source trace
df5ac4b6ff9f02a3b04b71c7f547702a062403de5579988b5746eccbd2b6eb1d
{
  "fetchedAt": 1786338105,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

6 properties · 1 required · 2 $defs
propertytypedescriptionconstraints
prompt*stringlength ≥ 1 · length ≤ 1000
image_sizeImageSize | enumdefault: "square_hd"
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked.default: false
colorsRGBColor[]An array of preferable colorsdefault: []
styleenumThe style of the generated images. Vector images cost 2X as much.any | realistic_image | digital_illustration | vector_illustration | realistic_image/b_and_w | realistic_image/enterprise · +31 more · default: "realistic_image"
style_idstringThe ID of the custom style reference (optional)format: uuid4 · nullable

Types

2 $defs

ImageSizeobject

heightintegerThe height of the generated image.0 < n ≤ 14142 · default: 512
widthintegerThe width of the generated image.0 < n ≤ 14142 · default: 512

RGBColorobject

gintegerGreen color value0 ≤ n ≤ 255 · default: 0
rintegerRed color value0 ≤ n ≤ 255 · default: 0
bintegerBlue color value0 ≤ n ≤ 255 · default: 0

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"fal-ai/recraft-20b","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}