GET
/v1/schemas/fal/image/fal-ai/inpaint
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source traceaa4c9759ea9bffd7f2f25833e74e59e6b998614e1170d0c3f89f5036fd1bae46{
"fetchedAt": 1791522002,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
9 properties · 4 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| mask_url* | string | Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted. | |
| prompt* | string | The prompt to use for generating the image. Be as descriptive as possible for best results. | |
| image_url* | string | Input image for img2img or inpaint mode | |
| model_name* | string | URL or HuggingFace ID of the base model to generate the image. | |
| guidance_scale | number | The 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_steps | integer | Increasing 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 |
| seed | integer | 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_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| negative_prompt | string | The 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 tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/inpaint","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}