GET
/v1/schemas/fal/image/fal-ai/illusion-diffusion
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace291b490d942374fded67f9c022e97174cfbd6ce1c8b5603a27ec08b157453ed9{
"fetchedAt": 1791522002,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
12 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The prompt to use for generating the image. Be as descriptive as possible for best results. | |
| image_url* | string | Input image url. | |
| 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 ≤ 50 · default: 7.5 |
| controlnet_conditioning_scale | number | The scale of the ControlNet. | default: 1 |
| 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 ≤ 80 · default: 40 |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| scheduler | enum | Scheduler / sampler to use for the image denoising process. | DPM++ Karras SDE | Euler · default: "Euler" |
| 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: "" |
| image_size | ImageSize | enum | The size of the generated image. You can choose between some presets or custom height and width that **must be multiples of 8**. | default: "square_hd" |
| control_guidance_start | number | 0 ≤ n ≤ 1 · default: 0 | |
| seed | integer | Seed of the generated Image. It will be the same value of the one passed in the input or the randomly generated that was used in case none was passed. | nullable |
| control_guidance_end | number | 0 ≤ n ≤ 1 · default: 1 |
Types
1 $defsImageSizeobject
| height | integer | The height of the generated image. | 0 < n ≤ 14142 · default: 512 |
| width | integer | The width of the generated image. | 0 < n ≤ 14142 · default: 512 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/illusion-diffusion","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}