GET

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

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

Request body

16 properties · 3 required · 1 $defs
propertytypedescriptionconstraints
image_url*stringURL of Image for Inpaint generation.
mask_image_url*stringURL of Mask for Inpaint generation.
prompt*stringThe prompt to generate an image from.
seedinteger The same seed and the same prompt given to the same version of the model will output the same image every time. nullable
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.default: false
strengthnumberThe strength of the inpaint conditioning.0 < n ≤ 1 · default: 1
enable_prompt_expansionbooleanWhether to enable prompt expansion. Note: this will increase the price by 0.0025 credits per request.default: false
num_imagesintegerThe number of images to generate.1 ≤ n ≤ 4 · default: 1
output_formatenumThe format of the generated image.jpeg | png | webp · default: "png"
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images.default: true
accelerationenumThe acceleration level to use.none | regular | high · default: "regular"
num_inference_stepsintegerThe number of inference steps to perform.1 ≤ n ≤ 8 · default: 8
image_sizeImageSize | enumThe size of the generated image.default: "auto"
control_endnumberThe end of the controlnet conditioning.0 ≤ n ≤ 1 · default: 0.8
control_startnumberThe start of the controlnet conditioning.0 ≤ n ≤ 1 · default: 0
control_scalenumberThe scale of the controlnet conditioning.0 ≤ n ≤ 1 · default: 0.75

Types

1 $defs

ImageSizeobject

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

Validate a payload

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