GET
/v1/schemas/fal/image/fal-ai/lcm-sd15-i2i
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace1b7c419992fe25fe5975dc26792d9394202cfb9fcc77b5cb767e228bfcc21a39{
"fetchedAt": 1791522002,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
13 properties · 2 required · 0 $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 | The image to use as a base. | |
| 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 ≤ 16 · default: 1 |
| num_images | integer | The number of images to generate. The function will return a list of images with the same prompt and negative prompt but different seeds. | 1 ≤ n ≤ 8 · default: 1 |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| num_inference_steps | integer | The number of inference steps to use for generating the image. The more steps the better the image will be but it will also take longer to generate. | 1 ≤ n ≤ 12 · default: 4 |
| 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 |
| 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: "" |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. | default: false |
| request_id | string | An id bound to a request, can be used with response to identify the request itself. | default: "" |
| mask_url | string | Mask URL for compatibility with generic LCM processing. | nullable |
| enable_safety_checks | boolean | If set to true, the resulting image will be checked whether it includes any potentially unsafe content. If it does, it will be replaced with a black image. Disabling safety checks requires account authorization; unauthorized requests are always checked. | default: true |
| strength | number | The strength of the image. | 0 ≤ n ≤ 1 · default: 0.8 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/lcm-sd15-i2i","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}