GET

/v1/schemas/fal/image/fal-ai/flux-pro/v1/fill-finetuned

kind inputactivity imagehash 26fa7f8b…extracted Jul 6, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.
Source trace
b6d2c733a8a6552d7e35733a0b90ebdc02240ae8b2d2e7a94608551240e3c46f
{
  "fetchedAt": 1783331098,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

11 properties · 5 required · 0 $defs
propertytypedescriptionconstraints
finetune_id*stringReferences your specific model
finetune_strength*numberControls finetune influence. Increase this value if your target concept isn't showing up strongly enough. The optimal setting depends on your finetune and prompt0 ≤ n ≤ 2
mask_url*stringThe mask URL to inpaint the image. Needs to match the dimensions of the input image.
image_url*stringThe image URL to generate an image from. Needs to match the dimensions of the mask.
prompt*stringThe prompt to fill the masked part of the image.
num_imagesintegerThe number of images to generate.1 ≤ n ≤ 4 · default: 1
output_formatenumThe format of the generated image.jpeg | png · default: "jpeg"
safety_toleranceenumThe safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive.1 | 2 | 3 | 4 | 5 | 6 · default: "2"
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
seedinteger The same seed and the same prompt given to the same version of the model will output the same image every time. nullable
enhance_promptbooleanWhether to enhance the prompt for better results.default: false

Validate a payload

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