GET

/v1/schemas/fal/image/fal-ai/inpaint

kind inputactivity imagehash 67cf4738…extracted Oct 9, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
aa4c9759ea9bffd7f2f25833e74e59e6b998614e1170d0c3f89f5036fd1bae46
{
  "fetchedAt": 1791522002,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

9 properties · 4 required · 0 $defs
propertytypedescriptionconstraints
mask_url*stringInput mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.
prompt*stringThe prompt to use for generating the image. Be as descriptive as possible for best results.
image_url*stringInput image for img2img or inpaint mode
model_name*stringURL or HuggingFace ID of the base model to generate the image.
guidance_scalenumberThe CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.0 ≤ n ≤ 20 · default: 7.5
num_inference_stepsintegerIncreasing the amount of steps tells Stable Diffusion that it should take more steps to generate your final result which can increase the amount of detail in your image.0 ≤ n ≤ 150 · default: 30
seedinteger The same seed and the same prompt given to the same version of Stable Diffusion will output the same image every time. nullable
enable_safety_checkerbooleanAuthorized callers may set false to request relaxed screening.default: true
negative_promptstringThe negative prompt to use. Use it to address details that you don't want in the image. This could be colors, objects, scenery and even the small details (e.g. moustache, blurry, low resolution).default: ""

Validate a payload

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